IOleLink::GetBoundSource  JY0COC

Returns an IUnknown1NEM0LU pointer to the link source if the connection is currently active.

HRESULT GetBoundSource(

    IUnknown **ppunk

//Indirect pointer to location of the link source

   );

 

 

Parameter

ppunk

[out] When successful, indirect pointer to the location of the IUnknown1NEM0LU interface on the link source. In this case, the implementation must call IUnknown::AddRef1SHW0SS on the parameter; it is the caller s responsibility to call IUnknown::ReleaseDUW01A. If an error occurs, the implementation sets ppunk to NULL.

 

Return Values

This method supports the standard return value E_FAIL, as well as the following:

S_OK

A pointer was returned successfully.

 

Remarks

You typically do not need to call IOleLink::GetBoundSource.