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.
HRESULT GetCurrentThread(ThreadID * pcurrent_thread_id);
The ThreadID of the currently executing Java thread.
[out] *pcurrent_thread_id | The ThreadID of the currently executing Java thread. |