Share via


MimeOleParseMhtmlUrl function

Do not use. On success, supplied MHTML URL is parsed into root and body.

Syntax

HRESULT MimeOleParseMhtmlUrl(
  _In_  LPSTR pszUrl,
  _Out_ LPSTR *ppszRootUrl,
  _Out_ LPSTR *ppszBodyUrl
);

Parameters

pszUrl [in]

Type: LPSTR

Specifies supplied URL.

ppszRootUrl [out]

Type: LPSTR*

Returns pointer to root portion.

ppszBodyUrl [out]

Type: LPSTR*

Returns pointer to body portion.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_FAIL
Indicates that pszUrl does not start with "mhtml:".
E_INVALIDARG
Indicates that pszUrl is NULL.
E_OUTOFMEMORY
Indicates that allocation failed.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Product
Outlook Express 6.0
Header
Mimeole.h
Library
Inetcomm.lib
DLL
Inetcomm.dll (version 6.0 or later)