LoadDCXIntoDIB

#include "BIPCX.H"

 

HDIB  CALLBACK LoadDCXIntoDIB( LPTSTR    lpszName,
UINT    nImage,
int far    *lpiError)

Description

Loads the n-th DCX image into a Device Independent Bitmap.

Parameters

LPTSTR

lpszName

DCX file name.

UINT

nImage

The nth image, or page number, for multi page images.  Numbering is zero based, for example:  Page 2 would be referenced as ‘1’.

int far

*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 a handle of the Device Independent Bitmap or NULL if any error. Error code is in lpnError.

Programming notes

Image referencing is zero based. The first image is 0 and second is 1.

Requirements

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

Library :    Use BiPCX.lib.

DLLs :       BiPCX.dll.

Code example

None at present.