LoadPNGIntoDIB

#include "BIPNG.H"

 

HDIB CALLBACK LoadPNGIntoDIB (LPTSTR lpszName, LPINT lpnError)

Description

Loads a PNG file into a Device Independent Bitmap.

Parameters

LPTSTR

lpszName

PNG file name.

LPINT

lpiError

Pointer to 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

Return handle of DIB or NULL if any error and the error code is set 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.