DXGKARGCB_SIGNALEVENT structure (d3dkmddi.h)

Arguments used in the call to DXGKCB_SIGNALEVENT.

Syntax

typedef struct _DXGKARGCB_SIGNALEVENT {
  HANDLE hDxgkProcess;
  HANDLE hEvent;
  union {
    struct {
      UINT Reserved : 32;
    };
    UINT Flags;
  };
} DXGKARGCB_SIGNALEVENT;

Members

hDxgkProcess

Handle to the DXG process object, which is passed to DxgkDdiCreateProcess. The process must be created for a virtual machine, where DXGK_CREATEPROCESSFLAGS::VirtualMachineProcess is set in DxgkDdiCreateProcess.

The driver must synchronize the callback with DxgkDdiDestroyProcess to ensure that the process is not destroyed during the callback.

hEvent

User mode event handle, which needs to be signaled. The handle is valid in the context of the DXG process, identified by hDxgkProcess. The user mode driver in the guest could send the user mode event handle to kernel mode driver via DXGKDDI_ESCAPE or other APIs, which allow private driver data.

Reserved

Reserved. Should be zero.

Flags

The driver must call the callback with the LastUse flag during process or device cleanup.

Requirements

   
Minimum supported client Windows 10, version 1809
Header d3dkmddi.h