Jump to content

UniLocaleStrToToken: Difference between revisions

From EDM2
Ak120 (talk | contribs)
Line 18: Line 18:
* [[OS2 API:Unicode:error#ULS_UNSUPPORTED|ULS_UNSUPPORTED]]
* [[OS2 API:Unicode:error#ULS_UNSUPPORTED|ULS_UNSUPPORTED]]


=== Calling conversion ===
=== Calling Convention ===
[[Cdecl32]]
[[Cdecl32]]



Revision as of 19:21, 18 January 2017

UniStrToToken

UniStrToToken(localeStrType, localeStr, result)
Converts a locale specific string to a token.

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:

Returns

An integer with values of:

Calling Convention

Cdecl32

Example Code

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

Related Functions

Notes

This function allocates the memory for the locale token. If no locale token exists for the given locale string, the result is undefined for the locale token.

OS Version Introduced

OS/2 Warp