_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

Flags

[in] A D3DKMT_CREATEKEYEDMUTEX2_FLAGS structure that indicates how to specify a handle to a 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.

hSharedHandle

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

InitialValue

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

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.

Requirements

   
Windows version Windows 8 Windows 8
Header d3dkmthk.h (include D3dkmthk.h)

See Also

D3DKMTCreateKeyedMutex2

D3DKMT_CREATEKEYEDMUTEX2_FLAGS

Send comments about this topic to Microsoft