Microsoft SDK for Java

IJavaEventMonitorIDInfo::
SetEventMask

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.

Syntax

HRESULT SetEventMask(DWORD events);

Parameters

[in] events A bitmask of flags from JAVA_EVENT_CATEGORY indicating which events that the profiler wants to receive notification for.

Remarks

Profilers or event monitors can request notification for any combination of the event categories as defined in the JAVA_EVENT_CATEGORY enumeration.

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