mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 17:23:37 +00:00
dxgi: Add the IDXGIFactory interface.
This commit is contained in:
parent
9e376213b3
commit
6a517b7851
|
@ -263,3 +263,34 @@ interface IDXGISwapChain : IDXGIDeviceSubObject
|
|||
[out] UINT *last_present_count
|
||||
);
|
||||
}
|
||||
|
||||
[
|
||||
object,
|
||||
local,
|
||||
uuid(7b7166ec-21c7-44ae-b21a-c9ae321ae369)
|
||||
]
|
||||
interface IDXGIFactory : IDXGIObject
|
||||
{
|
||||
HRESULT EnumAdapters(
|
||||
[in] UINT adapter_idx,
|
||||
[out] IDXGIAdapter **adapter
|
||||
);
|
||||
HRESULT MakeWindowAssociation(
|
||||
[in] HWND window,
|
||||
[in] UINT flags
|
||||
);
|
||||
HRESULT GetWindowAssociation(
|
||||
[in] HWND *window
|
||||
);
|
||||
HRESULT CreateSwapChain(
|
||||
[in] IUnknown *device,
|
||||
[in] DXGI_SWAP_CHAIN_DESC *desc,
|
||||
[out] IDXGISwapChain **swapchain
|
||||
);
|
||||
HRESULT CreateSoftwareAdapter(
|
||||
[in] HMODULE swrast,
|
||||
[out] IDXGIAdapter **adapter
|
||||
);
|
||||
}
|
||||
|
||||
[local] HRESULT CreateDXGIFactory(REFIID riid, void **factory);
|
||||
|
|
Loading…
Reference in a new issue