LoadColorFaxPage

#include "BIDIB.h"

 

HDIB CALLBACK LoadColorFaxPage( LPTSTR    szFileName,
int           nImage,
LPINT    lpnErr)

Description

Load the n-th page into Device Independent Bitmap (DIB) from the ColorFax file.

Parameters

LPTSTR

szFileName

The source file name.

int

nImage

The n-th image. nImage = 0,1,2...

LPINT

lpnErr

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

Return a HANDLE to a DIB on success, NULL on error. The lpnErr will call hold the error code.

Programming notes

None.

Requirements

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

Library :    Use BiDIB.lib.

DLLs :       BiDIB.dll.

Code example

None at present.