Get length of a wide substring.
wcsspn determines if pWs1 is a substring in pWs2, and if so returns the length of pWs1.
- Parameters
-
pWs1 | [ in ] Pointer to a wide-character string. |
pWs2 | [ in ] Pointer to a wide-character string. |
pResultSize | [ out ] Pointer to where the length of the wide character string pWs1 is written, or zero if no match is found. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | One of the parameters is NULL. |
P6R::eNotInitialized | A successful call to initialize was not made before this call. |