Trait windows::Win32::UI::TabletPC::IStylusPlugin_Impl

pub trait IStylusPlugin_Impl: Sized {
Show 17 methods // Required methods fn RealTimeStylusEnabled( &self, pirtssrc: Option<&IRealTimeStylus>, ctcidcount: u32, ptcids: *const u32, ) -> Result<()>; fn RealTimeStylusDisabled( &self, pirtssrc: Option<&IRealTimeStylus>, ctcidcount: u32, ptcids: *const u32, ) -> Result<()>; fn StylusInRange( &self, pirtssrc: Option<&IRealTimeStylus>, tcid: u32, sid: u32, ) -> Result<()>; fn StylusOutOfRange( &self, pirtssrc: Option<&IRealTimeStylus>, tcid: u32, sid: u32, ) -> Result<()>; fn StylusDown( &self, pirtssrc: Option<&IRealTimeStylus>, pstylusinfo: *const StylusInfo, cpropcountperpkt: u32, ppacket: *const i32, ppinoutpkt: *mut *mut i32, ) -> Result<()>; fn StylusUp( &self, pirtssrc: Option<&IRealTimeStylus>, pstylusinfo: *const StylusInfo, cpropcountperpkt: u32, ppacket: *const i32, ppinoutpkt: *mut *mut i32, ) -> Result<()>; fn StylusButtonDown( &self, pirtssrc: Option<&IRealTimeStylus>, sid: u32, pguidstylusbutton: *const GUID, pstyluspos: *mut POINT, ) -> Result<()>; fn StylusButtonUp( &self, pirtssrc: Option<&IRealTimeStylus>, sid: u32, pguidstylusbutton: *const GUID, pstyluspos: *mut POINT, ) -> Result<()>; fn InAirPackets( &self, pirtssrc: Option<&IRealTimeStylus>, pstylusinfo: *const StylusInfo, cpktcount: u32, cpktbufflength: u32, ppackets: *const i32, pcinoutpkts: *mut u32, ppinoutpkts: *mut *mut i32, ) -> Result<()>; fn Packets( &self, pirtssrc: Option<&IRealTimeStylus>, pstylusinfo: *const StylusInfo, cpktcount: u32, cpktbufflength: u32, ppackets: *const i32, pcinoutpkts: *mut u32, ppinoutpkts: *mut *mut i32, ) -> Result<()>; fn CustomStylusDataAdded( &self, pirtssrc: Option<&IRealTimeStylus>, pguidid: *const GUID, cbdata: u32, pbdata: *const u8, ) -> Result<()>; fn SystemEvent( &self, pirtssrc: Option<&IRealTimeStylus>, tcid: u32, sid: u32, event: u16, eventdata: &SYSTEM_EVENT_DATA, ) -> Result<()>; fn TabletAdded( &self, pirtssrc: Option<&IRealTimeStylus>, pitablet: Option<&IInkTablet>, ) -> Result<()>; fn TabletRemoved( &self, pirtssrc: Option<&IRealTimeStylus>, itabletindex: i32, ) -> Result<()>; fn Error( &self, pirtssrc: Option<&IRealTimeStylus>, piplugin: Option<&IStylusPlugin>, datainterest: RealTimeStylusDataInterest, hrerrorcode: HRESULT, lptrkey: *mut isize, ) -> Result<()>; fn UpdateMapping(&self, pirtssrc: Option<&IRealTimeStylus>) -> Result<()>; fn DataInterest(&self) -> Result<RealTimeStylusDataInterest>;
}

Required Methods§

fn RealTimeStylusEnabled( &self, pirtssrc: Option<&IRealTimeStylus>, ctcidcount: u32, ptcids: *const u32, ) -> Result<()>

fn RealTimeStylusDisabled( &self, pirtssrc: Option<&IRealTimeStylus>, ctcidcount: u32, ptcids: *const u32, ) -> Result<()>

fn StylusInRange( &self, pirtssrc: Option<&IRealTimeStylus>, tcid: u32, sid: u32, ) -> Result<()>

fn StylusOutOfRange( &self, pirtssrc: Option<&IRealTimeStylus>, tcid: u32, sid: u32, ) -> Result<()>

fn StylusDown( &self, pirtssrc: Option<&IRealTimeStylus>, pstylusinfo: *const StylusInfo, cpropcountperpkt: u32, ppacket: *const i32, ppinoutpkt: *mut *mut i32, ) -> Result<()>

fn StylusUp( &self, pirtssrc: Option<&IRealTimeStylus>, pstylusinfo: *const StylusInfo, cpropcountperpkt: u32, ppacket: *const i32, ppinoutpkt: *mut *mut i32, ) -> Result<()>

fn StylusButtonDown( &self, pirtssrc: Option<&IRealTimeStylus>, sid: u32, pguidstylusbutton: *const GUID, pstyluspos: *mut POINT, ) -> Result<()>

fn StylusButtonUp( &self, pirtssrc: Option<&IRealTimeStylus>, sid: u32, pguidstylusbutton: *const GUID, pstyluspos: *mut POINT, ) -> Result<()>

fn InAirPackets( &self, pirtssrc: Option<&IRealTimeStylus>, pstylusinfo: *const StylusInfo, cpktcount: u32, cpktbufflength: u32, ppackets: *const i32, pcinoutpkts: *mut u32, ppinoutpkts: *mut *mut i32, ) -> Result<()>

fn Packets( &self, pirtssrc: Option<&IRealTimeStylus>, pstylusinfo: *const StylusInfo, cpktcount: u32, cpktbufflength: u32, ppackets: *const i32, pcinoutpkts: *mut u32, ppinoutpkts: *mut *mut i32, ) -> Result<()>

fn CustomStylusDataAdded( &self, pirtssrc: Option<&IRealTimeStylus>, pguidid: *const GUID, cbdata: u32, pbdata: *const u8, ) -> Result<()>

fn SystemEvent( &self, pirtssrc: Option<&IRealTimeStylus>, tcid: u32, sid: u32, event: u16, eventdata: &SYSTEM_EVENT_DATA, ) -> Result<()>

fn TabletAdded( &self, pirtssrc: Option<&IRealTimeStylus>, pitablet: Option<&IInkTablet>, ) -> Result<()>

fn TabletRemoved( &self, pirtssrc: Option<&IRealTimeStylus>, itabletindex: i32, ) -> Result<()>

fn Error( &self, pirtssrc: Option<&IRealTimeStylus>, piplugin: Option<&IStylusPlugin>, datainterest: RealTimeStylusDataInterest, hrerrorcode: HRESULT, lptrkey: *mut isize, ) -> Result<()>

fn UpdateMapping(&self, pirtssrc: Option<&IRealTimeStylus>) -> Result<()>

fn DataInterest(&self) -> Result<RealTimeStylusDataInterest>

Object Safety§

This trait is not object safe.

Implementors§