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.
HRESULT GetClassFields(ClassID class_id, unsigned int *pnfields, FieldID **pfield_ids);
An array of FieldIDs for the fields in the class.
[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. |