Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
P6API P6CHAR* P6CCALL P6R::p6ErrToStr ( P6ERR  err,
P6CHAR *  pszBuffer,
P6SIZE  cBuffer 
)

Convert a standard P6R::P6ERR into it's ASCII string representation.

Parameters
err[ in ] The error to be converted into it's string representation.
pszBuffer[ out ] A pointer to the P6CHAR buffer in which to place the string.
cBuffer[ in ] The size of pszBuffer in characters.
Returns
SuccessA pointer to the converted stringThis is actually a pointer to the buffer which is passed into this function.
FailureNULLpszBuffer is NULL or cBuffer is zero.
A pointer to a string in the form "Unknown-0x00000000An invalid error value was provided and could not be converted.