9.6.9 OleQueryOutOfDate

OLESTATUS OleQueryOutOfDate(lpObject)

LPOLEOBJECT lpObject;

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

Parameter Description

lpObject Points to the object to query.

The OleQueryOutOfDate function has not been implemented for the current version of object linking and embedding. For linked objects, OleQueryOutOfDate always returns OLE_OK.

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

The return value is OLE_OK if the object is up-to-date; otherwise, it is OLE_ERROR_OBJECT.

See AlsoOleEqual, OleUpdate