|
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:
Success | A pointer to the converted string | This is actually a pointer to the buffer which is passed into this function. |
Failure | NULL | pszBuffer is NULL or cBuffer is zero. |
A pointer to a string in the form "Unknown-0x00000000 | An invalid error value was provided and could not be converted. |
|