SaveDIBInPNGFormat

#include "BIPNG.H"

 

BOOL CALLBACK SaveDIBInPNGFormat( LPTSTR        lpszFileName,
HDIB    hDIB,
LPINT  lpnError)

Description

Saves the Device Independent Bitmap in PNG file.

Parameters

LPTSTR

lpszFileName

PNG file name.

HDIB

hDIB

The device independent bitmap.

LPINT

lpnError

Pointer to the error code.

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 successful. Error code in lpnError.

Programming notes

None.

Requirements

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

Library :    Use BiPNG.lib.

DLLs :       BiPNG.dll.

Code example

None at present.