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.
D3DDDICB_LOCK2 describes parameters for locking an allocation.
Syntax
typedef struct _D3DDDICB_LOCK2 {
[in] D3DKMT_HANDLE hAllocation;
D3DDDICB_LOCK2FLAGS Flags;
[out] PVOID pData;
} D3DDDICB_LOCK2;
Members
[in] hAllocation
A driver specified D3DKMT_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.
[out] pData
A CPU virtual address pointing a valid memory location pointing to the CPU backing store or the GPU frame buffer.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10 |
| Minimum supported server | Windows Server 2016 |
| Header | d3dumddi.h (include D3dumddi.h) |