interop::GetDXGIInterface function (windows.graphics.directx.direct3d11.interop.h)
Retrieves a DXGI interface from an IDirect3DDevice instance.
Syntax
HRESULT GetDXGIInterface(
IDirect3DDevice ^ device,
DXGI_TYPE **dxgi
);
Parameters
device
Type: IDirect3DDevice^
The IDirect3DDevice instance to retrieve the DXGI interface from.
dxgi
Type: DXGI_TYPE**
On return, contains the retrieved DXGI interface.
Return value
Type: HRESULT
If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | windows.graphics.directx.direct3d11.interop.h |
Library | D3D11.lib |
DLL | D3D11.dll |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for