Retrieves the MIMECPINFO structure corresponding to the specified code page.
Syntax
HRESULT GetCodePageInfo( UINT uiCodePage, LANGID LangId, PMIMECPINFO pCodePageInfo );
Parameters
- uiCodePage
- [in] Unsigned integer value that contains the code page identifier value for which the caller wants to retrieve the information.
- LangId
- [in] LANGID that specifies the language of the code page.
- pCodePageInfo
- [out] Address of a buffer to receive the MIMECPINFO structure containing the information about the code page.
Return Value
Returns S_OK if successful, or E_FAIL if either of the arguments is invalid or if the information is not found for the required code page.