IRemoteToolDevice::DeleteDirectory (Compact 2013)
3/26/2014
Deletes a directory from the device’s file system. This simply delegates to ICcConnection::DeleteDirectory in the Core Connectivity native API.
Syntax
HRESULT DeleteDirectory([in] BSTR bstrDeviceDirectory)
Parameters
- bstrDeviceDirectory
The full path of the directory to delete from the target device.
Return Value
ERROR_PATH_NOT_FOUND if the path indicated by bstrDeviceDirectory does not exist.
ERROR_INVALID_DATA if there is no active connection created by calling IRemoteToolServer::ConnectToDevice.
S_OK if success.
Other error codes might be returned from ICcConnection::DeleteDirectory.
See Also
Reference
IRemoteToolDevice
IRemoteToolServer::ConnectToDevice
ICcConnection::DeleteDirectory