Struct IToolbar_Vtbl
#[repr(C)]pub struct IToolbar_Vtbl {
pub base__: IUnknown_Vtbl,
pub AddBitmap: unsafe extern "system" fn(_: *mut c_void, _: i32, _: HBITMAP, _: i32, _: i32, _: COLORREF) -> HRESULT,
pub AddButtons: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *const MMCBUTTON) -> HRESULT,
pub InsertButton: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *const MMCBUTTON) -> HRESULT,
pub DeleteButton: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT,
pub GetButtonState: unsafe extern "system" fn(_: *mut c_void, _: i32, _: MMC_BUTTON_STATE, _: *mut BOOL) -> HRESULT,
pub SetButtonState: unsafe extern "system" fn(_: *mut c_void, _: i32, _: MMC_BUTTON_STATE, _: BOOL) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§AddBitmap: unsafe extern "system" fn(_: *mut c_void, _: i32, _: HBITMAP, _: i32, _: i32, _: COLORREF) -> HRESULT
§AddButtons: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *const MMCBUTTON) -> HRESULT
§InsertButton: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *const MMCBUTTON) -> HRESULT
§DeleteButton: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT
§GetButtonState: unsafe extern "system" fn(_: *mut c_void, _: i32, _: MMC_BUTTON_STATE, _: *mut BOOL) -> HRESULT
§SetButtonState: unsafe extern "system" fn(_: *mut c_void, _: i32, _: MMC_BUTTON_STATE, _: BOOL) -> HRESULT
Implementations§
§impl IToolbar_Vtbl
impl IToolbar_Vtbl
pub const fn new<Identity: IToolbar_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IToolbar_Vtbl
impl RefUnwindSafe for IToolbar_Vtbl
impl Send for IToolbar_Vtbl
impl Sync for IToolbar_Vtbl
impl Unpin for IToolbar_Vtbl
impl UnwindSafe for IToolbar_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