Export (0) Print
Expand All

DXGKETW_DEVICEEVENT structure

[This documentation is preliminary and is subject to change.]

Logs an event associated with the creation or destruction of the device object, a PDO, that is a child of the display adapter.

Syntax

typedef struct _DXGKETW_DEVICEEVENT {
  EVENT_TRACE_HEADER wmiTraceHeader;
  ULONGLONG          hProcessId;
  ULONGLONG          pDxgAdapter;
  UINT               ClientType;
  ULONGLONG          hDevice;
} DXGKETW_DEVICEEVENT;

Members

wmiTraceHeader

A value of type EVENT_TRACE_HEADER that is used to report events to the WMI event logger.

Note  Do not use process information in the event header. Instead, use the hProcessId member to determine the process that owns the device.

hProcessId

The process identifier (PID) of the process that creates or destroys the device object.

pDxgAdapter

A pointer to a block of memory for the graphics adapter that the device context is created on. This pointer identifies the adapter for kernel-mode creation.

ClientType

The type of GPU device that is created or destroyed. For a system device, set this value to DXGKETW_CLIENT_TYPE_SYSTEM_DEVICE.

hDevice

A handle to the display device (that is, the graphics context) that is created or destroyed.

Requirements

Minimum supported client

Windows 8 Release Preview

Minimum supported server

Windows Server 2012

Header

Dxetwevt.h (include Dxetwevt.h)

 

 

Send comments about this topic to Microsoft

Build date: 5/20/2012

Show:
© 2014 Microsoft