IMFObjectReferenceStream::SaveReference method

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

Syntax


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

Parameters

riid [in]

Interface identifier of the interface to marshal.

pUnk [in]

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 codeDescription
S_OK

The method succeeded.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfidl.h

Library

Mfuuid.lib

See also

IMFObjectReferenceStream

 

 

Show: