次の方法で共有


ICcTransport (Compact 2013)

3/26/2014

Deprecated.

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

Deprecated.

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

Deprecated.

Retrieves the type information for an object.

IDispatch::GetTypeInfoCount

Deprecated.

Retrieves the number of type information interfaces provided by an object, either zero (0) or 1.

IDispatch::Invoke

Deprecated.

Provides access to properties and methods exposed by an object.

The following table shows methods for the ICcTransport interface.

Method

Description

ICcTransport::Bandwidth

Deprecated.

Returns the transport maximum bandwidth.

ICcTransport::CreateStream

Deprecated.

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

ICcTransport::MTU

Deprecated.

Gets the maximum packet size for transmission.

ICcTransport::SupportsNonUniqueStreamId

Deprecated.

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

Deprecated.

Gets the service category ID.

ICcService::CLSID

Deprecated.

Gets the service CLSID.

ICcService::Connect

Deprecated.

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

ICcService::Device

Deprecated.

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

ICcService::Disconnect

Deprecated.

Disconnects the service.

ICcService::GetCurrentState

Deprecated.

Returns the program state of the service.

ICcService::Initialize

Deprecated.

Initializes the service.

ICcService::LockService

Deprecated.

Increments the lock count of the service.

ICcService::UnlockService

Deprecated.

Decrements the lock count for the service.

Requirements

Header

cctransport.idl

See Also

Reference

Core Connectivity Interfaces