Skip to content

Latest commit

 

History

History
111 lines (76 loc) · 4.14 KB

nf-rtscom-istylusplugin-datainterest.md

File metadata and controls

111 lines (76 loc) · 4.14 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:rtscom.IStylusPlugin.DataInterest
IStylusPlugin::DataInterest (rtscom.h)
Retrieves the events for which the plug-in is to receive notifications.
7ff6ccf2-292c-4321-be2a-d6db7ce14943
DataInterest
DataInterest method [Tablet PC]
DataInterest method [Tablet PC]
IStylusPlugin interface
IStylusPlugin interface [Tablet PC]
DataInterest method
IStylusPlugin.DataInterest
IStylusPlugin::DataInterest
rtscom/IStylusPlugin::DataInterest
tablet.istylusplugin_datainterest
tablet\istylusplugin_datainterest.htm
tablet
7ff6ccf2-292c-4321-be2a-d6db7ce14943
12/05/2018
7ff6ccf2-292c-4321-be2a-d6db7ce14943, DataInterest, DataInterest method [Tablet PC], DataInterest method [Tablet PC],IStylusPlugin interface, IStylusPlugin interface [Tablet PC],DataInterest method, IStylusPlugin.DataInterest, IStylusPlugin::DataInterest, rtscom/IStylusPlugin::DataInterest, tablet.istylusplugin_datainterest
rtscom.h
Windows
Windows XP Tablet PC Edition [desktop apps only]
None supported
RTSCom.dll
Windows
19H1
IStylusPlugin::DataInterest
rtscom/IStylusPlugin::DataInterest
c++
APIRef
kbSyntax
COM
RTSCom.dll
IStylusPlugin.DataInterest

IStylusPlugin::DataInterest

-description

Retrieves the events for which the plug-in is to receive notifications.

-parameters

-param pDataInterest [out, retval]

The bitmask indicating the events for which the plug-in is to receive notifications.

-returns

For a description of the return values, see RealTimeStylus Classes and Interfaces.

-remarks

The default is RTSDI_None.

The RealTimeStylusDataInterest Enumeration enumeration bitmask is retrieved every time a plug-in is enabled or disabled. The DataInterest mask of a plug-in is queried by the RealTimeStylus Class object when the plug-in has been added to the plug-in collections.

Examples

The following C++ example implements a IStylusPlugin::DataInterest Method method that sets up a plug-in to receive IStylusPlugin::StylusDown Method, IStylusPlugin::Packets Method, IStylusPlugin::StylusUp Method, IStylusPlugin::StylusInRange Method and IStylusPlugin::Error Method notifications.

STDMETHODIMP CPacketModifier::DataInterest( 
        /* [retval][out] */ RealTimeStylusDataInterest *pDataInterest)
{
	*pDataInterest = (RealTimeStylusDataInterest)(RTSDI_StylusDown | RTSDI_Packets | 
												  RTSDI_StylusUp | RTSDI_StylusInRange | 
												  RTSDI_Error);
	return S_OK;
}

-see-also

DynamicRenderer Class

IRealTimeStylus::SetDesiredPacketDescription Method

IStylusAsyncPlugin

IStylusPlugin Interface

IStylusSyncPlugin

RealTimeStylusDataInterest Enumeration