RealTimeStylus Classes and Interfaces

This section contains information about the interfaces and classes used in the real time stylus.

Note

The real time stylus classes and interfaces are not Automation compliant.

 

In This Section

Class Description
RealTimeStylus Class Implements the IRealTimeStylus interface.
DynamicRenderer Class Implements the IDynamicRenderer Interface interface.
GestureRecognizer Class Implements the IGestureRecognizer Interface interface.
StrokeBuilder Class Implements the IStrokeBuilder Interface interface.

 

Interfaces

Interface Description
IDynamicRenderer Interface Exposes methods enabling you to control the display of stylus data in real time as the data is being handled by the RealTimeStylus Class object.
IGestureRecognizer Interface Exposes methods enabling you to react to events by recognizing stylus gestures and enabling you to add data to the input queue.
IRealTimeStylus Handles the stylus packet data from a digitizer in real time.
IRealTimeStylus2 Extends the IRealTimeStylus interface.
IRealTimeStylus3 Extends the IRealTimeStylus interface.
IRealTimeStylusSynchronization Interface Synchronizes access to the RealTimeStylus Class object.
IStrokeBuilder Interface Exposes methods that enable you to programmatically create strokes.
IStylusPlugin Interface Exposes methods enabling you to receive notifications of events and to perform custom processing based on those events.
IStylusAsyncPlugin Represents an asynchronous plug-in that can be added to the RealTimeStylus Class asynchronous plug-in collection.
IStylusSyncPlugin Represents a synchronous plug-in that can be added to the RealTimeStylus Class synchronous plug-in collection.

 

Return Values

Methods in the COM Library return values of HRESULT. Unless otherwise noted, the meanings of the HRESULT values are described in the following table.

HRESULT value Description
S_OK
Success.
E_POINTER
At least one pointer (for either an input or an output parameter) is invalid.
E_INVALIDARG
Member attempted to pass in an invalid argument.
E_INK_EXCEPTION
Exception occurred.
E_OUTOFMEMORY
System cannot allocate memory to complete the operation.
E_FAIL
Unspecified failure occurred.
E_INVALIDOPERATION
Member attempted to use an invalid operation.
TPC_E_INVALID_MODE
Member attempted to use an invalid mode.
TPC_E_INVALID_CONFIGURATION
Member attempted to use an invalid configuration.
TPC_E_INVALID_PACKET_DESCRIPTION
Member attempted to use an invalid packet description.

 

RealTimeStylus Reference