FaxMan SDK Version 4.7
FaxGetErrorStringBuf

PSTR FaxGetErrorStringBuf(PAPPINFO pApp, LPSTR buf, int * BufLen )

 

 Copies a string describing the most recent error into the specified buffer.

 

Parameter

Type/Description

pApp

PAPPINFO Returned from FaxRegisterApp

buf

Pointer to the buffer to contain the string data.

BufLen

Point to an int which contains the size of the buffer pointed to by buf.

 

Return Value

Returns FAX_OK on success, otherwise FAX_ERR_BUFTOOSMALL or FAX_ERR_BADAPPINFO if the pApp pointer is invalid.

 

Comments

If the length of the buffer is too small the function will return FAX_ERR_BUFTOOSMALL (-9) and set the BufLen value to the required buffer size.

 

To determine the size of the required buffer call this function and set the BufLen  to zero prior to calling the function. On return BufLen will be set to the required length.

 

 


© 2013 Data Techniques, Inc. All Rights Reserved.

Send comments on this topic.