Compartir a través de


Service Callback Service (Windows CE 5.0)

Send Feedback

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

Registering a Connectivity Callback Service | Using the Service Callback Interface

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.