OLESTATUS OleEqual(lpObject1, lpObject2)
LPOLEOBJECT lpObject1;
LPOLEOBJECT lpObject2;
The OleEqual function compares two objects for equality.
Parameter | Description |
lpObject1 | Points to the first object to test for equality. |
lpObject2 | Points to the second object to test for equality. |
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.
The return value is OLE_OK if the specified objects are equal; otherwise, it could be one of the following:
OLE_ERROR_OBJECT
OLE_ERROR_NOT_EQUAL
See AlsoOleClone, OleQueryOutOfDate