pub struct ITextServices2(/* private fields */);
Implementations§
Source§impl ITextServices2
impl ITextServices2
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<()>
pub unsafe fn TxGetNaturalSize2<'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, pascent: *mut i32, ) -> Result<()>
pub unsafe fn TxDrawD2D<'a>( &self, prendertarget: impl IntoParam<'a, ID2D1RenderTarget>, lprcbounds: *mut RECTL, lprcupdate: *mut RECT, lviewid: i32, ) -> Result<()>
Trait Implementations§
Source§impl Clone for ITextServices2
impl Clone for ITextServices2
Source§fn clone(&self) -> ITextServices2
fn clone(&self) -> ITextServices2
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 ITextServices2
impl Debug for ITextServices2
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<&ITextServices2> for IUnknown
impl From<&ITextServices2> for IUnknown
Source§fn from(value: &ITextServices2) -> Self
fn from(value: &ITextServices2) -> 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<ITextServices2> for IUnknown
impl From<ITextServices2> for IUnknown
Source§fn from(value: ITextServices2) -> Self
fn from(value: ITextServices2) -> Self
Converts to this type from the input type.
Source§impl Interface for ITextServices2
impl Interface for ITextServices2
Source§impl PartialEq for ITextServices2
impl PartialEq for ITextServices2
impl Eq for ITextServices2
impl StructuralPartialEq for ITextServices2
Auto Trait Implementations§
impl Freeze for ITextServices2
impl RefUnwindSafe for ITextServices2
impl !Send for ITextServices2
impl !Sync for ITextServices2
impl Unpin for ITextServices2
impl UnwindSafe for ITextServices2
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