include: Add IDXGIFactory4.

This commit is contained in:
Józef Kucia 2017-08-15 12:24:44 +02:00
parent 1e744efdd9
commit 6c237a91f6
2 changed files with 23 additions and 0 deletions

View File

@ -37,3 +37,14 @@ interface IDXGISwapChain2 : IDXGISwapChain1
HRESULT SetMatrixTransform(const DXGI_MATRIX_3X2_F *matrix);
HRESULT GetMatrixTransform(DXGI_MATRIX_3X2_F *matrix);
};
[
local,
object,
uuid(25483823-cd46-4c7d-86ca-47aa95b837bd),
pointer_default(unique)
]
interface IDXGIFactory3 : IDXGIFactory2
{
UINT GetCreationFlags();
};

View File

@ -33,3 +33,15 @@ interface IDXGISwapChain3 : IDXGISwapChain2
HRESULT ResizeBuffers1(UINT buffer_count, UINT width, UINT height, DXGI_FORMAT format,
UINT flags, const UINT *node_mask, IUnknown *const *present_queue);
};
[
local,
object,
uuid(1bc6ea02-ef36-464f-bf0c-21ca39e5168a),
pointer_default(unique),
]
interface IDXGIFactory4 : IDXGIFactory3
{
HRESULT EnumAdapterByLuid(LUID luid, REFIID iid, void **adapter);
HRESULT EnumWarpAdapter(REFIID iid, void **adapter);
};