IOleUILinkContainer::OpenLinkSource method
Opens the link's source.
Syntax
HRESULT OpenLinkSource(
[in] DWORD dwLink
);
Parameters
- dwLink [in]
-
Container-defined unique identifier for a single link. Containers can use the pointer to the link's container site for this value.
Return value
This method returns S_OK on success. Other possible return values include the following.
| Return code | Description |
|---|---|
|
Insufficient access permissions. |
|
The operation failed. |
|
The specified identifier is invalid. |
|
There is insufficient memory available for this operation. |
Remarks
Notes to Callers
The IOleUILinkContainer::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.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IID |
IID_IOleUILinkContainer is defined as 000004FF-0000-0000-C000-000000000046 |
See also