P6API P6R::P6CHAR* p6ErrToStr ( P6R::P6ERR  err,
P6R::P6CHAR *  pszBuffer,
P6R::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.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.