IDirect3DDxgiInterfaceAccess::GetInterface function (windows.graphics.directx.direct3d11.interop.h)

Retrieves the DXGI interface that is wrapped by the IDirect3DDxgiInterfaceAccess object.

Syntax

HRESULT GetInterface(
  [in]  REFIID iid,
  [out] void   **p
);

Parameters

[in] iid

Type: REFIID

A reference to the globally unique identifier (GUID) of the interface that you wish to be returned in p.

[out] p

Type: void**

A pointer to a memory block that receives a pointer to the DXGI interface.

Return value

Type: HRESULT

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Target Platform Windows
Header windows.graphics.directx.direct3d11.interop.h
Library D3D11.lib
DLL D3D11.dll

See also

Core interfaces