Bewerken

Delen via


DXGKARG_CREATECPUEVENT structure (d3dkmddi.h)

The DXGKARG_CREATECPUEVENT structure is an argument passed to DXGKDDI_CREATECPUEVENT to create a kernel-mode driver's (KMD's) CPU event object for a corresponding Dxgkrnl object.

Syntax

typedef struct _DXGKARG_CREATECPUEVENT {
  HANDLE                   hKmdDevice;
  HANDLE                   hDxgCpuEvent;
  DXGK_CREATECPUEVENTFLAGS Flags;
  HANDLE                   hKmdCpuEvent;
} DXGKARG_CREATECPUEVENT;

Members

hKmdDevice

[in] The KMD device handle, returned from DXGKDDI_CREATEDEVICE.

hDxgCpuEvent

[in] Dxgkrnl's CPU event sync object handle. KMD needs to pass this handle to DXGKCB_SIGNALEVENT.

Flags

[in] A DXGK_CREATECPUEVENTFLAGS structure specifying creation flags.

hKmdCpuEvent

[out] Handle to the created KMD CPU event object.

Remarks

See Signaling a CPU event from KMD for more information.

Requirements

Requirement Value
Minimum supported client Windows 11 version 21H2 (WDDM 3.0)
Header d3dkmddi.h

See also

DXGKCB_SIGNALEVENT

DXGKDDI_CREATECPUEVENT

DXGKDDI_CREATEDEVICE