Get length of a complementary wide substring.
wcscspn determines the length of the maximum initial segment of the wide-character string pointed to by pWs1 which consists entirely of wide-character codes NOT from the wide-character string pointed to by pWs2.
- 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 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. |