// d3dumddi.h
PFND3DDDI_LOCK2CB Pfnd3dddiLock2cb;
HRESULT Pfnd3dddiLock2cb(
HANDLE hDevice,
D3DDDICB_LOCK2 *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The pfnLock2Cb function locks an allocation and obtains a pointer to the allocation from the display miniport driver or video memory manager.
hDeviceA handle to the display device (graphics context).
unnamedParam2pData [in, out]
A pointer to a D3DDDICB_LOCK2 structure that describes the allocation to lock.
If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
With the Windows Display Driver Model (WDDM) v2 it is now the user mode driver's responsibility to handle the following tasks:
Synchronization of other lock types (not no-overwrite or discard)