// d3dkmthk.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
Describes a keyed mutex that the D3DKMTCreateKeyedMutex2 function creates that includes private data.
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.
D3DKMT_CREATEKEYEDMUTEX2_FLAGS