OleUpdate

3.1

  #include <ole.h>    

  OLESTATUS OleUpdate(lpObject)    
  LPOLEOBJECT lpObject; /* address of object */

The OleUpdate function updates the specified object. This function updates the presentation of the object and ensures that the object is up-to-date with respect to any linked objects it contains.

Parameters

lpObject

Points to the object to be updated.

Return Value

The return value is OLE_OK if the function is successful. Otherwise, it is an error value, which may be one of the following:

OLE_BUSY
OLE_ERROR_OBJECT
OLE_ERROR_STATIC
OLE_WAIT_FOR_RELEASE

See Also

OleQueryOutOfDate