Bewerken

Delen via


D3DDDI_UNLOCKASYNCFLAGS structure (d3dumddi.h)

The D3DDDI_UNLOCKASYNCFLAGS structure identifies how to unlock a resource.

Syntax

typedef struct _D3DDDI_UNLOCKASYNCFLAGS {
  union {
    struct {
      UINT NotifyOnly : 1;
      UINT Reserved : 31;
    };
    UINT Value;
  };
} D3DDDI_UNLOCKASYNCFLAGS;

Members

NotifyOnly

A UINT value that specifies whether the unlock call is for notification only. The Microsoft Direct3D runtime sets NotifyOnly to TRUE when it unlocks runtime-allocated system memory surfaces.

Setting this member is equivalent to setting the first bit of the 32-bit Value member (0x00000001).

Reserved

This member is reserved and should be set to zero. Setting this member to zero is equivalent to setting the remaining 31 bits (0xFFFFFFFE) of the 32-bit Value member to zeros.

Value

A member in the union that is contained in D3DDDI_UNLOCKASYNCFLAGS that can hold one 32-bit value that identifies how to unlock a 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

D3DDDIARG_UNLOCK