IOleUILinkContainer::OpenLinkSource

Opens the link’s source.

HRESULT OpenLinkSource(

DWORD dwLink

//Unique 32-bit link identifier

);

Parameter

dwLink
[in] Container-defined unique 32-bit identifier for a single link. Containers can use the pointer to the link's container site for this value.

Return Values

This method supports the standard return values E_FAIL, E_INVALIDARG, and E_OUTOFMEMORY, as well as the following:

S_OK
Successfully opened the link’s source.
E_ACCESSDENIED
Insufficient access permissions.

Remarks

Notes To Callers

The OpenLinkSource method is called when the Open Source button is selected from the Links dialog box. For OLE links, call IOleObject::DoVerb, specifying OLEIVERB_SHOW for iVerb.

See Also

IOleObject::DoVerb, OLEVERB