Microsoft SDK for Java

IJavaEventMonitorIDInfo2::
GetClassFields

The GetClassFields method of the IJavaEventMonitorIDInfo2 interface is called by a profiler to retrieve additional information about a class (the fields in a class). The profiler must pass the ClassID it is interested in.

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

Syntax

HRESULT GetClassFields(ClassID class_id, unsigned int *pnfields, FieldID **pfield_ids);

Return Value

An array of FieldIDs for the fields in the class.

Parameters

[in] class_id The ClassID of the class the profiler is interested in.
[out] *pnfields The number of FieldIDs in the array.
[out] **pfield_ids A pointer to an array of FieldIDs for the class.

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