Category : C Source Code
Archive   : FADE.ZIP
Filename : ERRORS.H

 
Output of file : ERRORS.H contained in archive : FADE.ZIP
#ifndef __ERRORS_H__
#define __ERRORS_H__


enum {
ERR_MIN = 0, // All error #s >= this value
ERR_NOT_DIB = 0, // Tried to load a file, NOT a DIB!
ERR_MEMORY, // Not enough memory!
ERR_READ, // Error reading file!
ERR_LOCK, // Error on a GlobalLock()!
ERR_OPEN, // Error opening a file!
ERR_CREATEPAL, // Error creating palette.
ERR_GETDC, // Couldn't get a DC.
ERR_CREATECHILD, // Error creating MDI child.
ERR_CREATEDDB, // Error create a DDB.
ERR_STRETCHBLT, // StretchBlt() returned failure.
ERR_STRETCHDIBITS, // StretchDIBits() returned failure.
ERR_NODIBORDDB, // Error painting -- need BOTH DDB & DIB.
ERR_SETDIBITSTODEVICE, // SetDIBitsToDevice() failed.

ERR_STARTDOC, // Error calling StartDoc().
ERR_NOGDIMODULE, // Couldn't find GDI module in memory.
ERR_SETABORTPROC, // Error calling SetAbortProc().
ERR_STARTPAGE, // Error calling StartPage().
ERR_NEWFRAME, // Error calling NEWFRAME escape.
ERR_ENDPAGE, // Error calling EndPage().
ERR_ENDDOC, // Error calling EndDoc().
ERR_ANIMATE, // Only one DIB animated @ a time.
ERR_NOTIMERS, // No timers avail for pal animation.
ERR_NOCLIPWINDOW, // Now current window for clipboard.
ERR_CLIPBUSY, // Clipboard is busy.
ERR_NOCLIPFORMATS, // During paste can't find DIB or DDB.
ERR_SETDIBITS, // Error calling SetDIBits().
ERR_FILENOTFOUND, // Error opening file in GetDib()
ERR_WRITEDIB, // Error writing DIB file.
ERR_MAX // All error #s < this value
};


VOID DIBError (int ErrNo);

#endif // __ERRORS_H__



  3 Responses to “Category : C Source Code
Archive   : FADE.ZIP
Filename : ERRORS.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/