// d3dumddi.h
typedef struct _D3DDDIARG_UNLOCK {
[in] HANDLE hResource;
[in] UINT SubResourceIndex;
[in] D3DDDI_UNLOCKFLAGS Flags;
} D3DDDIARG_UNLOCK;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DDDIARG_UNLOCK structure describes a resource or a surface within the resource to unlock.
hResource [in]A handle to the resource to be unlocked.
SubResourceIndex [in]The zero-based index into the resource, which is specified by the handle in the hResource member. This index indicates the subresource or surface to be unlocked.
Flags [in]A D3DDDI_UNLOCKFLAGS structure that indicates, in bit-field flags, how to unlock the resource.