diff --git a/include/audioclient.idl b/include/audioclient.idl index a7556047222..72b3ae942eb 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 9c1b7f17988..b0848b55c76 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