Share via


MimeOleObjectFromMoniker function

Do not use. Creates a new message object and loads its state from the supplied moniker.

Syntax

HRESULT MimeOleObjectFromMoniker(
  _In_  BINDF    bindf,
  _In_  IMoniker *pmkOriginal,
  _In_  IBindCtx *pBindCtx,
  _In_  REFIID   riid,
  _Out_ LPVOID   *ppvObject,
  _Out_ IMoniker **ppmkNew
);

Parameters

bindf [in]

Type: BINDF

Contains the BINDF value that determines how a resource should be bound to a moniker.

pmkOriginal [in]

Type: IMoniker*

Pointer to original IMoniker interface.

pBindCtx [in]

Type: IBindCtx*

Pointer to the IBindCtx interface on the bind context object.

riid [in]

Type: REFIID

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

ppvObject [out]

Type: LPVOID*

Receives address of a pointer to specified interface.

ppmkNew [out]

Type: IMoniker**

Receives address of new IMoniker pointer variable.

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Note

Not applicable to Macintosh.

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)