MimeOleDecodeHeader function
Do not use. Decodes a message header string.
Syntax
HRESULT MimeOleDecodeHeader(
_In_ HCHARSET hCharset,
_In_ LPCSTR pszData,
_Out_ LPPROPVARIANT pDecoded,
_Inout_ LPRFC1522INFO pRfc1522Info
);
Parameters
-
hCharset [in]
-
Type: HCHARSET
Specifies the handle of the character set to use to decode the header text.
-
pszData [in]
-
Type: LPCSTR
Specifies an LPCSTR that contains the header to decode.
-
pDecoded [out]
-
Type: LPPROPVARIANT
Receives a pointer to the PROPVARIANT structure that contains the decoded header.
-
pRfc1522Info [in, out]
-
Type: LPRFC1522INFO
Receives a pointer to the RFC1522INFO structure that contains RFC 1522 encoding information for the header.
Return value
Type: HRESULT
Returns one of the following values.
Return code | Description |
---|---|
|
Indicates success. |
|
Indicates that hCharset is an invalid handle. |
|
Indicates that hCharset is NULL and that an appropriate character set in which to decode the header cannot be identified. |
|
Indicates that a character set conversion failed or was not performed on the header. |
|
Indicates that an attempt to allocate memory failed. |
|
Indicates that pszData or pDecoded is NULL or that pDecoded->vt is not equal to VT_LPSTR ro VT_LPWSTR. |
Remarks
See DecodeHeader for more information.
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 |
|