UID | title | description | old-location | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | tech.root | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NC:d3dkmthk.PFND3DKMT_CREATEKEYEDMUTEX2 |
PFND3DKMT_CREATEKEYEDMUTEX2 (d3dkmthk.h) |
The PFND3DKMT_CREATEKEYEDMUTEX2 callback creates a keyed mutex object that includes private data. The function returns STATUS_SUCCESS on successful creation. |
display\d3dkmtcreatekeyedmutex2.htm |
05/10/2018 |
|
D3DKMTCreateKeyedMutex2, D3DKMTCreateKeyedMutex2 callback function [Display Devices], PFND3DKMT_CREATEKEYEDMUTEX2, PFND3DKMT_CREATEKEYEDMUTEX2 callback, d3dkmthk/D3DKMTCreateKeyedMutex2, display.d3dkmtcreatekeyedmutex2 |
d3dkmthk.h |
D3dkmthk.h |
Universal |
Windows 8 |
Windows Server 2012 |
Windows |
display |
|
|
|
|
|
Creates a keyed mutex object that includes private data.
pData [in, out]
A pointer to a D3DKMT_CREATEKEYEDMUTEX2 structure that describes a keyed mutex object to create.
Returns one of the following values:
Return code | Description |
---|---|
STATUS_SUCCESS | The keyed mutex object was successfully created. |
STATUS_DEVICE_REMOVED | The graphics adapter was stopped or the display device was reset. |
STATUS_INVALID_PARAMETER | Parameters were validated and determined to be incorrect. |
STATUS_NO_MEMORY | D3DKMTCreateKeyedMutex2 could not complete because of insufficient memory. |
This function might also return other NTSTATUS values.
D3DKMTCreateKeyedMutex2 behaves like the D3DKMTCreateKeyedMutex function but lets the caller specify private data to associate with the keyed mutex.
Keyed mutexes created with D3DKMTCreateKeyedMutex2 are still compatible with D3DKMTOpenKeyedMutex, D3DKMTAcquireKeyedMutex, and D3DKMTReleaseKeyedMutex functions.