IOleUILinkContainer::GetLinkUpdateOptions

Determine the current update options for a link.

HRESULT GetNextLink(
  DWORD dwLink,  //Unique 32-bit link identifier
  DWORD FAR * lpdwUpdateOpt
                 //Pointer to address to return update option
);
 

Parameters

dwLink
[in] Container-defined unique 32-bit identifier for a single link. See IOleUILinkContainer::GetNextLink.
lpdwUpdateOpt
[out] Pointer to the location that the current update options will be written.

Return Values

This method supports the standard return values E_FAIL,

E_INVALIDARG, and E_OUTOFMEMORY, as well as the following:

S_OK
Successfully determined update options.
E_ACCESSDENIED
Insufficient access permissions.

Remarks

Notes To Implementers

Containers can implement this method for OLE links simply by calling IOleLink::SetUpdateOptions on the link object.

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

IOleUILinkContainer::GetNextLink, IOleUILinkContainer::SetLinkUpdateOptions, IOleLink::SetUpdateOptions