Struct 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) -> HRESULTImplementations§
§impl ITextHost_Vtbl
impl ITextHost_Vtbl
pub const fn new<Identity: ITextHost_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ITextHost_Vtbl
impl RefUnwindSafe for ITextHost_Vtbl
impl Send for ITextHost_Vtbl
impl Sync for ITextHost_Vtbl
impl Unpin for ITextHost_Vtbl
impl UnwindSafe for ITextHost_Vtbl
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