GetTGAErrorString

#include "BITGA.H"

LPSTR CALLBACK GetTGAErrorString (LPSTR szBuffer, UINT wCode)

Description

This function returns the error string in the buffer for the error code. If the pointer to the buffer is NULL, the library will display a Message Box with an error code.

Parameters

LPSTR

szBuffer

Buffer for the error string.

UINT

wCode

Error code.

Return values

Far pointer to the error string.

Requirements

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

Library :    Use BiTGA.lib.

DLLs :       BiTGA.dll.

Code example

None at present.