DXGKARG_CREATEDEVICE structure (d3dkmddi.h)

The DXGKARG_CREATEDEVICE structure describes a graphics context device.

Syntax

typedef struct _DXGKARG_CREATEDEVICE {
  HANDLE hDevice;
  union {
    DXGK_CREATEDEVICEFLAGS Flags;
    DXGK_DEVICEINFO        *pInfo;
  };
  ULONG  Pasid;
  HANDLE hKmdProcess;
} DXGKARG_CREATEDEVICE;

Members

hDevice

A handle to the graphics context device. On input to the DxgkDdiCreateDevice function, hDevice specifies the handle that the driver should use when it calls back into the Microsoft DirectX graphics kernel subsystem.

The driver generates a unique handle and passes it back to the DirectX graphics subsystem. On output from the DxgkDdiCreateDevice function, hDevice specifies the handle that the DirectX graphics subsystem should use in subsequent driver calls to identify the device.

Flags

A DXGK_CREATEDEVICEFLAGS structure that identifies how to create the device.

pInfo

A pointer to a DXGK_DEVICEINFO structure that contains parameters that the DirectX graphics subsystem requires from the display miniport driver.

Pasid

The owner process PASID for a support vector machine GPU.

Supported starting with Windows 10.

hKmdProcess

A handle to the corresponding kernel mode driver process object.

Supported starting with Windows 10.

Requirements

Requirement Value
Minimum supported client Windows Vista
Header d3dkmddi.h (include D3dkmddi.h)

See also

DXGK_CREATEDEVICEFLAGS

DXGK_DEVICEINFO

DxgkDdiCreateDevice