Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Get the window through which the user controls the transition to and from full screen.
Syntax
HRESULT GetWindowAssociation(
[out] HWND *pWindowHandle
);
Parameters
[out] pWindowHandle
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
Requirement | Value |
---|---|
Target Platform | Windows |
Header | dxgi.h |
Library | DXGI.lib |