home *** CD-ROM | disk | FTP | other *** search
- /* Header file for errors.c */
- /* Copyright (c) 1991 Microsoft Corporation. All rights reserved. */
-
- 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_CREATEDDB, // Error create a DDB.
- ERR_STRETCHBLT, // StretchBlt() returned failure.
- ERR_STRETCHDIBITS, // StretchDIBits() returned failure.
- 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_SETDIBITS, // Error calling SetDIBits().
- ERR_FILENOTFOUND, // Error opening file in GetDib()
- ERR_INVALIDHANDLE, // Invalid Handle
- ERR_DIBFUNCTION, // Error on call to DIB function
- ERR_MAX // All error #s < this value
- };
-
-
- void DIBError (int ErrNo);
-
-