Struct windows::Win32::UI::Controls::RichEdit::ITextHost_Vtbl

#[repr(C)]
pub struct ITextHost_Vtbl {
Show 40 fields pub base__: IUnknown_Vtbl, pub TxGetDC: unsafe extern "system" fn(_: *mut c_void) -> HDC, pub TxReleaseDC: unsafe extern "system" fn(_: *mut c_void, _: HDC) -> i32, pub TxShowScrollBar: unsafe extern "system" fn(_: *mut c_void, _: i32, _: BOOL) -> BOOL, pub TxEnableScrollBar: unsafe extern "system" fn(_: *mut c_void, _: SCROLLBAR_CONSTANTS, _: i32) -> BOOL, pub TxSetScrollRange: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: i32, _: BOOL) -> BOOL, pub TxSetScrollPos: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: BOOL) -> BOOL, pub TxInvalidateRect: unsafe extern "system" fn(_: *mut c_void, _: *mut RECT, _: BOOL), pub TxViewChange: unsafe extern "system" fn(_: *mut c_void, _: BOOL), pub TxCreateCaret: unsafe extern "system" fn(_: *mut c_void, _: HBITMAP, _: i32, _: i32) -> BOOL, pub TxShowCaret: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> BOOL, pub TxSetCaretPos: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32) -> BOOL, pub TxSetTimer: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32) -> BOOL, pub TxKillTimer: unsafe extern "system" fn(_: *mut c_void, _: u32), pub TxScrollWindowEx: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut RECT, _: *mut RECT, _: HRGN, _: *mut RECT, _: SCROLL_WINDOW_FLAGS), pub TxSetCapture: unsafe extern "system" fn(_: *mut c_void, _: BOOL), pub TxSetFocus: unsafe extern "system" fn(_: *mut c_void), pub TxSetCursor: unsafe extern "system" fn(_: *mut c_void, _: HCURSOR, _: BOOL), pub TxScreenToClient: unsafe extern "system" fn(_: *mut c_void, _: *mut POINT) -> BOOL, pub TxClientToScreen: unsafe extern "system" fn(_: *mut c_void, _: *mut POINT) -> BOOL, pub TxActivate: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub TxDeactivate: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub TxGetClientRect: unsafe extern "system" fn(_: *mut c_void, _: *mut RECT) -> HRESULT, pub TxGetViewInset: unsafe extern "system" fn(_: *mut c_void, _: *mut RECT) -> HRESULT, pub TxGetCharFormat: unsafe extern "system" fn(_: *mut c_void, _: *const *const CHARFORMATW) -> HRESULT, pub TxGetParaFormat: unsafe extern "system" fn(_: *mut c_void, _: *const *const PARAFORMAT) -> HRESULT, pub TxGetSysColor: unsafe extern "system" fn(_: *mut c_void, _: SYS_COLOR_INDEX) -> COLORREF, pub TxGetBackStyle: unsafe extern "system" fn(_: *mut c_void, _: *mut TXTBACKSTYLE) -> HRESULT, pub TxGetMaxLength: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub TxGetScrollBars: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub TxGetPasswordChar: unsafe extern "system" fn(_: *mut c_void, _: *mut i8) -> HRESULT, pub TxGetAcceleratorPos: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub TxGetExtent: unsafe extern "system" fn(_: *mut c_void, _: *mut SIZE) -> HRESULT, pub OnTxCharFormatChange: unsafe extern "system" fn(_: *mut c_void, _: *const CHARFORMATW) -> HRESULT, pub OnTxParaFormatChange: unsafe extern "system" fn(_: *mut c_void, _: *const PARAFORMAT) -> HRESULT, pub TxGetPropertyBits: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u32) -> HRESULT, pub TxNotify: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void) -> HRESULT, pub TxImmGetContext: unsafe extern "system" fn(_: *mut c_void) -> HIMC, pub TxImmReleaseContext: unsafe extern "system" fn(_: *mut c_void, _: HIMC), pub TxGetSelectionBarWidth: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§TxGetDC: unsafe extern "system" fn(_: *mut c_void) -> HDC§TxReleaseDC: unsafe extern "system" fn(_: *mut c_void, _: HDC) -> i32§TxShowScrollBar: unsafe extern "system" fn(_: *mut c_void, _: i32, _: BOOL) -> BOOL§TxEnableScrollBar: unsafe extern "system" fn(_: *mut c_void, _: SCROLLBAR_CONSTANTS, _: i32) -> BOOL§TxSetScrollRange: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: i32, _: BOOL) -> BOOL§TxSetScrollPos: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: BOOL) -> BOOL§TxInvalidateRect: unsafe extern "system" fn(_: *mut c_void, _: *mut RECT, _: BOOL)§TxViewChange: unsafe extern "system" fn(_: *mut c_void, _: BOOL)§TxCreateCaret: unsafe extern "system" fn(_: *mut c_void, _: HBITMAP, _: i32, _: i32) -> BOOL§TxShowCaret: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> BOOL§TxSetCaretPos: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32) -> BOOL§TxSetTimer: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32) -> BOOL§TxKillTimer: unsafe extern "system" fn(_: *mut c_void, _: u32)§TxScrollWindowEx: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut RECT, _: *mut RECT, _: HRGN, _: *mut RECT, _: SCROLL_WINDOW_FLAGS)§TxSetCapture: unsafe extern "system" fn(_: *mut c_void, _: BOOL)§TxSetFocus: unsafe extern "system" fn(_: *mut c_void)§TxSetCursor: unsafe extern "system" fn(_: *mut c_void, _: HCURSOR, _: BOOL)§TxScreenToClient: unsafe extern "system" fn(_: *mut c_void, _: *mut POINT) -> BOOL§TxClientToScreen: unsafe extern "system" fn(_: *mut c_void, _: *mut POINT) -> BOOL§TxActivate: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§TxDeactivate: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§TxGetClientRect: unsafe extern "system" fn(_: *mut c_void, _: *mut RECT) -> HRESULT§TxGetViewInset: unsafe extern "system" fn(_: *mut c_void, _: *mut RECT) -> HRESULT§TxGetCharFormat: unsafe extern "system" fn(_: *mut c_void, _: *const *const CHARFORMATW) -> HRESULT§TxGetParaFormat: unsafe extern "system" fn(_: *mut c_void, _: *const *const PARAFORMAT) -> HRESULT§TxGetSysColor: unsafe extern "system" fn(_: *mut c_void, _: SYS_COLOR_INDEX) -> COLORREF§TxGetBackStyle: unsafe extern "system" fn(_: *mut c_void, _: *mut TXTBACKSTYLE) -> HRESULT§TxGetMaxLength: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§TxGetScrollBars: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§TxGetPasswordChar: unsafe extern "system" fn(_: *mut c_void, _: *mut i8) -> HRESULT§TxGetAcceleratorPos: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§TxGetExtent: unsafe extern "system" fn(_: *mut c_void, _: *mut SIZE) -> HRESULT§OnTxCharFormatChange: unsafe extern "system" fn(_: *mut c_void, _: *const CHARFORMATW) -> HRESULT§OnTxParaFormatChange: unsafe extern "system" fn(_: *mut c_void, _: *const PARAFORMAT) -> HRESULT§TxGetPropertyBits: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u32) -> HRESULT§TxNotify: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void) -> HRESULT§TxImmGetContext: unsafe extern "system" fn(_: *mut c_void) -> HIMC§TxImmReleaseContext: unsafe extern "system" fn(_: *mut c_void, _: HIMC)§TxGetSelectionBarWidth: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT

Implementations§

§

impl ITextHost_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> ITextHost_Vtbl
where Identity: ITextHost_Impl + IUnknownImpl,

pub fn matches(iid: &GUID) -> bool

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> 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, U> TryFrom<U> for T
where U: Into<T>,

§

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>,

§

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.