OleUIUpdateLinks

Updates all links in the link container and displays a dialog box that shows the progress of the updating process. The process is stopped if the user presses the Stop button or when all links are processed.

BOOL OleUIUpdateLink(
  LPOLEUILINKCONTAINER lpOleUILinkCntr,
                    //Pointer to the link container
  HWND hwndParent,  //Dialog box's parent window
  LPTSTR lpszTitle, //pointer to the dialog box title
  int cLinks        //Number of links
);
 

Parameters

lpOleUILinkCntr
[in] Pointer to the IOleUILinkContainer interface on the link container.
hwndParent
[in] Parent window of the dialog box.
lpszTitle
[in] Pointer to the title of the dialog box.
cLinks
[in] Total number of links.

Return Values

TRUE
The links were successfully updated.
FALSE
Unable to update the links.

QuickInfo

  Windows NT: Use version 3.1 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in oledlg.h.
  Import Library: Included as a resource in oledlg.dll.

See Also

IOleUILinkContainer::GetLinkUpdateOptions, IOleUILinkContainer::UpdateLink