Microsoft SDK for Java

ownsCleanup

This method of the ComLib Class determines whether Java is responsible for doing cleanup tasks for the COM object.

Syntax

public static boolean ownsCleanup(Object structObj);

Return Value

Returns true if the object is owned by Java; otherwise, returns false.

Parameters

structObj The COM object that is being checked.

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