home *** CD-ROM | disk | FTP | other *** search
/ Using Visual Basic 5 (Platinum Edition) / vb5.iso / ACTIVEX / SRDVID / DATA.1 / dib.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-10  |  353 b   |  15 lines

  1. #define __DIB_H__
  2.  
  3. #ifndef __DIBMACRO_H__
  4.     #include "dibmacro.h"
  5. #endif
  6.  
  7. // Errors returned by ReadDib()
  8. #define    DIB_OK            0    // Success
  9. #define DIB_FILEERROR    1    // File read error
  10. #define DIB_UNSUPPORTED    2    // Dib type not supported
  11. #define DIB_OUTOFMEMORY    3    // Out of memory
  12.  
  13. UINT ReadDib( LPCSTR szFile, BITMAPINFO * bm, BYTE ** ppbits );
  14.  
  15.