webview2_com_sys::Windows::Win32::UI::Controls

Struct ITextHost2

Source
pub struct ITextHost2(/* private fields */);

Implementations§

Source§

impl ITextHost2

Source

pub unsafe fn TxGetDC(&self) -> HDC

Source

pub unsafe fn TxReleaseDC<'a>(&self, hdc: impl IntoParam<'a, HDC>) -> i32

Source

pub unsafe fn TxShowScrollBar<'a>( &self, fnbar: i32, fshow: impl IntoParam<'a, BOOL>, ) -> BOOL

Source

pub unsafe fn TxEnableScrollBar( &self, fusbflags: SCROLLBAR_CONSTANTS, fuarrowflags: ENABLE_SCROLL_BAR_ARROWS, ) -> BOOL

Source

pub unsafe fn TxSetScrollRange<'a>( &self, fnbar: i32, nminpos: i32, nmaxpos: i32, fredraw: impl IntoParam<'a, BOOL>, ) -> BOOL

Source

pub unsafe fn TxSetScrollPos<'a>( &self, fnbar: i32, npos: i32, fredraw: impl IntoParam<'a, BOOL>, ) -> BOOL

Source

pub unsafe fn TxInvalidateRect<'a>( &self, prc: *mut RECT, fmode: impl IntoParam<'a, BOOL>, )

Source

pub unsafe fn TxViewChange<'a>(&self, fupdate: impl IntoParam<'a, BOOL>)

Source

pub unsafe fn TxCreateCaret<'a>( &self, hbmp: impl IntoParam<'a, HBITMAP>, xwidth: i32, yheight: i32, ) -> BOOL

Source

pub unsafe fn TxShowCaret<'a>(&self, fshow: impl IntoParam<'a, BOOL>) -> BOOL

Source

pub unsafe fn TxSetCaretPos(&self, x: i32, y: i32) -> BOOL

Source

pub unsafe fn TxSetTimer(&self, idtimer: u32, utimeout: u32) -> BOOL

Source

pub unsafe fn TxKillTimer(&self, idtimer: u32)

Source

pub unsafe fn TxScrollWindowEx<'a>( &self, dx: i32, dy: i32, lprcscroll: *mut RECT, lprcclip: *mut RECT, hrgnupdate: impl IntoParam<'a, HRGN>, lprcupdate: *mut RECT, fuscroll: SHOW_WINDOW_CMD, )

Source

pub unsafe fn TxSetCapture<'a>(&self, fcapture: impl IntoParam<'a, BOOL>)

Source

pub unsafe fn TxSetFocus(&self)

Source

pub unsafe fn TxSetCursor<'a>( &self, hcur: impl IntoParam<'a, HCURSOR>, ftext: impl IntoParam<'a, BOOL>, )

Source

pub unsafe fn TxScreenToClient(&self, lppt: *mut POINT) -> BOOL

Source

pub unsafe fn TxClientToScreen(&self, lppt: *mut POINT) -> BOOL

Source

pub unsafe fn TxActivate(&self, ploldstate: *mut i32) -> Result<()>

Source

pub unsafe fn TxDeactivate(&self, lnewstate: i32) -> Result<()>

Source

pub unsafe fn TxGetClientRect(&self, prc: *mut RECT) -> Result<()>

Source

pub unsafe fn TxGetViewInset(&self, prc: *mut RECT) -> Result<()>

Source

pub unsafe fn TxGetCharFormat( &self, ppcf: *const *const CHARFORMATW, ) -> Result<()>

Source

pub unsafe fn TxGetParaFormat( &self, pppf: *const *const PARAFORMAT, ) -> Result<()>

Source

pub unsafe fn TxGetSysColor(&self, nindex: i32) -> u32

Source

pub unsafe fn TxGetBackStyle(&self, pstyle: *mut TXTBACKSTYLE) -> Result<()>

Source

pub unsafe fn TxGetMaxLength(&self, plength: *mut u32) -> Result<()>

Source

pub unsafe fn TxGetScrollBars(&self, pdwscrollbar: *mut u32) -> Result<()>

Source

pub unsafe fn TxGetPasswordChar(&self) -> Result<i8>

Source

pub unsafe fn TxGetAcceleratorPos(&self, pcp: *mut i32) -> Result<()>

Source

pub unsafe fn TxGetExtent(&self, lpextent: *mut SIZE) -> Result<()>

Source

pub unsafe fn OnTxCharFormatChange(&self, pcf: *const CHARFORMATW) -> Result<()>

Source

pub unsafe fn OnTxParaFormatChange(&self, ppf: *const PARAFORMAT) -> Result<()>

Source

pub unsafe fn TxGetPropertyBits( &self, dwmask: u32, pdwbits: *mut u32, ) -> Result<()>

Source

pub unsafe fn TxNotify(&self, inotify: u32, pv: *mut c_void) -> Result<()>

Source

pub unsafe fn TxImmGetContext(&self) -> HIMC

Source

pub unsafe fn TxImmReleaseContext<'a>(&self, himc: impl IntoParam<'a, HIMC>)

Source

pub unsafe fn TxGetSelectionBarWidth( &self, lselbarwidth: *mut i32, ) -> Result<()>

Source

pub unsafe fn TxIsDoubleClickPending(&self) -> BOOL

Source

pub unsafe fn TxGetWindow(&self, phwnd: *mut HWND) -> Result<()>

Source

pub unsafe fn TxSetForegroundWindow(&self) -> Result<()>

Source

pub unsafe fn TxGetPalette(&self) -> HPALETTE

Source

pub unsafe fn TxGetEastAsianFlags(&self, pflags: *mut i32) -> Result<()>

Source

pub unsafe fn TxSetCursor2<'a>( &self, hcur: impl IntoParam<'a, HCURSOR>, btext: impl IntoParam<'a, BOOL>, ) -> HCURSOR

Source

pub unsafe fn TxFreeTextServicesNotification(&self)

Source

pub unsafe fn TxGetEditStyle( &self, dwitem: u32, pdwdata: *mut u32, ) -> Result<()>

Source

pub unsafe fn TxGetWindowStyles( &self, pdwstyle: *mut u32, pdwexstyle: *mut u32, ) -> Result<()>

Source

pub unsafe fn TxShowDropCaret<'a>( &self, fshow: impl IntoParam<'a, BOOL>, hdc: impl IntoParam<'a, HDC>, prc: *mut RECT, ) -> Result<()>

Source

pub unsafe fn TxDestroyCaret(&self) -> Result<()>

Source

pub unsafe fn TxGetHorzExtent(&self, plhorzextent: *mut i32) -> Result<()>

Trait Implementations§

Source§

impl Clone for ITextHost2

Source§

fn clone(&self) -> ITextHost2

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ITextHost2

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<&ITextHost2> for ITextHost

Source§

fn from(value: &ITextHost2) -> Self

Converts to this type from the input type.
Source§

impl From<&ITextHost2> for IUnknown

Source§

fn from(value: &ITextHost2) -> Self

Converts to this type from the input type.
Source§

impl From<ITextHost2> for ITextHost

Source§

fn from(value: ITextHost2) -> Self

Converts to this type from the input type.
Source§

impl From<ITextHost2> for IUnknown

Source§

fn from(value: ITextHost2) -> Self

Converts to this type from the input type.
Source§

impl Interface for ITextHost2

Source§

const IID: Guid

A unique identifier representing this interface.
Source§

fn cast<T>(&self) -> Result<T, Error>
where T: Interface,

Attempts to cast the current interface to another interface using QueryInterface. The name cast is preferred to query because there is a WinRT method named query but not one named cast.
Source§

fn downgrade(&self) -> Result<Weak<Self>, Error>

Attempts to create a Weak reference to this object.
Source§

impl PartialEq for ITextHost2

Source§

fn eq(&self, other: &ITextHost2) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for ITextHost2

Source§

impl StructuralPartialEq for ITextHost2

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.