Service Callback Service (Windows Embedded CE 6.0)

1/5/2010

The connectivity service callback interfaces notify a client application when an event of interest occurs in a service.

If a service needs to send feedback on a pending asynchronous call to a client callback, the service supports the service callback interface, ICcServiceCB. The service callback interface informs a client of any state change, such as when a KITL stream connects, or when a KITL server on a particular target device starts.

The service callback interfaces are provided through IConnectionPoint. To use the callback, a client first implements ICcServiceCB interface on an object and then uses the standard connection point mechanism to call IConnectionPoint::Advise on the service objects.

The connection point determines the specific expected interface. If the interface is available, the connection point mechanism stores the interface pointer and uses that pointer for future calls to the service.

For more information about the connection point mechanism, see IConnectionPoint:IUnknown.

See Also

Tasks

Registering a Connectivity Callback Service

Reference

Other Kernel Services

Concepts

Using the Service Callback Interface