DXSURFSTATUS enumeration

Describes general properties of a DXSurface object.

Syntax

typedef enum DXSURFSTATUS { 
  DXSURF_TRANSIENT   = ( 1 << 0 ),
  DXSURF_READONLY    = ( 1 << 1 ),
  DXSURF_VALIDFLAGS  = ( DXSURF_TRANSIENT | DXSURF_READONLY )
} DXSURFSTATUS;

Constants

  • DXSURF_TRANSIENT
    Value that indicates that the pointer to the surface could change during run time.

  • DXSURF_READONLY
    Value that indicates that the surface is read-only.

  • DXSURF_VALIDFLAGS
    Bitwise OR of the two flags used to check for valid input.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Dxtrans.h

IDL

Dxtrans.idl

See also

Reference

IDXSurface::GetStatusFlags

IDXSurface::SetStatusFlags