D3DKMT_UNLOCK structure

The D3DKMT_UNLOCK structure describes allocations to unlock.

Syntax

typedef struct _D3DKMT_UNLOCK {
  D3DKMT_HANDLE       hDevice;
  UINT                NumAllocations;
  const D3DKMT_HANDLE *phAllocations;
} D3DKMT_UNLOCK;

Members

        `hDevice`

        [in] A D3DKMT_HANDLE data type that represents a kernel-mode handle to the device that the allocation is associated with.
    
    
        `NumAllocations`

        [in] The number of allocations in the array that <b>phAllocations</b> specifies.
    
    
        `phAllocations`

        [in] An array of D3DKMT_HANDLE data types that represent kernel-mode handles to the allocations to unlock.
    

Requirements

   
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dkmthk.h (include D3dkmthk.h)
## See Also

    <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/d3dkmthk/nf-d3dkmthk-d3dkmtunlock">D3DKMTUnlock</a>