// d3d12umddi.h
typedef struct D3D12DDIARG_CREATEDEVICE_0003 {
[in] D3D12DDI_HRTDEVICE hRTDevice;
[in] UINT Interface;
[in] UINT Version;
const D3DDDI_DEVICECALLBACKS *pKTCallbacks;
D3D12DDI_HDEVICE hDrvDevice;
union {
const D3D12DDI_CORELAYER_DEVICECALLBACKS_0003 *p12UMCallbacks;
const D3D12DDI_CORELAYER_DEVICECALLBACKS_0022 *p12UMCallbacks_0022;
const D3D12DDI_CORELAYER_DEVICECALLBACKS_0050 *p12UMCallbacks_0050;
const D3D12DDI_CORELAYER_DEVICECALLBACKS_0062 *p12UMCallbacks_0062;
};
D3D12DDI_CREATE_DEVICE_FLAGS Flags;
} D3D12DDIARG_CREATEDEVICE_0003;
View the official Windows Driver Kit DDI referenceNo description available.
The D3D12DDIARG_CREATEDEVICE_0003 structure describes the display device to create.
hRTDevice [in]A handle to the display device (graphics context) that specifies the handle that the driver should use when it calls back into the Direct3D runtime.
Interface [in]The Direct3D interface version.
Version [in]A UINT value that the driver can use to identify when the Direct3D runtime was built (the runtime version).
pKTCallbacksA pointer to a D3DDDI_DEVICECALLBACKS structure that contains a table of Direct3D runtime callback functions that the driver can use to access kernel services.
hDrvDeviceA handle to the display device (graphics context) that the Direct3D runtime uses in subsequent driver calls to identify the display device.
p12UMCallbacksA pointer to a D3D12DDI_CORELAYER_DEVICECALLBACKS_0003 structure that contains a table of Direct3D runtime callback functions that the driver can use to access core user-mode runtime functionality.
p12UMCallbacks_0022A pointer to a D3D12DDI_CORELAYER_DEVICECALLBACKS_0022 structure that contains a table of Direct3D runtime callback functions that the driver can use to access core user-mode runtime functionality.
p12UMCallbacks_0050A pointer to a D3D12DDI_CORELAYER_DEVICECALLBACKS_0050 structure that contains a table of Direct3D runtime callback functions that the driver can use to access core user-mode runtime functionality.
p12UMCallbacks_0062A pointer to a D3D12DDI_CORELAYER_DEVICECALLBACKS_0062 structure that contains a table of Direct3D runtime callback functions that the driver can use to access core user-mode runtime functionality.
FlagsFlag values that identify how to create the display device.