Matteo Bruni : include: Fix FACILITY_AUDCLNT defines.
Module: wine Branch: master Commit: 07f39224351fe8dcdb683e7b7ca3428727cd3e5c URL: http://source.winehq.org/git/wine.git/?a=commit;h=07f39224351fe8dcdb683e7b7c... Author: Matteo Bruni <mbruni(a)codeweavers.com> Date: Sun Nov 13 17:26:39 2016 -0600 include: Fix FACILITY_AUDCLNT defines. Move the definition to winerror.h (its new place in recent Windows SDKs) while at it. Signed-off-by: Matteo Bruni <mbruni(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- include/audioclient.idl | 5 ++--- include/winerror.h | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/audioclient.idl b/include/audioclient.idl index a755604..72b3ae9 100644 --- a/include/audioclient.idl +++ b/include/audioclient.idl @@ -285,9 +285,8 @@ interface IChannelAudioVolume : IUnknown ); } -cpp_quote("#define FACILIY_AUDCLNT 0x889") -cpp_quote("#define AUDCLNT_ERR(n) MAKE_HRESULT(SEVERITY_ERROR, FACILIY_AUDCLNT, n)") -cpp_quote("#define AUDCLNT_SUCCESS(n) MAKE_SCODE(SEVERITY_SUCCESS, FACILIY_AUDCLNT, n)") +cpp_quote("#define AUDCLNT_ERR(n) MAKE_HRESULT(SEVERITY_ERROR, FACILITY_AUDCLNT, n)") +cpp_quote("#define AUDCLNT_SUCCESS(n) MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_AUDCLNT, n)") cpp_quote("#define AUDCLNT_E_NOT_INITIALIZED AUDCLNT_ERR(1)") cpp_quote("#define AUDCLNT_E_ALREADY_INITIALIZED AUDCLNT_ERR(2)") cpp_quote("#define AUDCLNT_E_WRONG_ENDPOINT_TYPE AUDCLNT_ERR(3)") diff --git a/include/winerror.h b/include/winerror.h index 9c1b7f1..b0848b5 100644 --- a/include/winerror.h +++ b/include/winerror.h @@ -60,6 +60,7 @@ #define FACILITY_FVE 49 #define FACILITY_WINDOWS_DEFENDER 80 #define FACILITY_DIRECT3D11 0x87c +#define FACILITY_AUDCLNT 0x889 #define SEVERITY_SUCCESS 0 #define SEVERITY_ERROR 1
participants (1)
-
Alexandre Julliard