pub struct ITextServices(/* private fields */);
Implementations§
Source§impl ITextServices
impl ITextServices
pub unsafe fn TxSendMessage<'a>( &self, msg: u32, wparam: impl IntoParam<'a, WPARAM>, lparam: impl IntoParam<'a, LPARAM>, plresult: *mut LRESULT, ) -> Result<()>
pub unsafe fn TxDraw<'a>( &self, dwdrawaspect: DVASPECT, lindex: i32, pvaspect: *mut c_void, ptd: *mut DVTARGETDEVICE, hdcdraw: impl IntoParam<'a, HDC>, hictargetdev: impl IntoParam<'a, HDC>, lprcbounds: *mut RECTL, lprcwbounds: *mut RECTL, lprcupdate: *mut RECT, pfncontinue: isize, dwcontinue: u32, lviewid: i32, ) -> Result<()>
pub unsafe fn TxGetHScroll( &self, plmin: *mut i32, plmax: *mut i32, plpos: *mut i32, plpage: *mut i32, pfenabled: *mut BOOL, ) -> Result<()>
pub unsafe fn TxGetVScroll( &self, plmin: *mut i32, plmax: *mut i32, plpos: *mut i32, plpage: *mut i32, pfenabled: *mut BOOL, ) -> Result<()>
pub unsafe fn OnTxSetCursor<'a>( &self, dwdrawaspect: DVASPECT, lindex: i32, pvaspect: *mut c_void, ptd: *mut DVTARGETDEVICE, hdcdraw: impl IntoParam<'a, HDC>, hictargetdev: impl IntoParam<'a, HDC>, lprcclient: *mut RECT, x: i32, y: i32, ) -> Result<()>
pub unsafe fn TxQueryHitPoint<'a>( &self, dwdrawaspect: DVASPECT, lindex: i32, pvaspect: *mut c_void, ptd: *mut DVTARGETDEVICE, hdcdraw: impl IntoParam<'a, HDC>, hictargetdev: impl IntoParam<'a, HDC>, lprcclient: *mut RECT, x: i32, y: i32, phitresult: *mut u32, ) -> Result<()>
pub unsafe fn OnTxInPlaceActivate(&self, prcclient: *mut RECT) -> Result<()>
pub unsafe fn OnTxInPlaceDeactivate(&self) -> Result<()>
pub unsafe fn OnTxUIActivate(&self) -> Result<()>
pub unsafe fn OnTxUIDeactivate(&self) -> Result<()>
pub unsafe fn TxGetText(&self, pbstrtext: *mut BSTR) -> Result<()>
pub unsafe fn TxSetText<'a>( &self, psztext: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn TxGetCurTargetX(&self, param0: *mut i32) -> Result<()>
pub unsafe fn TxGetBaseLinePos(&self, param0: *mut i32) -> Result<()>
pub unsafe fn TxGetNaturalSize<'a>( &self, dwaspect: u32, hdcdraw: impl IntoParam<'a, HDC>, hictargetdev: impl IntoParam<'a, HDC>, ptd: *mut DVTARGETDEVICE, dwmode: u32, psizelextent: *const SIZE, pwidth: *mut i32, pheight: *mut i32, ) -> Result<()>
pub unsafe fn TxGetDropTarget(&self) -> Result<IDropTarget>
pub unsafe fn OnTxPropertyBitsChange( &self, dwmask: u32, dwbits: u32, ) -> Result<()>
pub unsafe fn TxGetCachedSize( &self, pdwwidth: *mut u32, pdwheight: *mut u32, ) -> Result<()>
Trait Implementations§
Source§impl Clone for ITextServices
impl Clone for ITextServices
Source§fn clone(&self) -> ITextServices
fn clone(&self) -> ITextServices
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ITextServices
impl Debug for ITextServices
Source§impl From<&ITextServices> for IUnknown
impl From<&ITextServices> for IUnknown
Source§fn from(value: &ITextServices) -> Self
fn from(value: &ITextServices) -> Self
Converts to this type from the input type.
Source§impl From<&ITextServices2> for ITextServices
impl From<&ITextServices2> for ITextServices
Source§fn from(value: &ITextServices2) -> Self
fn from(value: &ITextServices2) -> Self
Converts to this type from the input type.
Source§impl From<ITextServices> for IUnknown
impl From<ITextServices> for IUnknown
Source§fn from(value: ITextServices) -> Self
fn from(value: ITextServices) -> Self
Converts to this type from the input type.
Source§impl From<ITextServices2> for ITextServices
impl From<ITextServices2> for ITextServices
Source§fn from(value: ITextServices2) -> Self
fn from(value: ITextServices2) -> Self
Converts to this type from the input type.
Source§impl Interface for ITextServices
impl Interface for ITextServices
Source§impl PartialEq for ITextServices
impl PartialEq for ITextServices
impl Eq for ITextServices
impl StructuralPartialEq for ITextServices
Auto Trait Implementations§
impl Freeze for ITextServices
impl RefUnwindSafe for ITextServices
impl !Send for ITextServices
impl !Sync for ITextServices
impl Unpin for ITextServices
impl UnwindSafe for ITextServices
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more