Get the length of a NULL terminated string in bytes excluding the zero terminator and not affected by locale.
This method interprets pStr as single-byte characters even if the string contains multi-byte characters. Therefore, its return value will always be the number of bytes the string occupies.
- Parameters:
-
| pStr | [in] A pointer to the zero terminated string whose length is being requested. |
| cchMax | [in] The size in characters of the string buffer pointed to by pStr. |
| pcSize | [out] The address of a P6R::P6SIZE in which will be placed the legnth of pStr on success. |
- Returns:
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | pStr or pcSize is NULL or cchMax is zero |
P6R::eTooBig | pStr is longer than cchMax characters. |