IOleLink::GetBoundSource

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

HRESULT GetBoundSource(

IUnknown **ppunk
//Receives pointer to link source
);

Parameter

ppunk

[out] Receives an IUnknown pointer to the link source. If an error occurs, the implementation sets *ppunk to NULL. If *ppunk is non-NULL, the implementation must call IUnknown::AddRef on the parameter; it is the caller's responsibility to call IUnknown::Release.

Return Values

S_OK

Indicates that a pointer was returned successfully.

E_FAIL

Indicates that the link source is not bound.

Comments

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

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples