Condividi tramite


FtmBase::UnmarshalInterface Method

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at FtmBase::UnmarshalInterface Method.

Initializes a newly created proxy and returns an interface pointer to that proxy.

Syntax

STDMETHODIMP UnmarshalInterface(  
   __in IStream *pStm,  
   __in REFIID riid,  
   __deref_out void **ppv  
) override;  

Parameters

pStm
Pointer to the stream from which the interface pointer is to be unmarshaled.

riid
Reference to the identifier of the interface to be unmarshaled.

ppv
When this operation completes, the address of a pointer variable that receives the interface pointer requested in riid. If this operation is successful, *ppv contains the requested interface pointer of the interface to be unmarshaled.

Return Value

S_OK if successful; otherwise, E_NOINTERFACE or E_FAIL.

Requirements

Header: ftm.h

Namespace: Microsoft::WRL

See Also

FtmBase Class