Jump to content

UniLocaleStrToToken: Difference between revisions

From EDM2
New entry
 
No edit summary
Line 44: Line 44:
=== OS Version Introduced ===
=== OS Version Introduced ===
OS/2 Warp
OS/2 Warp
[[OS2_API | Back to OS/2 API]]
[[Category:The OS/2 API Project]]

Revision as of 15:17, 1 November 2011

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:

Module

Define (C/C++)

Export name/Ordinal

Calling conversion

Cdecl32

Example Code

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

Related Functions

UniLocaleTokenToStr

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


Back to OS/2 API