D3DDDI_SYNCHRONIZATIONOBJECTINFO structure (d3dukmdt.h)

The D3DDDI_SYNCHRONIZATIONOBJECTINFO structure contains information about a synchronization object.

Syntax

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;

Members

[in] Type

A D3DDDI_SYNCHRONIZATIONOBJECT_TYPE-typed value that indicates the type of synchronization object.

SynchronizationMutex

A 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.InitialState

A 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.

Semaphore

A 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.MaxCount

The maximum number of events that an object can be waiting for.

Semaphore.InitialCount

The initial number of events that an object is waiting for.

Reserved

A structure that is reserved for future use. This structure contains the following member:

Reserved.Reserved[16]

An array of 32-bit values that are reserved for future use.

Requirements

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

See also

D3DDDICB_CREATESYNCHRONIZATIONOBJECT

D3DDDI_SYNCHRONIZATIONOBJECT_TYPE