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@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Matteo Bruni 2016-11-13 17:26:39 -06:00 committed by Alexandre Julliard
parent 02d723045f
commit 07f3922435
2 changed files with 3 additions and 3 deletions

View File

@ -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)")

View File

@ -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