Share via


ICcConnection

Other versions of this page are also available for the following:

Windows Mobile SupportedWindows Embedded CE Supported

8/27/2008

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

In Windows Embedded CE 6.0, this interface is deprecated.

Methods

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

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::RegistyDeleteKey

Deletes a registry key.

ICcConnection::RegistyDeleteValue

Deletes a registry key value.

ICcConnection::RegistyQueryValue

Queries for a registry value.

ICcConnection::RegistySetValue

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

Header ccconnection.h

See Also

Reference

Core Connectivity Interfaces