// d3dumddi.h
typedef struct _D3DDDICB_LOCK2 {
[in] D3DKMT_HANDLE hAllocation;
D3DDDICB_LOCK2FLAGS Flags;
[out] PVOID pData;
} D3DDDICB_LOCK2;
View the official Windows Driver Kit DDI referenceNo description available.
D3DDDICB_LOCK2 describes parameters for locking an allocation.
hAllocation [in]A driver specified D3DKMT_HANDLE to the allocation to lock.
FlagsA set of flags to pass to the Lock2 kernel function which will determine how the allocation is locked. See D3DDDICB_LOCK2FLAGS for details.
pData [out]A CPU virtual address pointing a valid memory location pointing to the CPU backing store or the GPU frame buffer.