IOleUILinkContainer::GetLinkUpdateOptions method
Determines the current update options for a link.
Syntax
HRESULT GetLinkUpdateOptions(
[in] DWORD dwLink,
[out] DWORD *lpdwUpdateOpt
);
Parameters
- dwLink [in]
-
Container-defined unique identifier for a single link. See IOleUILinkContainer::GetNextLink.
- lpdwUpdateOpt [out]
-
A pointer to the location that the current update options will be written.
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 Implementers
Containers can implement this method for OLE links simply by calling IOleLink::SetUpdateOptions on the link object.
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
- IOleUILinkContainer
- IOleUILinkContainer::GetNextLink
- IOleUILinkContainer::SetLinkUpdateOptions
- IOleLink::SetUpdateOptions