typedef struct _DD_CANCREATESURFACEDATA{
PDD_DIRECTDRAW_GLOBAL lpDD;
PDD_SURFACEDESC lpDDSurfaceDesc;
DWORD bIsDifferentPixelFormat;
HRESULT ddRVal;
VOID * CanCreateSurface;
} DD_CANCREATESURFACEDATA;
The DD_CANCREATESURFACEDATA structure is passed to the DirectDraw driver's CanCreateSurface object callback.
Members
lpDD
Pointer to the DD_DIRECTDRAW_GLOBAL structure that describes the driver.
lpDDSurfaceDesc
Pointer to the DD_SURFACEDESC structure that describes the surface to be created. The DD_SURFACEDESC structure is defined in ddraw.h.
bIsDifferentPixelFormat
Boolean that specifies whether the pixel format of this surface differs from that of the primary surface.
ddRVal
Location in which the driver returns a DirectDraw status return code. The status codes are defined in ddraw.h.
CanCreateSurface
Unused by Windows NT.