|
IOleUILinkContainer::SetLinkUpdateOptions
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
dwLink
A container-defined unique 32-bit identifier for a single link. See IOleUILinkContainer::GetNextLink.
dwUpdateOpt
Specifies the update options, which can be Automatic (OLEUPDATE_ALWAYS) or
Manual (OLEUPDATE_ONCALL).
Return Values
S_OK
Successfully set the links update options.
E_FAIL
Unable to set the links update options.
E_INVALIDARG
One or more invalid arguments.
E_OUTOFMEMORY
Insufficient memory.
E_ACCESSDENIED
Insufficient access permissions.
Comments
The user selects update options from the Links dialog.
Notes To Implementors
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
Related LinksSoftware for Delphi and C++ Builder developers Software for Visual Studio .NET developers Software for Visual Basic 6 developers Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps Win32 Programmer's Reference (win32.hlp) Win32 Multimedia Programmer's Reference (mmedia.hlp) Microsoft Windows Pen API Programmer's Reference (penapi.hlp) Microsoft Windows Sockets 2 Reference (sock2.hlp) Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp) Unix Manual Pages
|