Share via


DDHAL_UPDATEOVERLAYDATA

The DDHAL_UPDATEOVERLAYDATA structure contains information necessary for updating an overlay surface. This structure passes the information to the DirectDraw HAL UpdateOverlay callback function.

typedef struct _DDHAL_UPDATEOVERLAYDATA
{
LPDDRAWI_DIRECTDRAW_GBL        lpDD;
LPDDRAWI_DDRAWSURFACE_LCL      lpDDDestSurface;
RECTL                          rDest;
LPDDRAWI_DDRAWSURFACE_LCL      lpDDSrcSurface;
RECTL                          rSrc;
DWORD                          dwFlags;
DDOVERLAYFX                    overlayFX;
HRESULT                        ddRVal;
LPDDHALSURFCB_UPDATEOVERLAY    UpdateOverlay;
} DDHAL_UPDATEOVERLAYDATA;

Members

  • lpDD
    Pointer to the DDRAWI_DIRECTDRAW_GBL structure that represents the DirectDraw object.

  • lpDDDestSurface
    Pointer to the DDRAWI_DDRAWSURFACE_LCL structure that represents the surface that is being overlaid.

  • rDest
    Pointer to a RECT structure that contains the x, y, width, and height of the region on the destination surface.

  • lpDDSrcSurface
    Pointer to the DDRAWI_DDRAWSURFACE_LCL structure that represents the DirectDraw overlay surface.

  • rSrc
    Pointer to a RECT structure that contains the x, y, width, and height of the region on the source surface.

  • dwFlags
    Overlay FX control flags.

    Flag Usage
    DDOVERFX_ARITHSTRETCHY If stretching, use arithmetic stretching along the y-axis for this overlay.
    DDOVERFX_MIRRORLEFTRIGHT Mirror the overlay around the vertical axis.
    DDOVERFX_MIRRORUPDOWN Mirror the overlay around the horizontal axis.
  • overlayFX
    Pointer to a DDOVERLAYFX structure that contains the overlay data.

  • ddRVal
    Passes the DirectDraw return values.

  • UpdateOverlay
    This member is used by DirectDraw and should not be filled in by the driver.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.