Microsoft SDK for Java

IJavaEventMonitorIDInfo2::
FreeHandlesToObjects

The FreeHandlesToObjects method of the IJavaEventMonitorIDInfo2 interface is called by a profiler or heap monitoring program to free an array of persistent handles to objects that were previously obtained by calling the GetHandlesToObjects method. The profiler must pass an array of persistent handles to objects that are to be freed.

The FreeHandlesToObjects method is implemented only by the IJavaEventMonitorIDInfo2 and IJavaEventMonitorIDInfo3 interfaces.

Syntax

HRESULT FreeHandlesToObjects(unsigned int nhandles, ObjectHandleID *pobject_handles);

Parameters

[in] nhandles The number of ObjectHandleIDs in the array.
[in] *pobject_handles The array of persistent ObjectHandleIDs that should be freed.

Remarks

NULL handles are ignored in the object_id array.

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