D3D12DDIARG_OPENADAPTER structure (d3d12umddi.h)
The D3D12DDIARG_OPENADAPTER structure describes the graphics adapter object.
Syntax
typedef struct D3D12DDIARG_OPENADAPTER {
[in] D3D12DDI_HRTADAPTER hRTAdapter;
[out] D3D12DDI_HADAPTER hAdapter;
[in] const D3DDDI_ADAPTERCALLBACKS *pAdapterCallbacks;
[out] D3D12DDI_ADAPTERFUNCS *pAdapterFuncs;
} D3D12DDIARG_OPENADAPTER;
Members
[in] hRTAdapter
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.
[out] hAdapter
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.
[in] pAdapterCallbacks
A pointer to a D3DDDI_ADAPTERCALLBACKS structure that contains the Direct3D runtime-supplied pfnQueryAdapterInfoCb callback function that the driver can use.
[out] pAdapterFuncs
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.
Requirements
Requirement | Value |
---|---|
Header | d3d12umddi.h |