UniLocaleStrToToken

Converts a locale specific string to a token.

Syntax
UniStrToToken(localeStrType, localeStr, result) ;

Parameters

 * localeStrType - integer - input : The type of string being given to this function.
 * localeStr - PVOID - input : The locale specific string.
 * result - LocaleToken - output : The result of the conversion to a token.

Constants
Used for the parameter localeStrType:
 * UNI_MBS_STRING_POINTER
 * UNI_UCS_STRING_POINTER

Returns
An integer with values of:
 * ULS_OTHER
 * ULS_SUCCESS
 * ULS_UNSUPPORTED

Calling Convention
Cdecl32

Example Code
integer    localeStrType; PVOID      localeStr; LocaleToken result; integer    rc; ... rc = UniLocaleStrToToken(localeStrType, localeStr, result); ...

Related Functions

 * UniLocaleTokenToStr

OS Version Introduced
OS/2 Warp