OleQueryOutOfDate

3.1

  #include <ole.h>    

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

The OleQueryOutOfDate function checks 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 may be one of the following:

OLE_ERROR_OBJECT OLE_ERROR_OUTOFDATE

Comments

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

A linked object might 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 might also be out-of-date.

See Also

OleEqual, OleUpdate