Expand Minimize

DD_SETOVERLAYPOSITIONDATA structure

The DD_SETOVERLAYPOSITIONDATA structure contains information necessary to change the display coordinates of an overlay surface.

Syntax


typedef struct _DD_SETOVERLAYPOSITIONDATA {
  PDD_DIRECTDRAW_GLOBAL lpDD;
  PDD_SURFACE_LOCAL     lpDDSrcSurface;
  PDD_SURFACE_LOCAL     lpDDDestSurface;
  LONG                  lXPos;
  LONG                  lYPos;
  HRESULT               ddRVal;
  VOID                  *SetOverlayPosition;
} DD_SETOVERLAYPOSITIONDATA;

Members

lpDD

Points to a DD_DIRECTDRAW_GLOBAL structure that describes the driver's device.

lpDDSrcSurface

Points to a DD_SURFACE_LOCAL structure that represents the Microsoft DirectDraw overlay surface.

lpDDDestSurface

Points to a DD_SURFACE_LOCAL structure representing the surface that is being overlaid.

lXPos

Specifies the x-coordinate of the upper left corner of the overlay, in pixels.

lYPos

Specifies the y coordinate of the upper left corner of the overlay, in pixels.

ddRVal

Specifies the location in which the driver writes the return value of the DdSetOverlayPosition callback. A return code of DD_OK indicates success. For more information, see Return Values for DirectDraw.

SetOverlayPosition

Used by the DirectDraw API and should not be filled in by the driver.

Requirements

Header

Ddrawint.h (include Winddi.h)

See also

DdSetOverlayPosition

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.