Struct IActiveScriptAuthor
pub struct IActiveScriptAuthor(/* private fields */);
Implementations§
§impl IActiveScriptAuthor
impl IActiveScriptAuthor
pub unsafe fn AddNamedItem<P0, P2>(
&self,
pszname: P0,
dwflags: u32,
pdisp: P2,
) -> Result<()>where
P0: Param<PCWSTR>,
P2: Param<IDispatch>,
pub unsafe fn AddScriptlet<P0, P1, P2, P3, P4, P5>(
&self,
pszdefaultname: P0,
pszcode: P1,
pszitemname: P2,
pszsubitemname: P3,
pszeventname: P4,
pszdelimiter: P5,
dwcookie: u32,
dwflags: u32,
) -> Result<()>where
P0: Param<PCWSTR>,
P1: Param<PCWSTR>,
P2: Param<PCWSTR>,
P3: Param<PCWSTR>,
P4: Param<PCWSTR>,
P5: Param<PCWSTR>,
pub unsafe fn ParseScriptText<P0, P1, P2>(
&self,
pszcode: P0,
pszitemname: P1,
pszdelimiter: P2,
dwcookie: u32,
dwflags: u32,
) -> Result<()>where
P0: Param<PCWSTR>,
P1: Param<PCWSTR>,
P2: Param<PCWSTR>,
pub unsafe fn GetScriptTextAttributes<P0, P2>(
&self,
pszcode: P0,
cch: u32,
pszdelimiter: P2,
dwflags: u32,
pattr: *mut u16,
) -> Result<()>where
P0: Param<PCWSTR>,
P2: Param<PCWSTR>,
pub unsafe fn GetScriptletTextAttributes<P0, P2>(
&self,
pszcode: P0,
cch: u32,
pszdelimiter: P2,
dwflags: u32,
pattr: *mut u16,
) -> Result<()>where
P0: Param<PCWSTR>,
P2: Param<PCWSTR>,
pub unsafe fn GetRoot(&self) -> Result<IScriptNode>
pub unsafe fn GetLanguageFlags(&self) -> Result<u32>
pub unsafe fn GetEventHandler<P0, P1, P2, P3>(
&self,
pdisp: P0,
pszitem: P1,
pszsubitem: P2,
pszevent: P3,
) -> Result<IScriptEntry>where
P0: Param<IDispatch>,
P1: Param<PCWSTR>,
P2: Param<PCWSTR>,
P3: Param<PCWSTR>,
pub unsafe fn RemoveNamedItem<P0>(&self, pszname: P0) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn AddTypeLib( &self, rguidtypelib: *const GUID, dwmajor: u32, dwminor: u32, dwflags: u32, ) -> Result<()>
pub unsafe fn RemoveTypeLib( &self, rguidtypelib: *const GUID, dwmajor: u32, dwminor: u32, ) -> Result<()>
pub unsafe fn GetChars(&self, frequestedlist: u32) -> Result<BSTR>
pub unsafe fn GetInfoFromContext<P0>(
&self,
pszcode: P0,
cchcode: u32,
ichcurrentposition: u32,
dwlisttypesrequested: u32,
pdwlisttypesprovided: *mut u32,
pichlistanchorposition: *mut u32,
pichfuncanchorposition: *mut u32,
pmemid: *mut i32,
picurrentparameter: *mut i32,
ppunk: *mut Option<IUnknown>,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn IsCommitChar(&self, ch: u16) -> Result<BOOL>
Trait Implementations§
§impl CanInto<IUnknown> for IActiveScriptAuthor
impl CanInto<IUnknown> for IActiveScriptAuthor
§impl Clone for IActiveScriptAuthor
impl Clone for IActiveScriptAuthor
§fn clone(&self) -> IActiveScriptAuthor
fn clone(&self) -> IActiveScriptAuthor
Returns a copy 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 more§impl Debug for IActiveScriptAuthor
impl Debug for IActiveScriptAuthor
§impl From<&IActiveScriptAuthor> for &IUnknown
impl From<&IActiveScriptAuthor> for &IUnknown
§fn from(value: &IActiveScriptAuthor) -> Self
fn from(value: &IActiveScriptAuthor) -> Self
Converts to this type from the input type.
§impl From<IActiveScriptAuthor> for IUnknown
impl From<IActiveScriptAuthor> for IUnknown
§fn from(value: IActiveScriptAuthor) -> Self
fn from(value: IActiveScriptAuthor) -> Self
Converts to this type from the input type.
§impl Interface for IActiveScriptAuthor
impl Interface for IActiveScriptAuthor
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IActiveScriptAuthor
impl PartialEq for IActiveScriptAuthor
impl Eq for IActiveScriptAuthor
impl StructuralPartialEq for IActiveScriptAuthor
Auto Trait Implementations§
impl Freeze for IActiveScriptAuthor
impl RefUnwindSafe for IActiveScriptAuthor
impl !Send for IActiveScriptAuthor
impl !Sync for IActiveScriptAuthor
impl Unpin for IActiveScriptAuthor
impl UnwindSafe for IActiveScriptAuthor
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