On 16.08.2016 14:14, dw wrote:
> cpp_quote("#define MAKE_DXGI_HRESULT(x)
> MAKE_HRESULT(1, _FACDXGI, x)")
> +cpp_quote("")
> +cpp_quote("/* These defines are (incorrectly) duplicated in winerror.h.
> Avoid the")
> +cpp_quote(" redefine error. */")
> +cpp_quote("#ifndef DXGI_ERROR_INVALID_CALL")
> +cpp_quote("")
> cpp_quote("#define DXGI_ERROR_INVALID_CALL
> MAKE_DXGI_HRESULT(1)")
> cpp_quote("#define DXGI_ERROR_NOT_FOUND
> MAKE_DXGI_HRESULT(2)")
> cpp_quote("#define DXGI_ERROR_MORE_DATA
> MAKE_DXGI_HRESULT(3)")
> @@ -45,6 +50,9 @@ cpp_quote("#define DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE
> MAKE_DXGI_HRESULT
> cpp_quote("#define DXGI_ERROR_DRIVER_INTERNAL_ERROR
> MAKE_DXGI_HRESULT(32)")
> cpp_quote("#define DXGI_ERROR_NONEXCLUSIVE
> MAKE_DXGI_HRESULT(33)")
> cpp_quote("#define DXGI_ERROR_NOT_CURRENTLY_AVAILABLE
> MAKE_DXGI_HRESULT(34)")
> +cpp_quote("")
> +cpp_quote("#endif /* DXGI_ERROR_INVALID_CALL */")
> +cpp_quote("")
Those should be removed from dxgi.idl.
Thanks,
Jacek
------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public