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.

QuickInfo

  Windows NT: Use version 3.1 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in oledlg.h.

See Also

IOleObject::DoVerb, OLEVERB