Microsoft SDK for Java

IJavaEventMonitorIDInfo::
GetEventMask

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.

Syntax

HRESULT GetEventMask(DWORD *pevents);

Return Value

A bitmask of flags.

Parameters

[out] *pevents A bitmask of flags from JAVA_EVENT_CATEGORY indicating the events for which the profiler is to receive notification.

Remarks

Profilers or event monitors can receive 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.