Skip to content

Latest commit

 

History

History
94 lines (66 loc) · 3.48 KB

nc-d3dkmthk-pfnd3dkmt_createkeyedmutex2.md

File metadata and controls

94 lines (66 loc) · 3.48 KB
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
PFND3DKMT_CREATEKEYEDMUTEX2 callback function
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
PFND3DKMT_CREATEKEYEDMUTEX2
d3dkmthk/PFND3DKMT_CREATEKEYEDMUTEX2
APIRef
kbSyntax
UserDefined
d3dkmthk.h
PFND3DKMT_CREATEKEYEDMUTEX2

PFND3DKMT_CREATEKEYEDMUTEX2 callback function

-description

Creates a keyed mutex object that includes private data.

-parameters

-param unnamedParam1

pData [in, out]

A pointer to a D3DKMT_CREATEKEYEDMUTEX2 structure that describes a keyed mutex object to create.

-returns

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.

-remarks

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.

-see-also

D3DKMTAcquireKeyedMutex

D3DKMTCreateKeyedMutex

D3DKMTOpenKeyedMutex

D3DKMTReleaseKeyedMutex

D3DKMT_CREATEKEYEDMUTEX2