DDFLIPOVERLAY structure (ddkmapi.h)

The DDFLIPOVERLAY structure contains the surface information required for the flip.

Syntax

typedef struct _DDFLIPOVERLAY {
  HANDLE hDirectDraw;
  HANDLE hCurrentSurface;
  HANDLE hTargetSurface;
  DWORD  dwFlags;
} DDFLIPOVERLAY, *LPDDFLIPOVERLAY;

Members

hDirectDraw

Specifies the Microsoft DirectDraw handle.

hCurrentSurface

Specifies the current DirectDrawSurface handle.

hTargetSurface

Handle of the DirectDrawSurface to which the flip occurs.

dwFlags

Flags specifying flip options.

Flag Meaning
DDFLIP_EVEN For use only when displaying video in an overlay surface. The new surface contains data from the even field of a video signal. This flag cannot be used with the DDFLIP_ODD flag.
DDFLIP_ODD For use only when displaying video in an overlay surface. The new surface contains data from the odd field of a video signal. This flag cannot be used with the DDFLIP_EVEN flag.

Requirements

Requirement Value
Header ddkmapi.h (include Ddkmapi.h)

See also

DD_DXAPI_FLIP_OVERLAY

DxApi