IMLangCodePages::CodePageToCodePages (Windows Embedded CE 6.0)
1/6/2010
This method translates the given code page identifier value into the corresponding entry in a set of code pages.
Syntax
HRESULT CodePageToCodePages(
UINT uCodePage,
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 Value
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
Header | mlang.h, mlang.idl |
Library | mlang.dll |
Windows Embedded CE | Windows CE .NET 4.0 and later |