DDHAL_CREATESURFACEDATA

The DDHAL_CREATESURFACEDATA structure contains information necessary to create a surface. This structure passes the information to the DirectDraw HAL CreateSurface callback function.

typedef struct _DDHAL_CREATESURFACEDATA
{
LPDDRAWI_DIRECTDRAW_GBL    lpDD;
LPDDSURFACEDESC            lpDDSurfaceDesc;
LPDDRAWI_DDRAWSURFACE_LCL  FAR *lplpSList;
DWORD                      dwSCnt;
HRESULT                    ddRVal;
LPDDHAL_CREATESURFACE      CreateSurface;
} DDHAL_CREATESURFACEDATA;

Members

  • lpDD
    Pointer to the DDRAWI_DIRECTDRAW_GBL structure that represents the DirectDraw object.
  • lpDDSurfaceDesc
    Pointer to the DDSURFACEDESC structure that describes the surface being created.
  • lplpSList
    Pointer to a list of created surface objects.
  • dwSCnt
    Indicates the number of surfaces in lplpSList.
  • ddRVal
    Passes the DirectDraw return values.
  • CreateSurface
    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.