home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / CPROG / WBITMAP.ZIP / BMMANIP.H < prev    next >
Text File  |  1991-11-12  |  1KB  |  47 lines

  1. /*
  2. **    $id: ssvcid bmmanip.h 1.1 11/12/91  8:38 am$
  3. **        This file contains the function prototypes for the functions in
  4. **    bmmanip.c.
  5. **
  6. **    (C) 1991    Larry Widing
  7. */
  8. #if    !defined(__BMMANIP_H__)
  9. #define    __BMMANIP_H__    1
  10.  
  11. #if    defined(CDECL)
  12.     #undef    CDECL
  13. #endif
  14.  
  15. #if    !defined(CDECL)
  16.     #if    defined(__cplusplus)
  17.         #define    CDECL    "C"
  18.     #else
  19.         #define    CDECL
  20.     #endif
  21. #endif
  22.  
  23. extern CDECL int DIBitmapColors(BITMAPINFO FAR *bmi);
  24. extern CDECL LPSTR DIBitmapBits(BITMAPINFO FAR *bmi);
  25. extern CDECL BOOL DrawBitmap(HDC hdc, int x, int y, HBITMAP hbm);
  26. extern CDECL BOOL DrawDIBitmap(HDC hdc, int x, int y, HANDLE hbm);
  27. extern CDECL HBITMAP CopyBitmap(HBITMAP hbm);
  28. extern CDECL HANDLE CopyDIBitmap(HANDLE hbm);
  29. extern CDECL HBITMAP DibToBitmap(HANDLE hbm);
  30. extern CDECL HANDLE BitmapToDIB(HBITMAP hbm, int mode);
  31. extern CDECL int DibIsOs2(HANDLE hbm);
  32. extern CDECL int DibIsCompressed(HANDLE hbm);
  33. extern CDECL int DibIsOs2(HANDLE hbm);
  34. extern CDECL int DibIsCompressed(HANDLE hbm);
  35.  
  36. #endif    /* !defined(__BMMANIP_H__) */
  37.  
  38. /*
  39. **    Modification History
  40. **    --------------------
  41. **    $lgb$
  42. ** 10/15/91     Larry Widing   Initial version for Win Tech Journal Article.
  43. ** 11/12/91     Larry Widing   Added prototypes for DibIsOs2() and
  44. **                             DibIsCompressed().
  45. **    $lge$
  46. */
  47.