OleUIUpdateLinks  4KRUFS

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

 

See Also

IOleUILinkContainer::GetLinkUpdateOptions, IOleUILinkContainer::UpdateLink