Partager via


ICcService (Windows CE 5.0)

Send Feedback

This interface provides methods to connect, disconnect, and manage Core Connectivity services. In addition, this interface provides support for OEMs to provide a custom Core Connectivity service implementation.

The ICcService interface provides methods and properties that:

  • Initialize a service to a known good state
  • Connect and disconnect a service from a device
  • Support service lifetime functionality through external lock mechanisms

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

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 host and 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

OS Version: Windows CE 5.0 and later.
Header: CcService.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.