MimeOleCreateWebDocument function

Do not use. On success, creates and initializes a new Web document.

Syntax

HRESULT MimeOleCreateWebDocument(
  _In_  LPCSTR           pszBase,
  _In_  LPCSTR           pszURL,
  _Out_ IMimeWebDocument **ppDocument
);

Parameters

pszBase [in]

Type: LPCSTR

Specifies pointer to a null-terminated string containing the name of the base file.

pszURL [in]

Type: LPCSTR

Specifies pointer to a null-terminated string containing the URL.

ppDocument [out]

Type: IMimeWebDocument**

Receives the address of a pointer to a new IMimeWebDocument object.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_OUTOFMEMORY
Indicates attempt to allocate memory failed.
E_INVALIDARG
Indicates an incoming pointer parameter was NULL.

Remarks

Note

Caller of function is responsible for freeing IMimeWebDocument object.

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)