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 codeDescription
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

Minimum supported server

Windows Server 2003

Product

Outlook Express 6.0

Header

Mimeole.h

Library

Inetcomm.lib

DLL

Inetcomm.dll (version 6.0 or later)

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2011

Community Additions

ADD
Show: