include: Add the ID3D12SwapChainAssistant interface.

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2023-09-05 23:54:01 +03:00 committed by Alexandre Julliard
parent 06388a2c9b
commit 8076c9a591
Notes: Alexandre Julliard 2023-09-13 23:18:09 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/332

View File

@ -3274,6 +3274,22 @@ interface ID3D12LifetimeOwner : IUnknown
void LifetimeStateUpdated(D3D12_LIFETIME_STATE NewState);
}
[
uuid(f1df64b6-57fd-49cd-8807-c0eb88b45c8f),
object,
local,
pointer_default(unique)
]
interface ID3D12SwapChainAssistant : IUnknown
{
LUID GetLUID();
HRESULT GetSwapChainObject(REFIID riid, void **ppv);
HRESULT GetCurrentResourceAndCommandQueue(
REFIID riid_resource, void **resource,
REFIID riid_queue, void **queue);
HRESULT InsertImplicitSync();
}
typedef HRESULT (__stdcall *PFN_D3D12_CREATE_ROOT_SIGNATURE_DESERIALIZER)(
const void *data, SIZE_T data_size, REFIID iid, void **deserializer);