Sets a link’s update options to Automatic (OLEUPDATE_ALWAYS) or Manual (OLEUPDATE_ONCALL).
HRESULT SetLinkUpdate(
DWORD dwLink, |
//Unique 32-bit link identifier |
DWORD dwUpdateOpt |
//Update options |
); |
Parameters
Return Values
E_INVALIDARG, and E_OUTOFMEMORY, as well as the following:
Remarks
The user selects update options from the Links dialog box.
Containers can implement this method for OLE links by simply calling IOleLink::SetUpdateOptions on the link object.
See Also
IOleUILinkContainer::GetNextLink, IOleUILinkContainer::GetLinkUpdateOptions, IOleLink::SetUpdateOptions