IDXGIFactory::GetWindowAssociation method
Get the window through which the user controls the transition to and from full screen.
Syntax
HRESULT GetWindowAssociation( [out] HWND *pWindowHandle );
Parameters
- pWindowHandle [out]
-
Type: HWND*
A pointer to a window handle.
Return value
Type: HRESULT
Returns a code that indicates success or failure. S_OK indicates success, DXGI_ERROR_INVALID_CALL indicates pWindowHandle was passed in as NULL.
Remarks
Note If you call this API in a Session 0 process, it returns DXGI_ERROR_NOT_CURRENTLY_AVAILABLE.
Requirements
|
Header |
|
|---|---|
|
Library |
|
See also
Show: