LoadNonRGBPCXIntoDIB

#include "BIPCX.H"

 

HDIB CALLBACK LoadNonRGBPCXIntoDIB (LPTSTR lpszFileName, int far *lpiError)

Description

Loads a non rgb PCX file into a Device Independent Bitmap.

Parameters

LPTSTR

lpszFileName

PCX file name.

int far

*lpiError

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

Return handle of DIB or NULL if any error and the error code is set in lpnError.

Programming notes

This function loads the non rgb PCX file into DIB. Color space formats flags are declared in BiPCX.h. Available color space flags: PCX_YUV, PCX_YIQ, PCX_HSI, PCX_HSV, PCX_LAB, PCX_XYZ, PCX_CMY, PCX_RGB. The color space flag is stored in the header of the PCX image.

Requirements

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

Library :    Use BiPCX.lib.

DLLs :       BiPCX.dll.

Code example

None at present.