Export (0) Print
Expand All

IDXGIFactory::GetWindowAssociation method

Get the window through which the user controls the transition to and from full screen.

Syntax


HRESULT GetWindowAssociation(
  [in]  HWND *pWindowHandle
);

Parameters

pWindowHandle [in]

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft