IRemoteToolDevice::EnumerateProcesses (Compact 2013)
3/26/2014
Enumerates the processes running on a device. This simply delegates to ICcConnection::EnumerateProcess in the Core Connectivity native API.
Syntax
HRESULT EnumerateProcesses([out] SAFEARRAY(BSTR)* out_Processes, [out] SAFEARRAY(DWORD)* out_ProcessesId)
Parameters
- out_Processes
An array of process names currently running on the device.
- out_ProcessesId
An array of process IDs for processes currently running on the device. Each element in this array has a corresponding process name in out_Process, with a matching index.
Return Value
ERROR_INVALID_DATA if there is no active connection created by calling IRemoteToolServer::ConnectToDevice.
S_OK if success.
Other error codes may be returned from ICcConnection::EnumerateProcess.
See Also
Reference
IRemoteToolDevice
IRemoteToolServer::ConnectToDevice
ICcConnection::EnumerateProcess