D3DKMT_LOCK2 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmthk.h

typedef struct _D3DKMT_LOCK2 {
  D3DKMT_HANDLE       hDevice;
  D3DKMT_HANDLE       hAllocation;
  D3DDDICB_LOCK2FLAGS Flags;
  PVOID               pData;
} D3DKMT_LOCK2;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmthk-_d3dkmt_lock2)

_D3DKMT_LOCK2 structure

Description

D3DKMT_LOCK2 describes parameters for locking an allocation.

Members

hDevice

The handle to the device.

hAllocation

The handle to the allocation to lock.

Flags

A set of flags to pass to the Lock2 kernel function which will determine how the allocation is locked. See D3DDDICB_LOCK2FLAGS for details.

pData

A CPU virtual address pointing a valid memory location pointing to the CPU backing store or the GPU frame buffer.