IPMConnection:IDispatch (Windows CE 5.0)

Send Feedback

This interface provides the ability to access and change a specified connection object. The connection object is created by the IPMRemoteDevice::Attach method. An existing connection may be obtained by the IPMRemoteDevice::GetConnection method or the IPMPlatformManager::GetConnection method.

The following code sample shows one technique for accessing a connection object from an Automation client.

Dim tConnection as Object
Set tConnection = tRemoteDevice.GetConnection( <params> )

The following table shows this interface's methods.

Method Description
IPMConnection::Id Obtains the GUID associated with the connection object.
IPMConnection::PlatformId Obtains the GUID of the platform with which the connection object is associated.
IPMConnection::LocaleId Obtains the GUID of the locale with which the connection object is associated.
IPMConnection::FileCopy Copies a file to a specified location on a device.
IPMConnection::GetFile Obtains a specified file from a device.
IPMConnection::FileGetInfo Obtains the attributes of a file.
IPMConnection::FileDelete Deletes a specified file on the target device.
IPMConnection::QueueFile Queues a file to be copied to a specified location.
IPMConnection::CopyQueuedFiles Copies files in the queue.
IPMConnection::CopyPackage Copies a package to a specified location.
IPMConnection::QueuePackage Queues a package to be copied to a specified location.
IPMConnection::GetQueueCount Enumerates the number of items that are currently in the queue.
IPMConnection::ResetQueue Resets the queue.
IPMConnection::CreateStream Creates a connection stream.
IPMConnection::CloseAllStreams Closes all open streams.
IPMConnection::Launch Launches an application on the target device.
IPMConnection::SystemGetInfo Obtains system information about the remote device with which the current connection is established.
IPMConnection::GetSystemInfo Obtains pointers to the CPU and OS objects associated with a connection.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Connection.h, Cemgr.idl.

See Also

Platform Manager API | IPMPlatformManager::GetConnection | IPMRemoteDevice::Attach | IPMRemoteDevice::GetConnection

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.