Converts a boolean wide string representation to a P6R::P6BOOL.
For example, the string 'true', 'yes' and on will be converted to P6TRUE. Note that only the first character is tested and the comparison is case insensative. Valid boolean strings are:
- yes / no
- true / false
- 1 / 0
- Parameters
-
pBoolStr | [ in ] A pointer to the NULL terminated wide string to convert. |
pBool | [ out ] The address of a P6R::P6BOOL in which will be placed the conversion value. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | pBoolStr or pBool is NULL |
P6R::eFormatError | pBoolStr did not contain a boolean string.*pBool is set to P6FALSE |