Expand Minimize

D3DDDI_SYNCHRONIZATIONOBJECTINFO structure

The D3DDDI_SYNCHRONIZATIONOBJECTINFO structure contains information about a synchronization object.

Syntax


typedef struct _D3DDDI_SYNCHRONIZATIONOBJECTINFO {
  D3DDDI_SYNCHRONIZATIONOBJECT_TYPE Type;
  union {
    struct {
      BOOL InitialState;
    } SynchronizationMutex;
    struct {
      UINT MaxCount;
      UINT InitialCount;
    } Semaphore;
    struct {
      UINT Reserved[16];
    } Reserved;
  };
} D3DDDI_SYNCHRONIZATIONOBJECTINFO;

Members

Type

[in] 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:

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:

MaxCount

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

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

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

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dukmdt.h (include D3dumddi.h or D3dkmddi.h)

See also

D3DDDI_SYNCHRONIZATIONOBJECT_TYPE
D3DDDICB_CREATESYNCHRONIZATIONOBJECT

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft