Export (0) Print
Expand All
Expand Minimize

MimeOleObjectFromUrl Function

Do not use. Creates a new message object and loads its state from the supplied URL (on success).

Syntax

HRESULT MimeOleObjectFromUrl(
  __in   LPCSTR pszUrl,
  __in   BOOL fCreate,
  __in   REFIID riid,
  __out  LPVOID *ppvObject,
  __out  IUnknown **ppUnkKeepAlive
);

Parameters

pszUrl [in]

Type: LPCSTR

Specifies the base URL.

fCreate [in]

Type: BOOL

Specifies whether a new message object should be created if pszUrl cannot be resolved.

riid [in]

Type: REFIID

Specifies IID of the interface client used to communicate with object that URL identifies.

ppvObject [out]

Type: LPVOID*

Receives address of a pointer to interface specified by riid.

ppUnkKeepAlive [out]

Type: IUnknown**

Receives address of interface pointer that allows ppvObject to control lifetime, not pszUrl.

Return Value

Type: HRESULT

Returns one of the following values.

Return codeDescription
S_OK

Indicates success.

E_OUTOFMEMORY

Indicates that allocation failed.

 

Remarks

Note  Not applicable to Macintosh.

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:
© 2014 Microsoft