Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6II18n::wcsspn ( const P6WCHAR pWs1,
const P6WCHAR pWs2,
P6UINT32 pResultSize 
)
pure virtual

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
SuccessP6R::eOk 
FailureP6R::eInvalidArgOne of the parameters is NULL.
P6R::eNotInitializedA successful call to initialize was not made before this call.