#include <ole.h> |
OLESTATUS OleQueryOutOfDate(lpObject) | |||||
LPOLEOBJECT lpObject; | /* address of object to query | */ |
The OleQueryOutOfDate function checks whether an object is out-of-date.
lpObject
Points to the object to query.
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
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.