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

Compare two wide-character strings upto n characters Returns an integer greater than, equal to or less than 0, if the wide-character string pointed to by pWs1 is greater than, equal to or less than the wide-character string pointed to by pWs2.

The comparsion is done for the first n (non-NULL) wide-characters in the strings.

Parameters
pWs1[ in ] Pointer to string to compare.
pWs2[ in ] Pointer to string to compare.
n[ in ] Number of characters to compare.
pResult[ out ] Pointer to location where the result is written.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgOne of the parameters is NULL.
P6R::eNotInitializedA successful call to initialize was not made before this call.