Microsoft SDK for Java

IRemoteDebugManager::
GetActiveProcesses

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.

Syntax

HRESULT GetActiveProcesses(IJavaEnumRemoteProcess **ppEnum)

Parameters

[out] ppEnum Returns an enumerator for all the running Java processes.

Return Value

S_OK Success.

E_OUTOFMEMORY Insufficient memory.

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