D3DDDI_DRIVERESCAPE_CPUEVENTUSAGE structure (d3dukmdt.h)
The D3DDDI_DRIVERESCAPE_CPUEVENTUSAGE structure defines the kernel-mode driver (KMD) CPU event usage escape when notifying KMD about the intended usage of a KMD CPU event object.
Syntax
typedef struct _D3DDDI_DRIVERESCAPE_CPUEVENTUSAGE {
D3DDDI_DRIVERESCAPETYPE EscapeType;
D3DKMT_HANDLE hSyncObject;
D3DKMT_ALIGN64 UINT64 hKmdCpuEvent;
UINT Usage[8];
} D3DDDI_DRIVERESCAPE_CPUEVENTUSAGE;
Members
EscapeType
[in] A D3DDDI_DRIVERESCAPETYPE. Must be set to D3DDDI_DRIVERESCAPETYPE_CPUEVENTUSAGE.
hSyncObject
[in] CPU event synchronization object handle, returned from D3DKMTCreateSynchronizationObject2.
hKmdCpuEvent
[in] Handle that KMD returned from DXGKDDI_CREATECPUEVENT
Usage[8]
Driver-defined usage for the synchronization object.
Remarks
See Signaling a CPU event from KMD for more information and sample code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 (WDDM 3.0) |
Header | d3dukmdt.h |