home *** CD-ROM | disk | FTP | other *** search
- /* dibplaydib.h
- */
-
- #define DISPLAYDIB_NOERROR 0x0000 // success
- #define DISPLAYDIB_NOTSUPPORTED 0x0001 // DISPLAYDIB api not supported
- #define DISPLAYDIB_INVALIDDIB 0x0002 // null or invalid DIB header
- #define DISPLAYDIB_INVALIDFORMAT 0x0003 // invalid DIB format
- #define DISPLAYDIB_INVALIDTASK 0x0004 // DISPLAYDIB must be called from current task
-
- #define DISPLAYDIB_MODE 0x000F // low 4 bits contain display mode
- #define DISPLAYDIB_NOPALETTE 0x0010 // don't set palette
- #define DISPLAYDIB_NOCENTER 0x0020 // don't center image
- #define DISPLAYDIB_NOWAIT 0x0040 // don't wait for a key before leaving
- #define DISPLAYDIB_BEGIN 0x8000
- #define DISPLAYDIB_END 0x4000
-
- #define DISPLAYDIB_MODE_DEFAULT 0x0000
- #define DISPLAYDIB_MODE_320x200x8 0x0001
- #define DISPLAYDIB_MODE_320x400x8 0x0002
- #define DISPLAYDIB_MODE_360x480x8 0x0003
- #define DISPLAYDIB_MODE_320x480x8 0x0004
- #define DISPLAYDIB_MODE_320x240x8 0x0005
-
- WORD FAR PASCAL DisplayDib(LPBITMAPINFOHEADER lpbi, LPSTR lpBits, WORD wFlags);
-