D3DKMT_ACQUIREKEYEDMUTEX2 structure (d3dkmthk.h)

Describes a keyed mutex object that the D3DKMTAcquireKeyedMutex2 function acquires that includes private data.

Syntax

typedef struct _D3DKMT_ACQUIREKEYEDMUTEX2 {
  D3DKMT_HANDLE         hKeyedMutex;
  D3DKMT_ALIGN64 UINT64 Key;
  PLARGE_INTEGER        pTimeout;
  D3DKMT_ALIGN64 UINT64 FenceValue;
  VOID                  *pPrivateRuntimeData;
  UINT                  PrivateRuntimeDataSize;
} D3DKMT_ACQUIREKEYEDMUTEX2;

Members

hKeyedMutex

[in] A D3DKMT_HANDLE data type that represents a handle to the keyed mutex.

Key

[in] The key value to acquire.

pTimeout

[in] An NT-style timeout value.

FenceValue

[out] The current fence value of the GPU sync object.

pPrivateRuntimeData

[out] A pointer to a buffer to copy private data to.

PrivateRuntimeDataSize

[in] The size, in bytes, of the pPrivateRuntimeData member.

Requirements

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

See also

D3DKMTAcquireKeyedMutex2