The SetEventMask method of the IJavaEventMonitorIDInfo interface is called by a profiler to set event categories 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 the send event notifications.
HRESULT SetEventMask(DWORD events);
[in] events | A bitmask of flags from JAVA_EVENT_CATEGORY indicating which events that the profiler wants to receive notification for. |
Profilers or event monitors can request notification for any combination of the event categories as defined in the JAVA_EVENT_CATEGORY enumeration.