SaveBitmap

#include "BIDIB.H"

 

BOOL CALLBACK SaveBitmap( LPTSTR          szFile,
HBITMAP      hBitmap,
HPALETTE    hPal)

Description

Save bitmap to the file. The hBitmap is a global handle in CF_DIB format.

Parameters

LPTSTR

szFile

Name of the file to save.

HBITMAP

hBitmap

Handle of the bitmap.

HAPLETTE

hPal

Handle of the palette.

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 if saving was successful, otherwise FALSE.

Requirements

Header :     Declared in BiDIB.h; include BiDIB.h.

Library :    Use BiDIB.lib.

DLLs :       BiDIB.dll.