OleUpdate

  OLESTATUS OleUpdate(lpObject)    
  LPOLEOBJECT lpObject; /* pointer to 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 other objects it depends upon.

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 can be one of the following:

OLE_BUSY
OLE_ERROR_OBJECT
OLE_ERROR_STATIC
OLE_WAIT_FOR_RELEASE

See Also

OleQueryOutOfDate