Compartilhar via


IMLangCodePages::CodePageToCodePages (Windows CE 5.0)

Send Feedback

This method translates the given code page identifier value into the corresponding entry in a set of code pages.

HRESULTCodePageToCodePages(UINTuCodePage,DWORD* pdwCodePages);

Parameters

  • uCodePage
    [in] Source code page the client wants translated into a set of code pages.
  • pdwCodePages
    [out] Pointer to a set of code pages that contains only the source code page specified by the uCodePage parameter.

Return Values

Returns S_OK if successful or an error value otherwise.

Remarks

For more information about sets of code pages, see IMLangCodePages.

This method creates a set of code pages that contains only the source code page specified by the uCodePage parameter. The method sets all bits in the pdwCodePages parameter to zero except for the bit that corresponds to the uCodePage parameter. This method, in conjunction with the IMLangCodePages::CodePagesToCodePage method, provides the ability to translate between sets of code pages and the individual code page identifier values that are used by many MLang methods and APIs.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Mlang.h, Mlang.idl.
Link Library: Mlang.dll.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.