Compartilhar via


MAKELCID

Windows Mobile SupportedWindows Embedded CE Supported

9/8/2008

Esta macro cria um identificador localidade de um identificador linguagem.

Syntax

DWORD MAKELCID( 
  WORD wLanguageID, 
  WORD wSortID 
);

Parameters

  • wLanguageID
    Valor que especifica o identificador linguagem. Este parâmetro é uma combinação de um primário identificador linguagem e um secundário identificador linguagem e geralmente é criado usando o MAKELANGID macro.
  • wSortID
    Classificar identificador. A seguinte tabela mostra os identificadores classificar definido.

    Valor Descrição

    SORT_DEFAULT

    Especifica a classificar usar como padrão.

    SORT_JAPANESE_XJIS

    Especifica ordem Japanese XJIS.

    SORT_JAPANESE_UNICODE

    Especifica ordem Japanese Unicode.

    SORT_CHINESE_BIG5

    Especifica ordem Chinese BIG5.

    SORT_CHINESE_UNICODE

    Especifica ordem Chinese Unicode.

    SORT_KOREAN_KSC

    Especifica ordem Korean KSC.

    SORT_KOREAN_UNICODE

    Especifica ordem Korean Unicode.

Return Value

O valor de retorno é um identificador localidade.

Remarks

O MAKELCID macro é definido como a seguir:

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

Para obter mais informações sobre identificadores linguagem e localidades, consulte Os identificadores de idioma e localidades.

Requirements

Header winnt.h
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

MAKELANGID

Concepts

Language Identifiers and Locales