Bewerken

Delen via


D3DDDICB_WAITFORSYNCHRONIZATIONOBJECT structure (d3dumddi.h)

The D3DDDICB_WAITFORSYNCHRONIZATIONOBJECT structure describes the parameters that are required to set up the wait in a call to the pfnWaitForSynchronizationObjectCb function.

Syntax

typedef struct _D3DDDICB_WAITFORSYNCHRONIZATIONOBJECT {
  [in] HANDLE        hContext;
  [in] UINT          ObjectCount;
       D3DKMT_HANDLE ObjectHandleArray[D3DDDI_MAX_OBJECT_WAITED_ON];
} D3DDDICB_WAITFORSYNCHRONIZATIONOBJECT;

Members

[in] hContext

A handle to a context that waits for the synchronization events in the array that the ObjectHandleArray member specifies to occur.

[in] ObjectCount

The number of synchronization events in the ObjectHandleArray array.

[in] ObjectHandleArray[D3DDDI_MAX_OBJECT_WAITED_ON]

An array of 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.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dumddi.h (include D3dumddi.h)

See also

pfnWaitForSynchronizationObjectCb