IRemoteToolDevice::LaunchProcess (Compact 2013)
3/26/2014
When called, this method launches a process on the device. This simply delegates to ICcConnection::LaunchProcess in the Core Connectivity native API.
Syntax
HRESULT LaunchProcess([in] BSTR bstrExecutableName, [in] BSTR bstrArguments, [out] DWORD* dwProcessID, [out] DWORD* dwProcessHandle)
Parameters
- bstrExecutableName
The full path to the executable to run on the device.
- bstrArguments
Arguments for the executable.
- dwProcessID
The process ID of the launched process.
- dsProcessHandle
The process handle of the launched process.
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::LaunchProcess.
See Also
Reference
IRemoteToolDevice
IRemoteToolServer::ConnectToDevice
ICcConnection::LaunchProcess