Expand Minimize

DDSETSURFACESTATE structure

The DDSETSURFACESTATE structure contains the surface state information.

Syntax


typedef struct _DDSETSURFACETATE {
  HANDLE hDirectDraw;
  HANDLE hSurface;
  DWORD  dwState;
  DWORD  dwStartField;
} DDSETSURFACESTATE, *LPDDSETSURFACESTATE;

Members

hDirectDraw

Specifies the Microsoft DirectDraw handle.

hSurface

Specifies the DirectDrawSurface handle.

dwState

Indicates the surface state. One of the following:

FlagMeaning

DDSTATE_BOB

Bob mode is to be used on this surface.

DDSTATE_WEAVE

Weave mode is to be used on this surface.

 

dwStartField

Indicates the field on which the state change should occur. A value of 0 indicates it should occur at the start of the next field, a value of 1 indicates the start of the following field, and so on.

Requirements

Header

Ddkmapi.h (include Ddkmapi.h)

See also

DD_DXAPI_SET_SURFACE_STATE
DxApi

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft