Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 *unnamedParam2
)
{...}
Parameters
hDevice
A handle to the display device (graphics context).
unnamedParam2
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
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Minimum supported server | Windows Server 2016 |
Target Platform | Desktop |
Header | d3dumddi.h (include D3dumddi.h) |