OleQueryOutOfDate

  OLESTATUS OleQueryOutOfDate(lpObject)    
  LPOLEOBJECT lpObject; /* pointer to object to query */

The OleQueryOutOfDate function determines whether an object is out-of-date.

Parameters

lpObject

Points to the object to query.

Return Value

The return value is OLE_OK if the object is up-to-date. Otherwise, it is an error value, which can be OLE_ERROR_OUTOFDATE or OLE_ERROR_OBJECT.

Comments

An linked object could be out-of-date if the document that is the source for the link has been updated. An embedded object that contains links to other objects could also be out-of-date.

See Also

OleEqual, OleUpdate