D3DKMT_CREATEKEYEDMUTEX2 structure (d3dkmthk.h)

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

Syntax

typedef struct _D3DKMT_CREATEKEYEDMUTEX2 {
  [in]  D3DKMT_ALIGN64 UINT64          InitialValue;
  [out] D3DKMT_HANDLE                  hSharedHandle;
  [out] D3DKMT_HANDLE                  hKeyedMutex;
  [in]  VOID                           *pPrivateRuntimeData;
  [in]  UINT                           PrivateRuntimeDataSize;
  [in]  D3DKMT_CREATEKEYEDMUTEX2_FLAGS Flags;
} D3DKMT_CREATEKEYEDMUTEX2;

Members

[in] InitialValue

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

[out] hSharedHandle

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

[out] hKeyedMutex

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

[in] pPrivateRuntimeData

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

[in] PrivateRuntimeDataSize

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

[in] Flags

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

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header d3dkmthk.h (include D3dkmthk.h)

See also

D3DKMTCreateKeyedMutex2

D3DKMT_CREATEKEYEDMUTEX2_FLAGS