windows::Win32::System::Ole

Struct IOleObject_Vtbl

#[repr(C)]
pub struct IOleObject_Vtbl {
Show 22 fields pub base__: IUnknown_Vtbl, pub SetClientSite: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub GetClientSite: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub SetHostNames: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: PCWSTR) -> HRESULT, pub Close: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT, pub SetMoniker: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void) -> HRESULT, pub GetMoniker: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut *mut c_void) -> HRESULT, pub InitFromData: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: BOOL, _: u32) -> HRESULT, pub GetClipboardData: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT, pub DoVerb: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *const MSG, _: *mut c_void, _: i32, _: HWND, _: *const RECT) -> HRESULT, pub EnumVerbs: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub Update: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub IsUpToDate: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub GetUserClassID: unsafe extern "system" fn(_: *mut c_void, _: *mut GUID) -> HRESULT, pub GetUserType: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut PWSTR) -> HRESULT, pub SetExtent: unsafe extern "system" fn(_: *mut c_void, _: DVASPECT, _: *const SIZE) -> HRESULT, pub GetExtent: unsafe extern "system" fn(_: *mut c_void, _: DVASPECT, _: *mut SIZE) -> HRESULT, pub Advise: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut u32) -> HRESULT, pub Unadvise: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT, pub EnumAdvise: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetMiscStatus: unsafe extern "system" fn(_: *mut c_void, _: DVASPECT, _: *mut OLEMISC) -> HRESULT, pub SetColorScheme: unsafe extern "system" fn(_: *mut c_void, _: *const LOGPALETTE) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§SetClientSite: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§GetClientSite: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§SetHostNames: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: PCWSTR) -> HRESULT§Close: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§SetMoniker: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void) -> HRESULT§GetMoniker: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut *mut c_void) -> HRESULT§InitFromData: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: BOOL, _: u32) -> HRESULT§GetClipboardData: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT§DoVerb: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *const MSG, _: *mut c_void, _: i32, _: HWND, _: *const RECT) -> HRESULT§EnumVerbs: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§Update: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§IsUpToDate: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§GetUserClassID: unsafe extern "system" fn(_: *mut c_void, _: *mut GUID) -> HRESULT§GetUserType: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut PWSTR) -> HRESULT§SetExtent: unsafe extern "system" fn(_: *mut c_void, _: DVASPECT, _: *const SIZE) -> HRESULT§GetExtent: unsafe extern "system" fn(_: *mut c_void, _: DVASPECT, _: *mut SIZE) -> HRESULT§Advise: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut u32) -> HRESULT§Unadvise: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§EnumAdvise: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetMiscStatus: unsafe extern "system" fn(_: *mut c_void, _: DVASPECT, _: *mut OLEMISC) -> HRESULT§SetColorScheme: unsafe extern "system" fn(_: *mut c_void, _: *const LOGPALETTE) -> HRESULT

Implementations§

§

impl IOleObject_Vtbl

pub const fn new<Identity: IOleObject_Impl, const OFFSET: isize>() -> Self

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

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.