IRemoteToolDevice::ReleaseProcessHandle (Compact 7)
3/12/2014
When called, this method releases a process handle obtained from IRemoteToolDevice::EnumerateProcesses or IRemoteToolDevice::LaunchProcess. This simply delegates to ICcConnection::CloseProcessHandlein the Core Connectivity native API.
Syntax
HRESULT ReleaseProcessHandle ([in] DWORD in_ProcessHandle)
Parameters
- in_ProcessHandle
The handle of the process to release.
Return Value
ERROR_INVALID_DATA if there is no active connection created by calling IRemoteToolServer::ConnectToDevice.
ERROR_INVALID_PARAMETER if the handle is not valid.
S_OK if success.
Other error codes may be returned from ICcConnection::CloseProcessHandle.
See Also
Reference
IRemoteToolDevice
IRemoteToolServer::ConnectToDevice
ICcConnection::CloseProcessHandle