return"Return if a clipper object is attached to the source surface passed into a BltFast call.\0";
caseDDERR_CANNOTATTACHSURFACE:
return"This surface can not be attached to the requested surface.\0";
caseDDERR_CANNOTDETACHSURFACE:
return"This surface can not be detached from the requested surface.\0";
caseDDERR_CANTCREATEDC:
return"Windows can not create any more DCs.\0";
caseDDERR_CANTDUPLICATE:
return"Can't duplicate primary & 3D surfaces, or surfaces that are implicitly created.\0";
caseDDERR_CLIPPERISUSINGHWND:
return"An attempt was made to set a cliplist for a clipper object that is already monitoring an hwnd.\0";
caseDDERR_COLORKEYNOTSET:
return"No src color key specified for this operation.\0";
caseDDERR_CURRENTLYNOTAVAIL:
return"Support is currently not available.\0";
caseDDERR_DIRECTDRAWALREADYCREATED:
return"A DirectDraw object representing this driver has already been created for this process.\0";
caseDDERR_EXCEPTION:
return"An exception was encountered while performing the requested operation.\0";
caseDDERR_EXCLUSIVEMODEALREADYSET:
return"An attempt was made to set the cooperative level when it was already set to exclusive.\0";
caseDDERR_GENERIC:
return"Generic failure.\0";
caseDDERR_HEIGHTALIGN:
return"Height of rectangle provided is not a multiple of reqd alignment.\0";
caseDDERR_HWNDALREADYSET:
return"The CooperativeLevel HWND has already been set. It can not be reset while the process has surfaces or palettes created.\0";
caseDDERR_HWNDSUBCLASSED:
return"HWND used by DirectDraw CooperativeLevel has been subclassed, this prevents DirectDraw from restoring state.\0";
caseDDERR_IMPLICITLYCREATED:
return"This surface can not be restored because it is an implicitly created surface.\0";
caseDDERR_INCOMPATIBLEPRIMARY:
return"Unable to match primary surface creation request with existing primary surface.\0";
caseDDERR_INVALIDCAPS:
return"One or more of the caps bits passed to the callback are incorrect.\0";
caseDDERR_INVALIDCLIPLIST:
return"DirectDraw does not support the provided cliplist.\0";
caseDDERR_INVALIDDIRECTDRAWGUID:
return"The GUID passed to DirectDrawCreate is not a valid DirectDraw driver identifier.\0";
caseDDERR_INVALIDMODE:
return"DirectDraw does not support the requested mode.\0";
caseDDERR_INVALIDOBJECT:
return"DirectDraw received a pointer that was an invalid DIRECTDRAW object.\0";
caseDDERR_INVALIDPARAMS:
return"One or more of the parameters passed to the function are incorrect.\0";
caseDDERR_INVALIDPIXELFORMAT:
return"The pixel format was invalid as specified.\0";
caseDDERR_INVALIDPOSITION:
return"Returned when the position of the overlay on the destination is no longer legal for that destination.\0";
caseDDERR_INVALIDRECT:
return"Rectangle provided was invalid.\0";
caseDDERR_LOCKEDSURFACES:
return"Operation could not be carried out because one or more surfaces are locked.\0";
caseDDERR_NO3D:
return"There is no 3D present.\0";
caseDDERR_NOALPHAHW:
return"Operation could not be carried out because there is no alpha accleration hardware present or available.\0";
caseDDERR_NOBLTHW:
return"No blitter hardware present.\0";
caseDDERR_NOCLIPLIST:
return"No cliplist available.\0";
caseDDERR_NOCLIPPERATTACHED:
return"No clipper object attached to surface object.\0";
caseDDERR_NOCOLORCONVHW:
return"Operation could not be carried out because there is no color conversion hardware present or available.\0";
caseDDERR_NOCOLORKEY:
return"Surface doesn't currently have a color key\0";
caseDDERR_NOCOLORKEYHW:
return"Operation could not be carried out because there is no hardware support of the destination color key.\0";
caseDDERR_NOCOOPERATIVELEVELSET:
return"Create function called without DirectDraw object method SetCooperativeLevel being called.\0";
caseDDERR_NODC:
return"No DC was ever created for this surface.\0";
caseDDERR_NODDROPSHW:
return"No DirectDraw ROP hardware.\0";
caseDDERR_NODIRECTDRAWHW:
return"A hardware-only DirectDraw object creation was attempted but the driver did not support any hardware.\0";
caseDDERR_NOEMULATION:
return"Software emulation not available.\0";
caseDDERR_NOEXCLUSIVEMODE:
return"Operation requires the application to have exclusive mode but the application does not have exclusive mode.\0";
caseDDERR_NOFLIPHW:
return"Flipping visible surfaces is not supported.\0";
caseDDERR_NOGDI:
return"There is no GDI present.\0";
caseDDERR_NOHWND:
return"Clipper notification requires an HWND or no HWND has previously been set as the CooperativeLevel HWND.\0";
caseDDERR_NOMIRRORHW:
return"Operation could not be carried out because there is no hardware present or available.\0";
caseDDERR_NOOVERLAYDEST:
return"Returned when GetOverlayPosition is called on an overlay that UpdateOverlay has never been called on to establish a destination.\0";
caseDDERR_NOOVERLAYHW:
return"Operation could not be carried out because there is no overlay hardware present or available.\0";
caseDDERR_NOPALETTEATTACHED:
return"No palette object attached to this surface.\0";
caseDDERR_NOPALETTEHW:
return"No hardware support for 16 or 256 color palettes.\0";
caseDDERR_NORASTEROPHW:
return"Operation could not be carried out because there is no appropriate raster op hardware present or available.\0";
caseDDERR_NOROTATIONHW:
return"Operation could not be carried out because there is no rotation hardware present or available.\0";
caseDDERR_NOSTRETCHHW:
return"Operation could not be carried out because there is no hardware support for stretching.\0";
caseDDERR_NOT4BITCOLOR:
return"DirectDrawSurface is not in 4 bit color palette and the requested operation requires 4 bit color palette.\0";
caseDDERR_NOT4BITCOLORINDEX:
return"DirectDrawSurface is not in 4 bit color index palette and the requested operation requires 4 bit color index palette.\0";
caseDDERR_NOT8BITCOLOR:
return"DirectDrawSurface is not in 8 bit color mode and the requested operation requires 8 bit color.\0";
caseDDERR_NOTAOVERLAYSURFACE:
return"Returned when an overlay member is called for a non-overlay surface.\0";
caseDDERR_NOTEXTUREHW:
return"Operation could not be carried out because there is no texture mapping hardware present or available.\0";
caseDDERR_NOTFLIPPABLE:
return"An attempt has been made to flip a surface that is not flippable.\0";
caseDDERR_NOTFOUND:
return"Requested item was not found.\0";
caseDDERR_NOTLOCKED:
return"Surface was not locked. An attempt to unlock a surface that was not locked at all, or by this process, has been attempted.\0";
caseDDERR_NOTPALETTIZED:
return"The surface being used is not a palette-based surface.\0";
caseDDERR_NOVSYNCHW:
return"Operation could not be carried out because there is no hardware support for vertical blank synchronized operations.\0";
caseDDERR_NOZBUFFERHW:
return"Operation could not be carried out because there is no hardware support for zbuffer blitting.\0";
caseDDERR_NOZOVERLAYHW:
return"Overlay surfaces could not be z layered based on their BltOrder because the hardware does not support z layering of overlays.\0";
caseDDERR_OUTOFCAPS:
return"The hardware needed for the requested operation has already been allocated.\0";
caseDDERR_OUTOFMEMORY:
return"DirectDraw does not have enough memory to perform the operation.\0";
caseDDERR_OUTOFVIDEOMEMORY:
return"DirectDraw does not have enough memory to perform the operation.\0";
caseDDERR_OVERLAYCANTCLIP:
return"The hardware does not support clipped overlays.\0";
caseDDERR_OVERLAYCOLORKEYONLYONEACTIVE:
return"Can only have ony color key active at one time for overlays.\0";
caseDDERR_OVERLAYNOTVISIBLE:
return"Returned when GetOverlayPosition is called on a hidden overlay.\0";
caseDDERR_PALETTEBUSY:
return"Access to this palette is being refused because the palette is already locked by another thread.\0";
caseDDERR_PRIMARYSURFACEALREADYEXISTS:
return"This process already has created a primary surface.\0";
caseDDERR_REGIONTOOSMALL:
return"Region passed to Clipper::GetClipList is too small.\0";
caseDDERR_SURFACEALREADYATTACHED:
return"This surface is already attached to the surface it is being attached to.\0";
caseDDERR_SURFACEALREADYDEPENDENT:
return"This surface is already a dependency of the surface it is being made a dependency of.\0";
caseDDERR_SURFACEBUSY:
return"Access to this surface is being refused because the surface is already locked by another thread.\0";
caseDDERR_SURFACEISOBSCURED:
return"Access to surface refused because the surface is obscured.\0";
caseDDERR_SURFACELOST:
return"Access to this surface is being refused because the surface memory is gone. The DirectDrawSurface object representing this surface should have Restore called on it.\0";
caseDDERR_SURFACENOTATTACHED:
return"The requested surface is not attached.\0";
caseDDERR_TOOBIGHEIGHT:
return"Height requested by DirectDraw is too large.\0";
caseDDERR_TOOBIGSIZE:
return"Size requested by DirectDraw is too large, but the individual height and width are OK.\0";
caseDDERR_TOOBIGWIDTH:
return"Width requested by DirectDraw is too large.\0";
caseDDERR_UNSUPPORTED:
return"Action not supported.\0";
caseDDERR_UNSUPPORTEDFORMAT:
return"FOURCC format requested is unsupported by DirectDraw.\0";
caseDDERR_UNSUPPORTEDMASK:
return"Bitmask in the pixel format requested is unsupported by DirectDraw.\0";
caseDDERR_VERTICALBLANKINPROGRESS:
return"Vertical blank is in progress.\0";
caseDDERR_WASSTILLDRAWING:
return"Informs DirectDraw that the previous Blt which is transfering information to or from this Surface is incomplete.\0";
caseDDERR_WRONGMODE:
return"This surface can not be restored because it was created in a different mode.\0";
caseDDERR_XALIGN:
return"Rectangle provided was not horizontally aligned on required boundary.\0";