D3D12DDIARG_OPENADAPTER - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d12umddi.h

typedef struct D3D12DDIARG_OPENADAPTER {
  [in]  D3D12DDI_HRTADAPTER           hRTAdapter;
  [out] D3D12DDI_HADAPTER             hAdapter;
  [in]  const D3DDDI_ADAPTERCALLBACKS *pAdapterCallbacks;
  [out] D3D12DDI_ADAPTERFUNCS         *pAdapterFuncs;
} D3D12DDIARG_OPENADAPTER;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3d12umddi-d3d12ddiarg_openadapter)

D3D12DDIARG_OPENADAPTER structure

Description

The D3D12DDIARG_OPENADAPTER structure describes the graphics adapter object.

Members

hRTAdapter [in]

A runtime handle to the graphics adapter object that specifies the handle that the driver should use to query for graphics adapter capabilities when the driver calls the Microsoft Direct3D runtime-supplied pfnQueryAdapterInfoCb callback function.

hAdapter [out]

A handle to the graphics adapter object that specifies the handle that the Direct3D runtime uses in subsequent driver calls to identify the graphics adapter object. The driver generates a unique handle and passes it back to the Direct3D runtime.

pAdapterCallbacks [in]

A pointer to a D3DDDI_ADAPTERCALLBACKS structure that contains the Direct3D runtime-supplied pfnQueryAdapterInfoCb callback function that the driver can use.

pAdapterFuncs [out]

A pointer to a D3D12DDI_ADAPTERFUNCS structure that contains a table of user-mode display driver adapter-specific functions. The Direct3D runtime uses these functions to communicate with the user-mode display driver about operations that are specific to the graphics adapter.