Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6II18n::wcstoul ( const P6WCHAR pSrc,
P6WCHAR **  pEndptr,
P6INT32  base,
P6UINT32 pResult 
)
pure virtual

Convert a wide-character string to a unsigned long.

This function converts the initial portion of the character string pointed to by pSrc to a long integer (also see description of wcstol()). If the subject sequence is empty or does not have the expected form, no conversion is performed. The value of pSrc is stored in the pointer pEndptr provided that pEndptr is not NULL.

Parameters
pSrc[ in ] Pointer to the wide character string to convert.
pEndptr[ out ] If not NULL, points to the final character string (see above).
base[ in ] See description of wcstol().
pResult[ out ] The resulting value.
Returns
SuccessP6R::eOk 
FailureP6R::eFailUnable to perform the conversion.
P6R::eNotInitializedA successful call to initialize was not made before this call.