Expand Minimize

D3DKMT_CREATEKEYEDMUTEX2 structure

Describes a keyed mutex that the D3DKMTCreateKeyedMutex2 function creates that includes private data.

Syntax


typedef struct _D3DKMT_CREATEKEYEDMUTEX2 {
  UINT64                         InitialValue;
  D3DKMT_HANDLE                  hSharedHandle;
  D3DKMT_HANDLE                  hKeyedMutex;
  VOID                           *pPrivateRuntimeData;
  UINT                           PrivateRuntimeDataSize;
  D3DKMT_CREATEKEYEDMUTEX2_FLAGS Flags;
} D3DKMT_CREATEKEYEDMUTEX2;

Members

InitialValue

[in] A 64-bit value that specifies the initial value to create the keyed mutex for.

hSharedHandle

[out] A value of type D3DKMT_HANDLE that represents a kernel-mode shared global handle to the keyed mutex object.

hKeyedMutex

[out] A value of type D3DKMT_HANDLE that represents a kernel-mode handle to the keyed mutex object in the current process.

pPrivateRuntimeData

[in] A pointer to a caller-supplied buffer where the runtime private data associated with the resource is stored.

PrivateRuntimeDataSize

[in] The size, in bytes, of the buffer pointed to by the pPrivateRuntimeData member.

Flags

[in] A D3DKMT_CREATEKEYEDMUTEX2_FLAGS structure that indicates how to specify a handle to a keyed mutex object.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

D3dkmthk.h (include D3dkmthk.h)

See also

D3DKMT_CREATEKEYEDMUTEX2_FLAGS
D3DKMTCreateKeyedMutex2

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft