# 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.

See Also

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