D3D12DDIARG_CREATEDEVICE_0003 structure (d3d12umddi.h)

The D3D12DDIARG_CREATEDEVICE_0003 structure describes the display device to create.

Syntax

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;

Members

[in] hRTDevice

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.

[in] Interface

The Direct3D interface version.

[in] Version

A UINT value that the driver can use to identify when the Direct3D runtime was built (the runtime version).

pKTCallbacks

A pointer to a D3DDDI_DEVICECALLBACKS structure that contains a table of Direct3D runtime callback functions that the driver can use to access kernel services.

hDrvDevice

A handle to the display device (graphics context) that the Direct3D runtime uses in subsequent driver calls to identify the display device.

p12UMCallbacks

A 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_0022

A 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_0050

A 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_0062

A 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.

Flags

Flag values that identify how to create the display device.

Requirements

Requirement Value
Header d3d12umddi.h

See also

PFND3D12DDI_CREATEDEVICE_0003