Microsoft SDK for Java

IJavaEventMonitorIDInfo2::
GetCurrentThread

The GetCurrentThread method of the IJavaEventMonitorIDInfo2 interface retrieves the ThreadID for the currently executing Java thread. This method is called by a profiler.

The GetCurentThread method is implemented only by the IJavaEventMonitorIDInfo2 and IJavaEventMonitorIDInfo3 interfaces.

Syntax

HRESULT GetCurrentThread(ThreadID * pcurrent_thread_id);

Return Value

The ThreadID of the currently executing Java thread.

Parameters

[out] *pcurrent_thread_id The ThreadID of the currently executing Java thread.

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