The GetActiveProcesses method of the IRemoteDebugManager interface obtains an IJavaEnumRemoteProcess interface that can be used to enumerate all the running Java processes.
Note If you are logged on to Microsoft® Windows NT® under the system account, GetActiveProcesses may not enumerate all debuggable Java service processes. This is a DCOM security configuration issue, and is addressed in Enumerating Debuggable Service Processes.
HRESULT GetActiveProcesses(IJavaEnumRemoteProcess **ppEnum)
[out] ppEnum | Returns an enumerator for all the running Java processes. |
S_OK Success.
E_OUTOFMEMORY Insufficient memory.