DDHAL_GETBLTSTATUSDATA

The DDHAL_GETBLTSTATUSDATA structure returns the blit status information. This structure passes the information to the DirectDraw HAL GetBltStatus and GetSysmemBltStatus callback functions.

typedef struct _DDHAL_GETBLTSTATUSDATA
{
LPDDRAWI_DIRECTDRAW_GBL       lpDD;
LPDDRAWI_DDRAWSURFACE_LCL     lpDDSurface;
DWORD                         dwFlags;
HRESULT                       ddRVal;
LPDDHALSURFCB_GETBLTSTATUS    GetBltStatus;
} DDHAL_GETBLTSTATUSDATA;

Members

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

  • lpDDSurface
    Pointer to the DDRAWI_DDRAWSURFACE_LCL structure that represents the DirectDrawSurface object. For GetSysmemBltStatus calls, the driver is assured that this member points to a system memory surface.

  • dwFlags
    Blit status flags:

    Flag Usage
    DDGBS_CANBLT Queries whether a blit is currently permitted.
    DDGBS_ISBLTDONE Queries if the last blit has finished.
  • ddRVal
    Passes the DirectDraw return values. This member should be filled in with one of the following:

    • D_OK
    • DDERR_WASSTILLDRAWING
  • GetBltStatus
    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.