// d3dukmdt.h
typedef struct _D3DDDI_SYNCHRONIZATIONOBJECTINFO {
[in] D3DDDI_SYNCHRONIZATIONOBJECT_TYPE Type;
union {
struct {
BOOL InitialState;
} SynchronizationMutex;
struct {
UINT MaxCount;
UINT InitialCount;
} Semaphore;
struct {
UINT Reserved[16];
} Reserved;
};
} D3DDDI_SYNCHRONIZATIONOBJECTINFO;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DDDI_SYNCHRONIZATIONOBJECTINFO structure contains information about a synchronization object.
Type [in]A D3DDDI_SYNCHRONIZATIONOBJECT_TYPE-typed value that indicates the type of synchronization object.
SynchronizationMutexA structure that contains information about a synchronization mutex. If the Type member is equal to D3DDDI_SYNCHRONIZATION_MUTEX, the union in D3DDDI_SYNCHRONIZATIONOBJECTINFO holds a SynchronizationMutex structure, which contains the following member:
SynchronizationMutex.InitialStateA Boolean value that indicates whether the synchronization mutex is initially owned by an object. A value of TRUE indicates that the mutex is owned; FALSE indicates that the mutex is not owned.
SemaphoreA structure that contains information about a semaphore. If the Type member is equal to D3DDDI_SEMAPHORE, the union in D3DDDI_SYNCHRONIZATIONOBJECTINFO holds a Semaphore structure, which contains the following members:
Semaphore.MaxCountThe maximum number of events that an object can be waiting for.
Semaphore.InitialCountThe initial number of events that an object is waiting for.
ReservedA structure that is reserved for future use. This structure contains the following member:
Reserved.ReservedAn array of 32-bit values that are reserved for future use.
D3DDDICB_CREATESYNCHRONIZATIONOBJECT
D3DDDI_SYNCHRONIZATIONOBJECT_TYPE