Gets the core window for the swap chain.
public:
HRESULT GetCoreWindow(
REFIID refiid,
void **ppUnk
)
refiid
Type: REFIID
[in] The globally unique identifier (GUID) for the swap chain.
ppUnk
Type: void **
[out] A pointer to the core window.
Type: HRESULT
Returns one of the following DXGI_ERROR.
Header: Declared in d3d11_x.h (dxgi1_2.h on other Windows platforms).
Library: Use d3d11_x.lib (dxgi.lib on other Windows platforms).