This method converts the wide string pointed to by pString into a P6R::P6INT32.
The method will skip leading whitespace and stop processing at the first non-digit character it finds in the string (including NULL).
- Parameters:
-
| pString | [in] A pointer to the wide string to be converted. |
| cchMax | [in] The maximum number of charaters to scan. For example, if the string is contained in a 16 byte buffer, this should be 16 to prevent scanning past the end of the buffer if the string is malformed (not NULL terminated). |
| pRetLong | [out] The address of a P6R::P6INT32 in which to place the converted result. |
- Returns:
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | pString or pRetLong is NULL, or ccMax is zero |
P6R::eTooBig | cchMax characters was reached in the conversion. The conversion was aborted. |