Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

DXGI.h

Library

DXGI.lib

See also

IDXGIFactory
DXGI Interfaces

 

 

Show:
© 2017 Microsoft