Share via


ICcTransport

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

Windows Mobile SupportedWindows Embedded CE Supported

8/27/2008

This interface provides methods that implement transport.

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

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 ICcTransport interface.

Method Description

ICcTransport::Bandwidth

Returns the transport maximum bandwidth.

ICcTransport::CreateStream

Creates a stream based on a specified stream ID for the given transport.

ICcTransport::MTU

Gets the maximum packet size for transmission.

ICcTransport::SupportsNonUniqueStreamId

Determines whether the transport supports non-unique stream IDs.

In addition, desktop transports implement the ICcService interface, with the following methods:

Method Description

ICcService::Abort

Aborts a command uniquely identified by a specified cookie.

ICcService::CategoryId

Gets the service category ID.

ICcService::CLSID

Gets the service CLSID.

ICcService::Connect

Establishes a connection for service between the host and the device.

ICcService::Device

Gets the device ID of the device associated with a service.

ICcService::Disconnect

Disconnects the service.

ICcService::GetCurrentState

Returns the program state of the service.

ICcService::Initialize

Initializes the service.

ICcService::LockService

Increments the lock count of the service.

ICcService::UnlockService

Decrements the lock count for the service.

Requirements

Header cctransport.idl
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Core Connectivity Interfaces