Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
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 uCodePageparameter.
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 uCodePageparameter. The method sets all bits in the pdwCodePagesparameter to zero except for the bit that corresponds to the uCodePageparameter. This method, in conjunction with the IMLangCodePages::CodePagesToCodePagemethod, 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 |
Windows Mobile | Windows Mobile Version 5.0 and later |