pub struct ITextHost(/* private fields */);
Implementations§
§impl ITextHost
impl ITextHost
pub unsafe fn TxGetDC(&self) -> HDC
pub unsafe fn TxReleaseDC<P0>(&self, hdc: P0) -> i32where
P0: Param<HDC>,
pub unsafe fn TxShowScrollBar<P0>(&self, fnbar: i32, fshow: P0) -> BOOLwhere
P0: Param<BOOL>,
pub unsafe fn TxEnableScrollBar( &self, fusbflags: SCROLLBAR_CONSTANTS, fuarrowflags: i32 ) -> BOOL
pub unsafe fn TxSetScrollRange<P0>(
&self,
fnbar: i32,
nminpos: i32,
nmaxpos: i32,
fredraw: P0
) -> BOOLwhere
P0: Param<BOOL>,
pub unsafe fn TxSetScrollPos<P0>(
&self,
fnbar: i32,
npos: i32,
fredraw: P0
) -> BOOLwhere
P0: Param<BOOL>,
pub unsafe fn TxInvalidateRect<P0>(&self, prc: *mut RECT, fmode: P0)where
P0: Param<BOOL>,
pub unsafe fn TxViewChange<P0>(&self, fupdate: P0)where
P0: Param<BOOL>,
pub unsafe fn TxCreateCaret<P0>(
&self,
hbmp: P0,
xwidth: i32,
yheight: i32
) -> BOOLwhere
P0: Param<HBITMAP>,
pub unsafe fn TxShowCaret<P0>(&self, fshow: P0) -> BOOLwhere
P0: Param<BOOL>,
pub unsafe fn TxSetCaretPos(&self, x: i32, y: i32) -> BOOL
pub unsafe fn TxSetTimer(&self, idtimer: u32, utimeout: u32) -> BOOL
pub unsafe fn TxKillTimer(&self, idtimer: u32)
pub unsafe fn TxScrollWindowEx<P0>(
&self,
dx: i32,
dy: i32,
lprcscroll: *mut RECT,
lprcclip: *mut RECT,
hrgnupdate: P0,
lprcupdate: *mut RECT,
fuscroll: SCROLL_WINDOW_FLAGS
)where
P0: Param<HRGN>,
pub unsafe fn TxSetCapture<P0>(&self, fcapture: P0)where
P0: Param<BOOL>,
pub unsafe fn TxSetFocus(&self)
pub unsafe fn TxSetCursor<P0, P1>(&self, hcur: P0, ftext: P1)
pub unsafe fn TxScreenToClient(&self, lppt: *mut POINT) -> BOOL
pub unsafe fn TxClientToScreen(&self, lppt: *mut POINT) -> BOOL
pub unsafe fn TxActivate(&self, ploldstate: *mut i32) -> Result<()>
pub unsafe fn TxDeactivate(&self, lnewstate: i32) -> Result<()>
pub unsafe fn TxGetClientRect(&self, prc: *mut RECT) -> Result<()>
pub unsafe fn TxGetViewInset(&self, prc: *mut RECT) -> Result<()>
pub unsafe fn TxGetCharFormat( &self, ppcf: *const *const CHARFORMATW ) -> Result<()>
pub unsafe fn TxGetParaFormat( &self, pppf: *const *const PARAFORMAT ) -> Result<()>
pub unsafe fn TxGetSysColor(&self, nindex: SYS_COLOR_INDEX) -> COLORREF
pub unsafe fn TxGetBackStyle(&self, pstyle: *mut TXTBACKSTYLE) -> Result<()>
pub unsafe fn TxGetMaxLength(&self, plength: *mut u32) -> Result<()>
pub unsafe fn TxGetScrollBars(&self, pdwscrollbar: *mut u32) -> Result<()>
pub unsafe fn TxGetPasswordChar(&self) -> Result<i8>
pub unsafe fn TxGetAcceleratorPos(&self, pcp: *mut i32) -> Result<()>
pub unsafe fn TxGetExtent(&self, lpextent: *mut SIZE) -> Result<()>
pub unsafe fn OnTxCharFormatChange(&self, pcf: *const CHARFORMATW) -> Result<()>
pub unsafe fn OnTxParaFormatChange(&self, ppf: *const PARAFORMAT) -> Result<()>
pub unsafe fn TxGetPropertyBits( &self, dwmask: u32, pdwbits: *mut u32 ) -> Result<()>
pub unsafe fn TxNotify(&self, inotify: u32, pv: *mut c_void) -> Result<()>
pub unsafe fn TxImmGetContext(&self) -> HIMC
pub unsafe fn TxImmReleaseContext<P0>(&self, himc: P0)where
P0: Param<HIMC>,
pub unsafe fn TxGetSelectionBarWidth( &self, lselbarwidth: *mut i32 ) -> Result<()>
Trait Implementations§
§impl From<&ITextHost2> for &ITextHost
impl From<&ITextHost2> for &ITextHost
§fn from(value: &ITextHost2) -> Self
fn from(value: &ITextHost2) -> Self
Converts to this type from the input type.
§impl From<ITextHost2> for ITextHost
impl From<ITextHost2> for ITextHost
§fn from(value: ITextHost2) -> Self
fn from(value: ITextHost2) -> Self
Converts to this type from the input type.
§impl Interface for ITextHost
impl Interface for ITextHost
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read moreimpl Eq for ITextHost
impl StructuralPartialEq for ITextHost
Auto Trait Implementations§
impl Freeze for ITextHost
impl RefUnwindSafe for ITextHost
impl !Send for ITextHost
impl !Sync for ITextHost
impl Unpin for ITextHost
impl UnwindSafe for ITextHost
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