Partager via


MAKELCID

This macro creates a locale identifier from a language identifier.

DWORD MAKELCID( 
WORD wLanguageID 
WORD wSortID );

Parameters

  • wLanguageID
    Specifies the language identifier. This parameter is a combination of a primary language identifier and a secondary language identifier and is usually created by using the MAKELANGID macro.
  • wSortID
    Specifies the sort identifier. The following sort identifiers are defined:
    Value Description
    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.

Return Values

The return value is a locale identifier.

Remarks

The MAKELCID macro is defined as follows:

#define MAKELCID(lgid, srtid)  \ 
    ((DWORD)((((DWORD)((WORD  )(srtid))) << 16) |  \ 
            ((DWORD)((WORD  )(lgid)))))

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Winnt.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

MAKELANGID

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.