IMimeHeaderTable::BindToObject method

Obtains an IMimeAddressTable or IMimePropertySet interface from the current object.

Syntax

HRESULT BindToObject(
  [in]  REFIID riid,
  [out] void   **ppvObject
);

Parameters

riid [in]

Type: REFIID

Specifies the requested interface ID. Valid values for this parameter include: IID_IMimeAddressTable and IID_IMimePropertySet.

ppvObject [out]

Type: void**

Receives the address of a pointer to the specified interface. The client is responsible for releasing this interface.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_NOINTERFACE
Indicates that the interface ID specified by riid is not valid.
E_INVALIDARG
Indicates that ppvObject is NULL.

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
IDL
Mimeole.idl
DLL
Inetcomm.dll (version 6.0 or later)