IMimeMessage::CreateWebPage method
Creates a moniker that can be used to bind to the HTML representation of the message object.
Syntax
HRESULT CreateWebPage(
[in] IStream *pRootStm,
[in] LPWEBPAGEOPTIONS pOptions,
[in] IMimeMessageCallback *pCallback,
[out] IMoniker **ppMoniker
);
Parameters
-
pRootStm [in]
-
Type: IStream*
Specifies a pointer to an IStream interface that is used as the primary HTML source for the webpage. If this parameter is NULL, choosesimeOLE chooses the correct body to use as the HTML source for the webpage.
-
pOptions [in]
-
Type: LPWEBPAGEOPTIONS
Specifies the WEBPAGEOPTIONS to use to build the webpage.
-
pCallback [in]
-
Type: IMimeMessageCallback*
Specifies a pointer to the IMimeMessageCallback interface to use to build the webpage.
-
ppMoniker [out]
-
Type: IMoniker**
Receives the address of a pointer to a IMoniker interface. The client is responsible for releasing this object.
Return value
Type: HRESULT
Returns one of the following values.
Return code | Description |
---|---|
|
Indicates success. |
|
Indicates that an unknown error has occurred. |
|
Indicates that ppMoniker is NULL or that pOptions is not NULL and pOptions->cbSize does not equal the size of a valid WEBPAGEOPTIONS structure. |
|
Indicates an attempt to allocate memory failed. |
Remarks
The moniker returned from this method can be loaded into another object that supports IPersistMoniker.
Requirements
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Product |
Outlook Express 6.0 |
Header |
|
IDL |
|
DLL |
|