Поделиться через


ICcServer (Windows Embedded CE 6.0)

1/5/2010

This interface is the primary interface for all high-level methods used to establish connection to the server.

In Windows Embedded CE 6.0, CoreCon HLAPI has been deprecated.

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 the methods of the ICcServer interface.

Method Description

ICcServer::EnumerateConnections

Returns an array of connection IDs that represent current active connections.

ICcServer::GetConnection

Establishes a connection with a target device.

ICcServer::GetConnectionFromId

Returns an active reference to a connection object, given an ID.

ICcServer::GetDatastore

Returns an instance of a datastore object.

ICcServer::Locale

Gets and sets the current locale.

Requirements

Header ccserver.h
Windows Windows 2000, Windows Server 2003, Windows Server 2003 Service Pack 1, Windows XP Home, Windows XP Pro

See Also

Reference

Core Connectivity Interfaces