dxgi1_2.idl: Added IDXGIFactory2 declaration.

Modified version of patch by Erik van Pienbroek.
This commit is contained in:
Jacek Caban 2015-03-23 18:57:48 +01:00 committed by Alexandre Julliard
parent 824bbb3884
commit 0a92329914
1 changed files with 60 additions and 0 deletions

View File

@ -130,3 +130,63 @@ interface IDXGISwapChain1 : IDXGISwapChain
HRESULT GetRotation(
[out] DXGI_MODE_ROTATION *pRotation);
}
[
object,
uuid(50c83a1c-e072-4c48-87b0-3630fa36a6d0),
local,
pointer_default(unique)
]
interface IDXGIFactory2 : IDXGIFactory1
{
BOOL IsWindowedStereoEnabled();
HRESULT CreateSwapChainForHwnd(
[in] IUnknown *pDevice,
[in] HWND hWnd,
[in] const DXGI_SWAP_CHAIN_DESC1 *pDesc,
[in] const DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pFullscreenDesc,
[in] IDXGIOutput *pRestrictToOutput,
[out] IDXGISwapChain1 **ppSwapChain);
HRESULT CreateSwapChainForCoreWindow(
[in] IUnknown *pDevice,
[in] IUnknown *pWindow,
[in] const DXGI_SWAP_CHAIN_DESC1 *pDesc,
[in] IDXGIOutput *pRestrictToOutput,
[out] IDXGISwapChain1 **ppSwapChain);
HRESULT GetSharedResourceAdapterLuid(
[in] HANDLE hResource,
[out] LUID *pLuid);
HRESULT RegisterOcclusionStatusWindow(
[in] HWND WindowHandle,
[in] UINT wMsg,
[out] DWORD *pdwCookie);
HRESULT RegisterStereoStatusEvent(
[in] HANDLE hEvent,
[out] DWORD *pdwCookie);
void UnregisterStereoStatus(
[in] DWORD dwCookie);
HRESULT RegisterStereoStatusWindow(
[in] HWND WindowHandle,
[in] UINT wMsg,
[out] DWORD *pdwCookie);
HRESULT RegisterOcclusionStatusEvent(
[in] HANDLE hEvent,
[out] DWORD *pdwCookie);
void UnregisterOcclusionStatus(
[in] DWORD dwCookie);
HRESULT CreateSwapChainForComposition(
[in] IUnknown *pDevice,
[in] const DXGI_SWAP_CHAIN_DESC1 *pDesc,
[in] IDXGIOutput *pRestrictToOutput,
[out] IDXGISwapChain1 **ppSwapChain);
}