D3DDDIARG_UNLOCK structure (d3dumddi.h)

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

Syntax

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

Members

[in] hResource

A handle to the resource to be unlocked.

[in] SubResourceIndex

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.

[in] Flags

A D3DDDI_UNLOCKFLAGS structure that indicates, in bit-field flags, how to unlock the resource.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dumddi.h (include D3dumddi.h)

See also

D3DDDI_UNLOCKFLAGS

Unlock