Bewerken

Delen via


PFND3DKMT_CREATEKEYEDMUTEX callback function (d3dkmthk.h)

The D3DKMTCreateKeyedMutex function creates a keyed mutex object.

Syntax

PFND3DKMT_CREATEKEYEDMUTEX Pfnd3dkmtCreatekeyedmutex;

NTSTATUS Pfnd3dkmtCreatekeyedmutex(
  D3DKMT_CREATEKEYEDMUTEX *unnamedParam1
)
{...}

Parameters

unnamedParam1

pData [in, out]

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

Return value

D3DKMTCreateKeyedMutex returns an NTSTATUS code such as 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 D3DKMTCreateKeyedMutex could not complete because of insufficient memory.

Requirements

Requirement Value
Minimum supported client Windows 7
Target Platform Universal
Header d3dkmthk.h (include D3dkmthk.h)

See also

D3DKMT_CREATEKEYEDMUTEX