D3DKMT_LOCK2 structure (d3dkmthk.h)
D3DKMT_LOCK2 describes parameters for locking an allocation.
Syntax
typedef struct _D3DKMT_LOCK2 {
D3DKMT_HANDLE hDevice;
D3DKMT_HANDLE hAllocation;
D3DDDICB_LOCK2FLAGS Flags;
void D3DKMT_PTR(
PVOID unnamedParam1,
pData unnamedParam2
);
} D3DKMT_LOCK2;
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.
void D3DKMT_PTR( PVOID unnamedParam1, pData unnamedParam2)
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Minimum supported server | Windows Server 2016 |
Header | d3dkmthk.h (include D3dkmthk.h) |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for