9.5.8 OleReconnect

OLESTATUS OleReconnect(lpObject)

LPOLEOBJECT lpObject;

The OleReconnect function reestablishes a link to an open linked object. If the specified object is not open, this function does not open it.

Parameter Description

lpObject Points to the object to reconnect to.

A client application can use the OleReconnect function to keep the presentation for a linked object up-to-date. The return value is OLE_OK if successful; otherwise, it could be one of the following:

OLE_BUSY OLE_ERROR_OBJECT

OLE_ERROR_NOT_LINK OLE_WAIT_FOR_RELEASE

See AlsoOleActivate, OleClose, OleQueryOpen