Public Function MAKELCID (ByVal wLanguageId As Integer, ByVal wSortId As Integer) As Long
MAKELCID = wSortId * &H10000 + wLanguageId
End Function
The MAKELCID macro creates a locale identifier. This identifier is based on two things: the locale's language and its string sort order.
The macro returns the locale identifer that includes the specified language and string sort order.
None.
Const SORT_DEFAULT = &H0
Const SORT_CHINESE_BIG5 = &H0
Const SORT_CHINESE_UNICODE = &H1
Const SORT_JAPANESE_XJIS = &H0
Const SORT_JAPANESE_UNICODE = &H1
Const SORT_KOREAN_KSC = &H0
Const SORT_KOREAN_UNICODE = &H1
Back to the Macro list.
Back to the Reference section.
Last Modified: April 16, 2000
This page is copyright © 2000 Paul Kuliniewicz.
Copyright Information Revised October 29, 2000
Go back to the Windows API Guide home page.
E-mail: vbapi@vbapi.com Send Encrypted E-Mail
This page is at http://www.vbapi.com/ref/m/makelcid.html