windows::Win32::System::Diagnostics::Debug::ActiveScript

Trait IActiveScript_Impl

pub trait IActiveScript_Impl: IUnknownImpl {
Show 13 methods // Required methods fn SetScriptSite(&self, pass: Ref<'_, IActiveScriptSite>) -> Result<()>; fn GetScriptSite( &self, riid: *const GUID, ppvobject: *mut *mut c_void, ) -> Result<()>; fn SetScriptState(&self, ss: SCRIPTSTATE) -> Result<()>; fn GetScriptState(&self) -> Result<SCRIPTSTATE>; fn Close(&self) -> Result<()>; fn AddNamedItem(&self, pstrname: &PCWSTR, dwflags: u32) -> Result<()>; fn AddTypeLib( &self, rguidtypelib: *const GUID, dwmajor: u32, dwminor: u32, dwflags: u32, ) -> Result<()>; fn GetScriptDispatch(&self, pstritemname: &PCWSTR) -> Result<IDispatch>; fn GetCurrentScriptThreadID(&self) -> Result<u32>; fn GetScriptThreadID(&self, dwwin32threadid: u32) -> Result<u32>; fn GetScriptThreadState(&self, stidthread: u32) -> Result<SCRIPTTHREADSTATE>; fn InterruptScriptThread( &self, stidthread: u32, pexcepinfo: *const EXCEPINFO, dwflags: u32, ) -> Result<()>; fn Clone(&self) -> Result<IActiveScript>;
}

Required Methods§

fn SetScriptSite(&self, pass: Ref<'_, IActiveScriptSite>) -> Result<()>

fn GetScriptSite( &self, riid: *const GUID, ppvobject: *mut *mut c_void, ) -> Result<()>

fn SetScriptState(&self, ss: SCRIPTSTATE) -> Result<()>

fn GetScriptState(&self) -> Result<SCRIPTSTATE>

fn Close(&self) -> Result<()>

fn AddNamedItem(&self, pstrname: &PCWSTR, dwflags: u32) -> Result<()>

fn AddTypeLib( &self, rguidtypelib: *const GUID, dwmajor: u32, dwminor: u32, dwflags: u32, ) -> Result<()>

fn GetScriptDispatch(&self, pstritemname: &PCWSTR) -> Result<IDispatch>

fn GetCurrentScriptThreadID(&self) -> Result<u32>

fn GetScriptThreadID(&self, dwwin32threadid: u32) -> Result<u32>

fn GetScriptThreadState(&self, stidthread: u32) -> Result<SCRIPTTHREADSTATE>

fn InterruptScriptThread( &self, stidthread: u32, pexcepinfo: *const EXCEPINFO, dwflags: u32, ) -> Result<()>

fn Clone(&self) -> Result<IActiveScript>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§