D3DKMTUnlock2 function (d3dkmthk.h)

The D3DKMTUnlock2 function unlocks a list of allocations.

Syntax

NTSTATUS D3DKMTUnlock2(
  [in] const D3DKMT_UNLOCK2 *unnamedParam1
);

Parameters

[in] unnamedParam1

A pointer to a D3DKMT_UNLOCK2 structure that describes a list of allocations to unlock.

Return value

Return code Description
STATUS_SUCCESS The allocations were successfully unlocked.
STATUS_INVALID_PARAMETER Parameters were validated and determined to be incorrect.

This function might also return other NTSTATUS values.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Universal
Header d3dkmthk.h (include D3dkmthk.h)
Library Gdi32.lib
DLL Gdi32.dll

See also

D3DKMT_UNLOCK2