Expand Minimize

DXGKARG_CREATEDEVICE structure

The DXGKARG_CREATEDEVICE structure describes a graphics context device.

Syntax


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

Members

hDevice

[in/out] 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

[in] A DXGK_CREATEDEVICEFLAGS structure that identifies how to create the device.

pInfo

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

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dkmddi.h (include D3dkmddi.h)

See also

DXGK_CREATEDEVICEFLAGS
DXGK_DEVICEINFO
DxgkDdiCreateDevice

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft