PFND3DDDI_UNLOCK2CB callback function

The pfnUnlock2Cb function unlocks an allocation that was locked by a call to the pfnLock2Cb function.

Syntax

PFND3DDDI_UNLOCK2CB Pfnd3dddiUnlock2cb;

HRESULT Pfnd3dddiUnlock2cb(
  HANDLE hDevice,
  const D3DDDICB_UNLOCK2 *Arg2
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

Arg2

pData [in]

A pointer to a D3DDDICB_UNLOCK2 structure that describes the allocation to unlock.

Return Value

If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Desktop
Header d3dumddi.h (include D3dumddi.h)