#include "BIPCX.H"
BOOL CALLBACK SaveBitmapInPCXFormat( LPTSTR lpszFileName,
HBITMAP hBitmap,
int far *lpiError)
Description
Saves the bitmap in the PCX file lpszFileName. Does all low level calls internally in the DLL. To retrieve the last error, use the GetPCXErrorString(...).
Parameters
|
LPTSTR |
lpszFileName |
Pointer to a null-terminated character string that names the PCX file path to be opened. |
|
HBITMAP |
hBitmap |
Bitmap to be saved. |
|
int far |
*lpiError |
Error code if the return value is FALSE. |
Additional Information
This example shows how to use the dll when loading statically including the header file. Otherwise if the dll is loaded dynamically, for further information read the “About the difference of static and dynamic library loading” section of the manual.
Return values
TRUE on success. On error it is FALSE and lpiError is set.
Programming note
None.
Requirements
Header : Declared in BiPCX.h; include BiPCX.h.
Library : Use BiPCX.lib.
DLLs : BiPCX.dll.
Code example
None at present.