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.

IDXGISwapChain1::GetCoreWindow method

Retrieves the underlying CoreWindow object for this swap-chain object.

Syntax


HRESULT GetCoreWindow(
  [in]  REFIID refiid,
  [out] void   **ppUnk
);

Parameters

refiid [in]

A pointer to the globally unique identifier (GUID) of the CoreWindow object that is referenced by the ppUnk parameter.

ppUnk [out]

A pointer to a variable that receives a pointer to the CoreWindow object.

Return value

GetCoreWindow returns:

Platform Update for Windows 7:  On Windows 7 or Windows Server 2008 R2 with the Platform Update for Windows 7 installed, GetCoreWindow fails with E_NOTIMPL. For more info about the Platform Update for Windows 7, see Platform Update for Windows 7.

Remarks

Applications call the IDXGIFactory2::CreateSwapChainForCoreWindow method to create a swap chain that is associated with an CoreWindow object.

Requirements

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8

Header

DXGI1_2.h

Library

Dxgi.lib

See also

IDXGISwapChain1

 

 

Show:
© 2017 Microsoft