pub struct IDispatch(/* private fields */);
Implementations§
Source§impl IDispatch
impl IDispatch
pub unsafe fn GetTypeInfoCount(&self) -> Result<u32>
pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> Result<ITypeInfo>
pub unsafe fn GetIDsOfNames( &self, riid: *const Guid, rgsznames: *mut PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32, ) -> Result<()>
pub unsafe fn Invoke( &self, dispidmember: i32, riid: *const Guid, lcid: u32, wflags: u16, pdispparams: *mut DISPPARAMS, pvarresult: *mut VARIANT, pexcepinfo: *mut EXCEPINFO, puargerr: *mut u32, ) -> Result<()>
Trait Implementations§
Source§impl From<&IAccessible> for IDispatch
impl From<&IAccessible> for IDispatch
Source§fn from(value: &IAccessible) -> Self
fn from(value: &IAccessible) -> Self
Converts to this type from the input type.
Source§impl From<&ITextDisplays> for IDispatch
impl From<&ITextDisplays> for IDispatch
Source§fn from(value: &ITextDisplays) -> Self
fn from(value: &ITextDisplays) -> Self
Converts to this type from the input type.
Source§impl From<&ITextDocument> for IDispatch
impl From<&ITextDocument> for IDispatch
Source§fn from(value: &ITextDocument) -> Self
fn from(value: &ITextDocument) -> Self
Converts to this type from the input type.
Source§impl From<&ITextDocument2> for IDispatch
impl From<&ITextDocument2> for IDispatch
Source§fn from(value: &ITextDocument2) -> Self
fn from(value: &ITextDocument2) -> Self
Converts to this type from the input type.
Source§impl From<&ITextDocument2Old> for IDispatch
impl From<&ITextDocument2Old> for IDispatch
Source§fn from(value: &ITextDocument2Old) -> Self
fn from(value: &ITextDocument2Old) -> Self
Converts to this type from the input type.
Source§impl From<&ITextFont2> for IDispatch
impl From<&ITextFont2> for IDispatch
Source§fn from(value: &ITextFont2) -> Self
fn from(value: &ITextFont2) -> Self
Converts to this type from the input type.
Source§impl From<&ITextPara2> for IDispatch
impl From<&ITextPara2> for IDispatch
Source§fn from(value: &ITextPara2) -> Self
fn from(value: &ITextPara2) -> Self
Converts to this type from the input type.
Source§impl From<&ITextRange> for IDispatch
impl From<&ITextRange> for IDispatch
Source§fn from(value: &ITextRange) -> Self
fn from(value: &ITextRange) -> Self
Converts to this type from the input type.
Source§impl From<&ITextRange2> for IDispatch
impl From<&ITextRange2> for IDispatch
Source§fn from(value: &ITextRange2) -> Self
fn from(value: &ITextRange2) -> Self
Converts to this type from the input type.
Source§impl From<&ITextSelection> for IDispatch
impl From<&ITextSelection> for IDispatch
Source§fn from(value: &ITextSelection) -> Self
fn from(value: &ITextSelection) -> Self
Converts to this type from the input type.
Source§impl From<&ITextSelection2> for IDispatch
impl From<&ITextSelection2> for IDispatch
Source§fn from(value: &ITextSelection2) -> Self
fn from(value: &ITextSelection2) -> Self
Converts to this type from the input type.
Source§impl From<&ITextStoryRanges> for IDispatch
impl From<&ITextStoryRanges> for IDispatch
Source§fn from(value: &ITextStoryRanges) -> Self
fn from(value: &ITextStoryRanges) -> Self
Converts to this type from the input type.
Source§impl From<&ITextStoryRanges2> for IDispatch
impl From<&ITextStoryRanges2> for IDispatch
Source§fn from(value: &ITextStoryRanges2) -> Self
fn from(value: &ITextStoryRanges2) -> Self
Converts to this type from the input type.
Source§impl From<&ITextStrings> for IDispatch
impl From<&ITextStrings> for IDispatch
Source§fn from(value: &ITextStrings) -> Self
fn from(value: &ITextStrings) -> Self
Converts to this type from the input type.
Source§impl From<IAccessible> for IDispatch
impl From<IAccessible> for IDispatch
Source§fn from(value: IAccessible) -> Self
fn from(value: IAccessible) -> Self
Converts to this type from the input type.
Source§impl From<ITextDisplays> for IDispatch
impl From<ITextDisplays> for IDispatch
Source§fn from(value: ITextDisplays) -> Self
fn from(value: ITextDisplays) -> Self
Converts to this type from the input type.
Source§impl From<ITextDocument> for IDispatch
impl From<ITextDocument> for IDispatch
Source§fn from(value: ITextDocument) -> Self
fn from(value: ITextDocument) -> Self
Converts to this type from the input type.
Source§impl From<ITextDocument2> for IDispatch
impl From<ITextDocument2> for IDispatch
Source§fn from(value: ITextDocument2) -> Self
fn from(value: ITextDocument2) -> Self
Converts to this type from the input type.
Source§impl From<ITextDocument2Old> for IDispatch
impl From<ITextDocument2Old> for IDispatch
Source§fn from(value: ITextDocument2Old) -> Self
fn from(value: ITextDocument2Old) -> Self
Converts to this type from the input type.
Source§impl From<ITextFont2> for IDispatch
impl From<ITextFont2> for IDispatch
Source§fn from(value: ITextFont2) -> Self
fn from(value: ITextFont2) -> Self
Converts to this type from the input type.
Source§impl From<ITextPara2> for IDispatch
impl From<ITextPara2> for IDispatch
Source§fn from(value: ITextPara2) -> Self
fn from(value: ITextPara2) -> Self
Converts to this type from the input type.
Source§impl From<ITextRange> for IDispatch
impl From<ITextRange> for IDispatch
Source§fn from(value: ITextRange) -> Self
fn from(value: ITextRange) -> Self
Converts to this type from the input type.
Source§impl From<ITextRange2> for IDispatch
impl From<ITextRange2> for IDispatch
Source§fn from(value: ITextRange2) -> Self
fn from(value: ITextRange2) -> Self
Converts to this type from the input type.
Source§impl From<ITextSelection> for IDispatch
impl From<ITextSelection> for IDispatch
Source§fn from(value: ITextSelection) -> Self
fn from(value: ITextSelection) -> Self
Converts to this type from the input type.
Source§impl From<ITextSelection2> for IDispatch
impl From<ITextSelection2> for IDispatch
Source§fn from(value: ITextSelection2) -> Self
fn from(value: ITextSelection2) -> Self
Converts to this type from the input type.
Source§impl From<ITextStoryRanges> for IDispatch
impl From<ITextStoryRanges> for IDispatch
Source§fn from(value: ITextStoryRanges) -> Self
fn from(value: ITextStoryRanges) -> Self
Converts to this type from the input type.
Source§impl From<ITextStoryRanges2> for IDispatch
impl From<ITextStoryRanges2> for IDispatch
Source§fn from(value: ITextStoryRanges2) -> Self
fn from(value: ITextStoryRanges2) -> Self
Converts to this type from the input type.
Source§impl From<ITextStrings> for IDispatch
impl From<ITextStrings> for IDispatch
Source§fn from(value: ITextStrings) -> Self
fn from(value: ITextStrings) -> Self
Converts to this type from the input type.
Source§impl Interface for IDispatch
impl Interface for IDispatch
const IID: Guid
type Vtable = IDispatch_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
impl Eq for IDispatch
impl StructuralPartialEq for IDispatch
Auto Trait Implementations§
impl Freeze for IDispatch
impl RefUnwindSafe for IDispatch
impl !Send for IDispatch
impl !Sync for IDispatch
impl Unpin for IDispatch
impl UnwindSafe for IDispatch
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.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.
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