ICcConnection (Windows CE 5.0)

Send Feedback

This interface provides access to methods for system, file, registry, and process launch-related operations associated with establishing a connection.

Methods

The following tables show the methods for this interface. The interface inherits the methods for the IUnknown and IDispatch interfaces.

The following table shows the methods for the IDispatch interface.

Method Description
IDispatch::GetIDsOfNames Maps a single member name and an optional set of parameter names to a corresponding set of integer dispatch identifiers (DISPIDs).

These identifiers can then be used on subsequent calls to IDispatch::Invoke.

IDispatch::GetTypeInfo Retrieves the type information for an object.
IDispatch::GetTypeInfoCount Retrieves the number of type information interfaces provided by an object, either zero (0) or 1.
IDispatch::Invoke Provides access to properties and methods exposed by an object.

The following table shows methods for the ICcConnection interface.

Method Description
ICcConnection::ConnectDevice Creates a connection to the device.
ICcConnection::CloseProcessHandle Closes the handle on an active process.
ICcConnection::CreateStream Creates a stream based on a stream ID.
ICcConnection::DeleteDirectory Deletes a specified directory.
ICcConnection::DeviceId Gets the device ID associated with the connection.
ICcConnection::DisconnectDevice Disconnects a device.
ICcConnection::DownloadPackage Downloads a specified package object.
ICcConnection::EnumerateProcess Describes active processes.
ICcConnection::GetFileInfo Returns file attributes in a FileInfo structure.
ICcConnection::GetProcessExitCode Returns the process exit code of a specified process.
ICcConnection::GetSystemInfo Returns the SystemInfo structure for a platform from a device.
ICcConnection::IsConnected Determines if the connection is active.
ICcConnection::LaunchProcess Creates a specified process on the device.
ICcConnection::MakeDirectory Creates a specified directory on the device.
ICcConnection::ReceiveFile Copies a file from the device to the desktop.
ICcConnection::RegistryCreateKey Creates a new registry key.
ICcConnection::RegistryDeleteKey Deletes a registry key.
ICcConnection::RegistryDeleteValue Deletes a registry key value.
ICcConnection::RegistryQueryValue Queries for a registry value.
ICcConnection::RegistrySetValue Sets a registry key value.
ICcConnection::RemoveFile Deletes a specified file on the device.
ICcConnection::SearchFileSystem Searches the file system.
ICcConnection::SendFile Copies a file from the desktop to the device.
ICcConnection::SetFileInfo Sets file attributes in a FileInfo structure.
ICcConnection::TerminateProcess Terminates a specified process on the device.
ICcConnection::VerifyFilesInstalled Verifies that files are installed.

Requirements

OS Version: Windows 2000, Windows XP Home, Windows XP Pro, Windows Server 2003, and Windows Server 2003 Service Pack 1.
Header: CcConnection.h.
Link Library: none.

See Also

Core Connectivity Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.