-
Notifications
You must be signed in to change notification settings - Fork 1
/
Bitmap.h
21 lines (20 loc) · 1.45 KB
/
Bitmap.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/****************************************************************************/
/** **/
/** Bitmap.h **/
/** **/
/** Routines to create screen shots in Windows bitmap format **/
/** **/
/** Copyright (C) Marcel de Kogel 1996 **/
/** You are not allowed to distribute this software commercially **/
/** Please, notify me, if you make any changes to this file **/
/****************************************************************************/
/****************************************************************************/
/* Return values: */
/* >=0 - Succes */
/* -1 - File creation error */
/* -2 - Write error */
/****************************************************************************/
int WriteBitmap (char *szFileName, int nBitsPerPixel, int nColoursUsed,
int nWidthImageBuffer,
int nWidthImage, int nHeightImage,
char *pBitmapBits, char *pPalette);