Partager via


Creating a Notification Sink (Windows CE 5.0)

Send Feedback

To be notified of events by the Pocket IME conversion service, you need to implement the IImeIPointNotifySink interface. The following code sample shows how to create and register an IImeIPointNotifySink object:

Note   To make the following code example easier to read, error checking is not included. This code example should not be used in a release configuration unless it has been modified to include secure error handling.

// Create a notification sink 
pIPSink = new ImeIPointNotifySink;
pIPSink->AddRef();
// And register it with the conversion service
hRes = pIP->Initialize(pIPSink);

See Also

Using the IImeIPoint2 Interface | Accessing the Conversion Service | Processing User Input from the Keyboard | Editing the Composition String | Processing User Input with Alternatives | Converting a Composition String | Creating the Candidate List | Determining the Composition String

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.