DD_SETOVERLAYPOSITIONDATA

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;

The DD_SETOVERLAYPOSITIONDATA structure is passed to the DirectDraw hardware interface’s SetOverlayPosition surface object callback.

Members

lpDD
Pointer to the DD_DIRECTDRAW_GLOBAL structure that describes the driver.
lpDDSrcSurface
Pointer to the DD_SURFACE_LOCAL structure that describes the overlay surface.
lpDDDestSurface
Pointer to the DD_SURFACE_LOCAL structure that describes the surface that is overlayed.
lXPos
Specifies the x coordinate of the upper left corner of the overlay.
lYPos
Specifies the y coordinate of the upper left corner of the overlay.
ddRVal
Location in which the driver returns a DirectDraw status return code. The status codes are defined in ddraw.h.
SetOverlayPosition
Unused by Windows NT.