Share via


ICcService (Compact 2013)

3/26/2014

Deprecated.

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

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

Method

Description

ICcService::Abort

Deprecated.

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

ccservice.h

See Also

Reference

Core Connectivity Interfaces