D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmthk.h

typedef struct _D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2 {
  [in] D3DKMT_HANDLE hContext;
  [in] UINT          ObjectCount;
       D3DKMT_HANDLE ObjectHandleArray[D3DDDI_MAX_OBJECT_WAITED_ON];
  union {
    struct {
      D3DKMT_ALIGN64 UINT64 FenceValue;
    } Fence;
         D3DKMT_ALIGN64 UINT64 Reserved[8];
  };
} D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmthk-_d3dkmt_waitforsynchronizationobject2)

_D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2 structure

Description

The D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2 structure contains information about the synchronization events that the D3DKMTWaitForSynchronizationObject2 function waits for to occur.

Members

hContext [in]

A kernel-mode handle to the context stream in which a wait for the synchronization events in the array that the ObjectHandleArray member specifies is inserted.

ObjectCount [in]

The number of synchronization events in the ObjectHandleArray array.

ObjectHandleArray [in]

An array of kernel-mode handles to the synchronization events that the context that is specified by the hContext member waits for. The D3DDDI_MAX_OBJECT_WAITED_ON constant, which is defined as 32, indicates the maximum number of synchronization events that the context can wait for.

Fence

A structure that contains information about a fence. The union in D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2 can hold a Fence structure, which contains the following member:

Fence.FenceValue

A 64-bit value that specifies the fence value to wait for.

Reserved

An array of 64-bit values that are reserved for future use. The union in D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2 can hold this array.

See also

D3DKMTWaitForSynchronizationObject2