Index   Commented   Search   About

Overview
Group
Quick Info

Windows NT
Yes
Win95
Yes
Win32s
Yes
Import Library

Header File
winnt.h
Unicode
No
Platform Notes
None

SORTIDFROMLCID

The SORTIDFROMLCID macro retrieves a sort identifier from a locale identifier.

WORD SORTIDFROMLCID(

LCID lcid
// locale identifier
);

Parameters

lcid

Specifies the locale identifier. This parameter may have been created by using the MAKELCID macro.

Return Values

The return value is a sort identifier.

Remarks

The SORTIDFROMLCID macro is defined as follows:

#define SORTIDFROMLCID(lcid) \

((WORD )((((DWORD)(lcid)) & NLS_VALID_LOCALE_MASK) >> 16))

The following sort identifiers are defined:

Value
Meaning
SORT_DEFAULT
Specifies the default sort.
SORT_JAPANESE_XJIS
Specifies Japanese XJIS order.
SORT_JAPANESE_UNICODE
Specifies Japanese Unicode order.
SORT_CHINESE_BIG5
Specifies Chinese BIG5 order.
SORT_CHINESE_UNICODE
Specifies Chinese Unicode order.
SORT_KOREAN_KSC
Specifies Korean KSC order.
SORT_KOREAN_UNICODE
Specifies Korean Unicode order.

See Also

MAKELANGID
, MAKELCID, PRIMARYLANGID, SUBLANGID

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun