IMFObjectReferenceStream::SaveReference method (mfidl.h)

Stores the data needed to marshal an interface across a process boundary.

Syntax

HRESULT SaveReference(
  [in] REFIID   riid,
  [in] IUnknown *pUnk
);

Parameters

[in] riid

Interface identifier of the interface to marshal.

[in] pUnk

Pointer to the IUnknown interface.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mfidl.h
Library Mfuuid.lib

See also

IMFObjectReferenceStream