pub struct IOleObject(/* private fields */);Implementations§
Source§impl IOleObject
impl IOleObject
pub unsafe fn SetClientSite<'a, T0__: IntoParam<'a, IOleClientSite>>( &self, pclientsite: T0__, ) -> ErrorCode
pub unsafe fn GetClientSite( &self, ppclientsite: *mut Option<IOleClientSite>, ) -> ErrorCode
pub unsafe fn SetHostNames<'a, T0__: IntoParam<'a, PWSTR>, T1__: IntoParam<'a, PWSTR>>( &self, szcontainerapp: T0__, szcontainerobj: T1__, ) -> ErrorCode
pub unsafe fn Close(&self, dwsaveoption: u32) -> ErrorCode
pub unsafe fn SetMoniker<'a, T1__: IntoParam<'a, IMoniker>>( &self, dwwhichmoniker: u32, pmk: T1__, ) -> ErrorCode
pub unsafe fn GetMoniker( &self, dwassign: u32, dwwhichmoniker: u32, ppmk: *mut Option<IMoniker>, ) -> ErrorCode
pub unsafe fn InitFromData<'a, T0__: IntoParam<'a, IDataObject>, T1__: IntoParam<'a, BOOL>>( &self, pdataobject: T0__, fcreation: T1__, dwreserved: u32, ) -> ErrorCode
pub unsafe fn GetClipboardData( &self, dwreserved: u32, ppdataobject: *mut Option<IDataObject>, ) -> ErrorCode
pub unsafe fn DoVerb<'a, T2__: IntoParam<'a, IOleClientSite>, T4__: IntoParam<'a, HWND>>( &self, iverb: i32, lpmsg: *mut MSG, pactivesite: T2__, lindex: i32, hwndparent: T4__, lprcposrect: *mut RECT, ) -> ErrorCode
pub unsafe fn EnumVerbs( &self, ppenumoleverb: *mut Option<IEnumOLEVERB>, ) -> ErrorCode
pub unsafe fn Update(&self) -> ErrorCode
pub unsafe fn IsUpToDate(&self) -> ErrorCode
pub unsafe fn GetUserClassID(&self, pclsid: *mut Guid) -> ErrorCode
pub unsafe fn GetUserType( &self, dwformoftype: u32, pszusertype: *mut PWSTR, ) -> ErrorCode
pub unsafe fn SetExtent( &self, dwdrawaspect: u32, psizel: *mut SIZE, ) -> ErrorCode
pub unsafe fn GetExtent( &self, dwdrawaspect: u32, psizel: *mut SIZE, ) -> ErrorCode
pub unsafe fn Advise<'a, T0__: IntoParam<'a, IAdviseSink>>( &self, padvsink: T0__, pdwconnection: *mut u32, ) -> ErrorCode
pub unsafe fn Unadvise(&self, dwconnection: u32) -> ErrorCode
pub unsafe fn EnumAdvise( &self, ppenumadvise: *mut Option<IEnumSTATDATA>, ) -> ErrorCode
pub unsafe fn GetMiscStatus( &self, dwaspect: u32, pdwstatus: *mut u32, ) -> ErrorCode
pub unsafe fn SetColorScheme(&self, plogpal: *mut LOGPALETTE) -> ErrorCode
Trait Implementations§
Source§impl Clone for IOleObject
impl Clone for IOleObject
Source§fn clone(&self) -> IOleObject
fn clone(&self) -> IOleObject
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IOleObject
impl Debug for IOleObject
Source§impl From<&IOleObject> for IUnknown
impl From<&IOleObject> for IUnknown
Source§fn from(value: &IOleObject) -> Self
fn from(value: &IOleObject) -> Self
Converts to this type from the input type.
Source§impl From<IOleObject> for IUnknown
impl From<IOleObject> for IUnknown
Source§fn from(value: IOleObject) -> Self
fn from(value: IOleObject) -> Self
Converts to this type from the input type.
Source§impl Interface for IOleObject
impl Interface for IOleObject
const IID: Guid
type Vtable = IOleObject_abi
Source§impl<'a> IntoParam<'a, IUnknown> for &'a IOleObject
impl<'a> IntoParam<'a, IUnknown> for &'a IOleObject
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IUnknown> for IOleObject
impl<'a> IntoParam<'a, IUnknown> for IOleObject
fn into_param(self) -> Param<'a, IUnknown>
Source§impl PartialEq for IOleObject
impl PartialEq for IOleObject
impl Eq for IOleObject
impl StructuralPartialEq for IOleObject
Auto Trait Implementations§
impl Freeze for IOleObject
impl RefUnwindSafe for IOleObject
impl !Send for IOleObject
impl !Sync for IOleObject
impl Unpin for IOleObject
impl UnwindSafe for IOleObject
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
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