GetPCXErrorString

#include "BIPCX.H"

 

LPSTR CALLBACK GetPCXErrorString( LPSTR   lpErrString,
int far     *lpiError )

Description

Return the error string for the error code.

Parameters

LPSTR

lpErrString

Far pointer to a buffer where to copy the error string.

int far

*lpiError

Error code if return value is FALSE.

Return values

NULL on failure, or a pointer to the buffer on success.

Programming notes

If the lpErrString parameter set to NULL, then GetPCXErrorString() will display  the MessageBox with the error string. The lpErrString should point to a buffer of list 80 bytes in size.

Requirements

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

Library :    Use BiPCX.lib.

DLLs :       BiPCX.dll.

Code example

None.