Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Translates the given code page identifier value to the corresponding entry in a set of code pages.
Syntax
HRESULT CodePageToCodePages(
[in] UINT uCodePage,
[out] DWORD *pdwCodePages
);
Parameters
uCodePage [in]
The source code page that the client wants to translate into a set of code pages.pdwCodePages [out]
A pointer to a set of code pages that contains only uCodePage.
Return value
Returns S_OK if successful, or an error value otherwise.
Remarks
See IMLangCodePages for more information about sets of code pages.
CodePageToCodePages creates a set of code pages that contains only uCodePage. It sets all bits in pdwCodePages to zero, except for the bit that corresponds to uCodePage. This method and the IMLangCodePages::CodePagesToCodePage method provide the ability to translate between sets of code pages and individual code page identifier values that are used by MLang methods and APIs.
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows 2000 Server |
Header |
Mlang.h |
IDL |
Mlang.idl |
DLL |
Mlang.dll |