IMFObjectReferenceStream::LoadReference method (mfidl.h)

Marshals an interface from data stored in the stream.

Syntax

HRESULT LoadReference(
  [in]  REFIID riid,
  [out] void   **ppv
);

Parameters

[in] riid

Interface identifier of the interface to marshal.

[out] ppv

Receives a pointer to the requested interface. The caller must release the 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