OLESTATUS OleEqual(lpObject1, lpObject2) | |||||
LPOLEOBJECT lpObject1; | /* pointer to first object to compare | */ | |||
LPOLEOBJECT lpObject2; | /* pointer to second object to compare | */ |
The OleEqual function compares two objects for equality.
lpObject1
Points to the first object to test for equality.
lpObject2
Points to the second object to test for equality.
The return value is OLE_OK if the specified objects are equal. Otherwise, it is an error value, which can be OLE_ERROR_OBJECT or OLE_ERROR_NOT_EQUAL.
Embedded objects are equal if their class, item and native data are identical. Linked objects are equal if their class, document, and item are identical.
OleClone, OleQueryOutOfDate