The GetEventMask method of the IJavaEventMonitorIDInfo interface retrieves the current event categories for which it is to receive notification from the Microsoft VM. This method allows a profiler to dynamically retrieve and set the bitmask for event type categories for which the Microsoft VM will send event notifications.
HRESULT GetEventMask(DWORD *pevents);
A bitmask of flags.
[out] *pevents | A bitmask of flags from JAVA_EVENT_CATEGORY indicating the events for which the profiler is to receive notification. |
Profilers or event monitors can receive notification for any combination of the event categories as defined in the JAVA_EVENT_CATEGORY enumeration.