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 >
Wrap
Text File
|
1991-11-12
|
1KB
|
47 lines
/*
** $id: ssvcid bmmanip.h 1.1 11/12/91 8:38 am$
** This file contains the function prototypes for the functions in
** bmmanip.c.
**
** (C) 1991 Larry Widing
*/
#if !defined(__BMMANIP_H__)
#define __BMMANIP_H__ 1
#if defined(CDECL)
#undef CDECL
#endif
#if !defined(CDECL)
#if defined(__cplusplus)
#define CDECL "C"
#else
#define CDECL
#endif
#endif
extern CDECL int DIBitmapColors(BITMAPINFO FAR *bmi);
extern CDECL LPSTR DIBitmapBits(BITMAPINFO FAR *bmi);
extern CDECL BOOL DrawBitmap(HDC hdc, int x, int y, HBITMAP hbm);
extern CDECL BOOL DrawDIBitmap(HDC hdc, int x, int y, HANDLE hbm);
extern CDECL HBITMAP CopyBitmap(HBITMAP hbm);
extern CDECL HANDLE CopyDIBitmap(HANDLE hbm);
extern CDECL HBITMAP DibToBitmap(HANDLE hbm);
extern CDECL HANDLE BitmapToDIB(HBITMAP hbm, int mode);
extern CDECL int DibIsOs2(HANDLE hbm);
extern CDECL int DibIsCompressed(HANDLE hbm);
extern CDECL int DibIsOs2(HANDLE hbm);
extern CDECL int DibIsCompressed(HANDLE hbm);
#endif /* !defined(__BMMANIP_H__) */
/*
** Modification History
** --------------------
** $lgb$
** 10/15/91 Larry Widing Initial version for Win Tech Journal Article.
** 11/12/91 Larry Widing Added prototypes for DibIsOs2() and
** DibIsCompressed().
** $lge$
*/