Expand Minimize

D3DDDIARG_UNLOCK structure

The D3DDDIARG_UNLOCK structure describes a resource or a surface within the resource to unlock.

Syntax


typedef struct _D3DDDIARG_UNLOCK {
  HANDLE             hResource;
  UINT               SubResourceIndex;
  D3DDDI_UNLOCKFLAGS Flags;
} D3DDDIARG_UNLOCK;

Members

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.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDI_UNLOCKFLAGS
Unlock

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft