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.
HRESULT FreeHandlesToObjects(unsigned int nhandles, ObjectHandleID *pobject_handles);
[in] nhandles | The number of ObjectHandleIDs in the array. |
[in] *pobject_handles | The array of persistent ObjectHandleIDs that should be freed. |
NULL handles are ignored in the object_id array.