PDD_SURFCB_UNLOCK callback function (ddrawint.h)
The DdUnLock callback function releases the lock held on the specified surface.
Syntax
PDD_SURFCB_UNLOCK PddSurfcbUnlock;
DWORD PddSurfcbUnlock(
PDD_UNLOCKDATA unnamedParam1
)
{...}
Parameters
unnamedParam1
Points to a DD_UNLOCKDATA structure that contains the information required to perform the lock release.
Return value
DdUnLock returns one of the following callback codes:
Remarks
The driver does not need to verify that the memory was previously locked down by DdLock, because DirectDraw does parameter validation before calling this routine.
DdUnLock can be called with a disabled PDEV. A PDEV is disabled or enabled by calling the display driver's DrvAssertMode function. See Managing PDEVs for more information.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | ddrawint.h (include Winddi.h) |