DXGKARG_CREATEDEVICE - NtDoc

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

typedef struct _DXGKARG_CREATEDEVICE {
  HANDLE hDevice;
  union {
    DXGK_CREATEDEVICEFLAGS Flags;
    DXGK_DEVICEINFO        *pInfo;
  };
  ULONG  Pasid;
  HANDLE hKmdProcess;
} DXGKARG_CREATEDEVICE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmddi-_dxgkarg_createdevice)

_DXGKARG_CREATEDEVICE structure

Description

The DXGKARG_CREATEDEVICE structure describes a graphics context device.

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.

See also

DXGK_CREATEDEVICEFLAGS

DXGK_DEVICEINFO

DxgkDdiCreateDevice