Trait windows::Win32::UI::TabletPC::IRealTimeStylus_Impl
pub trait IRealTimeStylus_Impl: Sized {
Show 31 methods
// Required methods
fn Enabled(&self) -> Result<BOOL>;
fn SetEnabled(&self, fenable: BOOL) -> Result<()>;
fn HWND(&self) -> Result<HANDLE_PTR>;
fn SetHWND(&self, hwnd: HANDLE_PTR) -> Result<()>;
fn WindowInputRectangle(&self) -> Result<RECT>;
fn SetWindowInputRectangle(
&self,
prcwndinputrect: *const RECT,
) -> Result<()>;
fn AddStylusSyncPlugin(
&self,
iindex: u32,
piplugin: Option<&IStylusSyncPlugin>,
) -> Result<()>;
fn RemoveStylusSyncPlugin(
&self,
iindex: u32,
ppiplugin: *mut Option<IStylusSyncPlugin>,
) -> Result<()>;
fn RemoveAllStylusSyncPlugins(&self) -> Result<()>;
fn GetStylusSyncPlugin(&self, iindex: u32) -> Result<IStylusSyncPlugin>;
fn GetStylusSyncPluginCount(&self) -> Result<u32>;
fn AddStylusAsyncPlugin(
&self,
iindex: u32,
piplugin: Option<&IStylusAsyncPlugin>,
) -> Result<()>;
fn RemoveStylusAsyncPlugin(
&self,
iindex: u32,
ppiplugin: *mut Option<IStylusAsyncPlugin>,
) -> Result<()>;
fn RemoveAllStylusAsyncPlugins(&self) -> Result<()>;
fn GetStylusAsyncPlugin(&self, iindex: u32) -> Result<IStylusAsyncPlugin>;
fn GetStylusAsyncPluginCount(&self) -> Result<u32>;
fn ChildRealTimeStylusPlugin(&self) -> Result<IRealTimeStylus>;
fn putref_ChildRealTimeStylusPlugin(
&self,
pirts: Option<&IRealTimeStylus>,
) -> Result<()>;
fn AddCustomStylusDataToQueue(
&self,
sq: StylusQueue,
pguidid: *const GUID,
cbdata: u32,
pbdata: *const u8,
) -> Result<()>;
fn ClearStylusQueues(&self) -> Result<()>;
fn SetAllTabletsMode(&self, fusemouseforinput: BOOL) -> Result<()>;
fn SetSingleTabletMode(&self, pitablet: Option<&IInkTablet>) -> Result<()>;
fn GetTablet(&self) -> Result<IInkTablet>;
fn GetTabletContextIdFromTablet(
&self,
pitablet: Option<&IInkTablet>,
) -> Result<u32>;
fn GetTabletFromTabletContextId(&self, tcid: u32) -> Result<IInkTablet>;
fn GetAllTabletContextIds(
&self,
pctcidcount: *mut u32,
pptcids: *mut *mut u32,
) -> Result<()>;
fn GetStyluses(&self) -> Result<IInkCursors>;
fn GetStylusForId(&self, sid: u32) -> Result<IInkCursor>;
fn SetDesiredPacketDescription(
&self,
cproperties: u32,
ppropertyguids: *const GUID,
) -> Result<()>;
fn GetDesiredPacketDescription(
&self,
pcproperties: *mut u32,
pppropertyguids: *mut *mut GUID,
) -> Result<()>;
fn GetPacketDescriptionData(
&self,
tcid: u32,
pfinktodevicescalex: *mut f32,
pfinktodevicescaley: *mut f32,
pcpacketproperties: *mut u32,
pppacketproperties: *mut *mut PACKET_PROPERTY,
) -> Result<()>;
}
Required Methods§
fn Enabled(&self) -> Result<BOOL>
fn SetEnabled(&self, fenable: BOOL) -> Result<()>
fn HWND(&self) -> Result<HANDLE_PTR>
fn SetHWND(&self, hwnd: HANDLE_PTR) -> Result<()>
fn WindowInputRectangle(&self) -> Result<RECT>
fn SetWindowInputRectangle(&self, prcwndinputrect: *const RECT) -> Result<()>
fn AddStylusSyncPlugin( &self, iindex: u32, piplugin: Option<&IStylusSyncPlugin>, ) -> Result<()>
fn RemoveStylusSyncPlugin( &self, iindex: u32, ppiplugin: *mut Option<IStylusSyncPlugin>, ) -> Result<()>
fn RemoveAllStylusSyncPlugins(&self) -> Result<()>
fn GetStylusSyncPlugin(&self, iindex: u32) -> Result<IStylusSyncPlugin>
fn GetStylusSyncPluginCount(&self) -> Result<u32>
fn AddStylusAsyncPlugin( &self, iindex: u32, piplugin: Option<&IStylusAsyncPlugin>, ) -> Result<()>
fn RemoveStylusAsyncPlugin( &self, iindex: u32, ppiplugin: *mut Option<IStylusAsyncPlugin>, ) -> Result<()>
fn RemoveAllStylusAsyncPlugins(&self) -> Result<()>
fn GetStylusAsyncPlugin(&self, iindex: u32) -> Result<IStylusAsyncPlugin>
fn GetStylusAsyncPluginCount(&self) -> Result<u32>
fn ChildRealTimeStylusPlugin(&self) -> Result<IRealTimeStylus>
fn putref_ChildRealTimeStylusPlugin( &self, pirts: Option<&IRealTimeStylus>, ) -> Result<()>
fn AddCustomStylusDataToQueue( &self, sq: StylusQueue, pguidid: *const GUID, cbdata: u32, pbdata: *const u8, ) -> Result<()>
fn ClearStylusQueues(&self) -> Result<()>
fn SetAllTabletsMode(&self, fusemouseforinput: BOOL) -> Result<()>
fn SetSingleTabletMode(&self, pitablet: Option<&IInkTablet>) -> Result<()>
fn GetTablet(&self) -> Result<IInkTablet>
fn GetTabletContextIdFromTablet( &self, pitablet: Option<&IInkTablet>, ) -> Result<u32>
fn GetTabletFromTabletContextId(&self, tcid: u32) -> Result<IInkTablet>
fn GetAllTabletContextIds( &self, pctcidcount: *mut u32, pptcids: *mut *mut u32, ) -> Result<()>
fn GetStyluses(&self) -> Result<IInkCursors>
fn GetStylusForId(&self, sid: u32) -> Result<IInkCursor>
fn SetDesiredPacketDescription( &self, cproperties: u32, ppropertyguids: *const GUID, ) -> Result<()>
fn GetDesiredPacketDescription( &self, pcproperties: *mut u32, pppropertyguids: *mut *mut GUID, ) -> Result<()>
fn GetPacketDescriptionData( &self, tcid: u32, pfinktodevicescalex: *mut f32, pfinktodevicescaley: *mut f32, pcpacketproperties: *mut u32, pppacketproperties: *mut *mut PACKET_PROPERTY, ) -> Result<()>
Object Safety§
This trait is not object safe.