D3DDDI_OPENRESOURCEFLAGS structure (d3dumddi.h)

The D3DDDI_OPENRESOURCEFLAGS structure identifies the type of resource to open.

Syntax

typedef struct _D3DDDI_OPENRESOURCEFLAGS {
  union {
    struct {
      UINT Fullscreen : 1;
      UINT AlphaOverride : 1;
      UINT Reserved : 30;
    };
    UINT Value;
  };
} D3DDDI_OPENRESOURCEFLAGS;

Members

Fullscreen

A UINT value that specifies whether the shared primary resource is used with a full-screen device.

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

AlphaOverride

A UINT value that specifies whether to use the alpha channel in the shared primary resource. If AlphaOverride is set, the alpha channel should not be used.

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

Reserved

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

Value

A member in the union that is contained in D3DDDI_OPENRESOURCEFLAGS that can hold one 32-bit value that identifies the type of resource to open.

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_OPENRESOURCE