ICcService (Windows Embedded CE 6.0)

1/5/2010

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

Header ccservice.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Core Connectivity Interfaces