diff --git a/include/dxgibase.idl b/include/dxgibase.idl index f1aafbf6..86ba5dc9 100644 --- a/include/dxgibase.idl +++ b/include/dxgibase.idl @@ -20,8 +20,12 @@ import "vkd3d_windows.h"; import "dxgiformat.idl"; +cpp_quote("#ifndef DXGI_ERROR_INVALID_CALL") cpp_quote("#define DXGI_ERROR_INVALID_CALL _HRESULT_TYPEDEF_(0x887a0001)") +cpp_quote("#endif") +cpp_quote("#ifndef DXGI_ERROR_DEVICE_REMOVED") cpp_quote("#define DXGI_ERROR_DEVICE_REMOVED _HRESULT_TYPEDEF_(0x887a0005)") +cpp_quote("#endif") typedef struct DXGI_SAMPLE_DESC {