vkd3d-utils: Use WIDL_C_INLINE_WRAPPERS.

This commit is contained in:
Henri Verbeet 2024-04-18 20:02:50 +02:00 committed by Alexandre Julliard
parent d5717d333b
commit 534044181b
Notes: Alexandre Julliard 2024-04-25 00:14:58 +02:00
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/830
2 changed files with 4 additions and 1 deletions

View File

@ -340,7 +340,7 @@ static HRESULT STDMETHODCALLTYPE d3d12_reflection_QueryInterface(
if (IsEqualGUID(riid, &IID_ID3D12ShaderReflection)
|| IsEqualGUID(riid, &IID_IUnknown))
{
IUnknown_AddRef(iface);
ID3D12ShaderReflection_AddRef(iface);
*object = iface;
return S_OK;
}

View File

@ -19,6 +19,9 @@
#ifndef __VKD3D_UTILS_PRIVATE_H
#define __VKD3D_UTILS_PRIVATE_H
#ifndef __MINGW32__
#define WIDL_C_INLINE_WRAPPERS
#endif
#define COBJMACROS
#define NONAMELESSUNION
#define VK_NO_PROTOTYPES