IOleLink::GetBoundSource
Returns an IUnknown 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
IUnknown interface on the link source. In this case, the
implementation must call IUnknown::AddRef on the
parameter; it is the caller’s responsibility to call
IUnknown::Release. 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.