#include "BIPCX.H"
BOOL CALLBACK SaveBitmapInDCXFormat( LPTSTR lpszFileName,
HBITMAP hBitmap,
int far * lpiError)
Description
Append the bitmap to the DCX 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 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 nErrCode is set.
Programming notes
None.
Requirements
Header : Declared in BiPCX.h; include BiPCX.h.
Library : Use BiPCX.lib.
DLLs : BiPCX.dll.
Code example
None at present.