#include <ole.h> |
OLESTATUS OleEqual(lpObject1, lpObject2) | |||||
LPOLEOBJECT lpObject1; | /* address of first object to compare | */ | |||
LPOLEOBJECT lpObject2; | /* address of 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 may be one of the following:
OLE_ERROR_OBJECT 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.