From 853394cd908f22f1010addbadac4815d8f998896 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath <[email protected]> Date: Thu, 12 Nov 2020 11:49:30 +0530 Subject: [PATCH] headers: Replace BOOL with WINBOOL in audioclient.idl.
Signed-off-by: Biswapriyo Nath <[email protected]> --- mingw-w64-headers/include/audioclient.idl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mingw-w64-headers/include/audioclient.idl b/mingw-w64-headers/include/audioclient.idl index fda4f97..f7a0a66 100644 --- a/mingw-w64-headers/include/audioclient.idl +++ b/mingw-w64-headers/include/audioclient.idl @@ -70,7 +70,7 @@ typedef enum AUDCLNT_STREAMOPTIONS { cpp_quote("") typedef struct AudioClientProperties { UINT32 cbSize; - BOOL bIsOffload; + WINBOOL bIsOffload; AUDIO_STREAM_CATEGORY eCategory; AUDCLNT_STREAMOPTIONS Options; } AudioClientProperties; @@ -95,9 +95,9 @@ interface IAudioClient : IUnknown { cpp_quote("") [object, local, uuid (726778cd-F60A-4eda-82de-E47610CD78AA), pointer_default (unique)] interface IAudioClient2 : IAudioClient { - HRESULT IsOffloadCapable ([in] AUDIO_STREAM_CATEGORY Category,[in] BOOL *pbOffloadCapable); + HRESULT IsOffloadCapable ([in] AUDIO_STREAM_CATEGORY Category,[in] WINBOOL *pbOffloadCapable); HRESULT SetClientProperties ([in] const AudioClientProperties *pProperties); - HRESULT GetBufferSizeLimits ([in] const WAVEFORMATEX *pFormat,[in] BOOL bEventDriven,[in] REFERENCE_TIME *phnsMinBufferDuration,[in] REFERENCE_TIME *phnsMaxBufferDuration); + HRESULT GetBufferSizeLimits ([in] const WAVEFORMATEX *pFormat,[in] WINBOOL bEventDriven,[in] REFERENCE_TIME *phnsMinBufferDuration,[in] REFERENCE_TIME *phnsMaxBufferDuration); } cpp_quote("") @@ -147,8 +147,8 @@ cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)") interface ISimpleAudioVolume : IUnknown { HRESULT SetMasterVolume ([in] float fLevel,[in, unique] LPCGUID EventContext); HRESULT GetMasterVolume ([out] float *pfLevel); - HRESULT SetMute ([in] const BOOL bMute,[in, unique] LPCGUID EventContext); - HRESULT GetMute ([out] BOOL *pbMute); + HRESULT SetMute ([in] const WINBOOL bMute,[in, unique] LPCGUID EventContext); + HRESULT GetMute ([out] WINBOOL *pbMute); } cpp_quote("#endif") cpp_quote("") -- 2.29.2
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
