MimeOleGetCodePageCharset function
Do no use. Finds a character set for the specified code page.
Syntax
HRESULT MimeOleGetCodePageCharset(
_In_ CODEPAGEID cpiCodePage,
_In_ CHARSETTYPE ctCsetType,
_Out_ LPHCHARSET phCharset
);
Parameters
-
cpiCodePage [in]
-
Type: CODEPAGEID
Specifies the code page ID. For more information, see CODEPAGEID.
-
ctCsetType [in]
-
Type: CHARSETTYPE
Specifies a value from CHARSETTYPE that indicates the type of character set.
-
phCharset [out]
-
Type: LPHCHARSET
Receives the handle of the character set.
Return value
Type: HRESULT
Returns one of the following values.
Return code | Description |
---|---|
|
Indicates success. |
|
Indicates that phCharset is NULL. |
|
Indicates that an attempt to allocate memory failed. |
|
Indicates that there is no default character set. |
|
Indicates that cpiCodePage is invalid or cannot be found. |
|
Indicates that no data is associated with the character set. |
|
Indicates that ctCsetType is invalid. |
Remarks
There are three different character set types for every code page, each type having a different purpose. CHARSETTYPE enumerates these character set types.
Requirements
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Product |
Outlook Express 6.0 |
Header |
|
Library |
|
DLL |
|