Microsoft SDK for Java

isEqualUnknown

This method of the ComLib class compares the COM identity of two Java objects. If the two objects have equal IUnknown* pointers, they have the same COM identity.

Syntax

public static native boolean isEqualUnknown(Object o1, Object o2);

Return Value

Returns true if the two objects have the same COM identity; otherwise, returns false.

Parameters

o1 The first object to be compared.
o2 The second object to be compared.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.