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

Trait IActiveScriptAuthor_Impl

pub trait IActiveScriptAuthor_Impl: IUnknownImpl {
Show 14 methods // Required methods fn AddNamedItem( &self, pszname: &PCWSTR, dwflags: u32, pdisp: Ref<'_, IDispatch>, ) -> Result<()>; fn AddScriptlet( &self, pszdefaultname: &PCWSTR, pszcode: &PCWSTR, pszitemname: &PCWSTR, pszsubitemname: &PCWSTR, pszeventname: &PCWSTR, pszdelimiter: &PCWSTR, dwcookie: u32, dwflags: u32, ) -> Result<()>; fn ParseScriptText( &self, pszcode: &PCWSTR, pszitemname: &PCWSTR, pszdelimiter: &PCWSTR, dwcookie: u32, dwflags: u32, ) -> Result<()>; fn GetScriptTextAttributes( &self, pszcode: &PCWSTR, cch: u32, pszdelimiter: &PCWSTR, dwflags: u32, pattr: *mut u16, ) -> Result<()>; fn GetScriptletTextAttributes( &self, pszcode: &PCWSTR, cch: u32, pszdelimiter: &PCWSTR, dwflags: u32, pattr: *mut u16, ) -> Result<()>; fn GetRoot(&self) -> Result<IScriptNode>; fn GetLanguageFlags(&self) -> Result<u32>; fn GetEventHandler( &self, pdisp: Ref<'_, IDispatch>, pszitem: &PCWSTR, pszsubitem: &PCWSTR, pszevent: &PCWSTR, ) -> Result<IScriptEntry>; fn RemoveNamedItem(&self, pszname: &PCWSTR) -> Result<()>; fn AddTypeLib( &self, rguidtypelib: *const GUID, dwmajor: u32, dwminor: u32, dwflags: u32, ) -> Result<()>; fn RemoveTypeLib( &self, rguidtypelib: *const GUID, dwmajor: u32, dwminor: u32, ) -> Result<()>; fn GetChars(&self, frequestedlist: u32) -> Result<BSTR>; fn GetInfoFromContext( &self, pszcode: &PCWSTR, cchcode: u32, ichcurrentposition: u32, dwlisttypesrequested: u32, pdwlisttypesprovided: *mut u32, pichlistanchorposition: *mut u32, pichfuncanchorposition: *mut u32, pmemid: *mut i32, picurrentparameter: *mut i32, ppunk: OutRef<'_, IUnknown>, ) -> Result<()>; fn IsCommitChar(&self, ch: u16) -> Result<BOOL>;
}

Required Methods§

fn AddNamedItem( &self, pszname: &PCWSTR, dwflags: u32, pdisp: Ref<'_, IDispatch>, ) -> Result<()>

fn AddScriptlet( &self, pszdefaultname: &PCWSTR, pszcode: &PCWSTR, pszitemname: &PCWSTR, pszsubitemname: &PCWSTR, pszeventname: &PCWSTR, pszdelimiter: &PCWSTR, dwcookie: u32, dwflags: u32, ) -> Result<()>

fn ParseScriptText( &self, pszcode: &PCWSTR, pszitemname: &PCWSTR, pszdelimiter: &PCWSTR, dwcookie: u32, dwflags: u32, ) -> Result<()>

fn GetScriptTextAttributes( &self, pszcode: &PCWSTR, cch: u32, pszdelimiter: &PCWSTR, dwflags: u32, pattr: *mut u16, ) -> Result<()>

fn GetScriptletTextAttributes( &self, pszcode: &PCWSTR, cch: u32, pszdelimiter: &PCWSTR, dwflags: u32, pattr: *mut u16, ) -> Result<()>

fn GetRoot(&self) -> Result<IScriptNode>

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

fn GetEventHandler( &self, pdisp: Ref<'_, IDispatch>, pszitem: &PCWSTR, pszsubitem: &PCWSTR, pszevent: &PCWSTR, ) -> Result<IScriptEntry>

fn RemoveNamedItem(&self, pszname: &PCWSTR) -> Result<()>

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

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

fn GetChars(&self, frequestedlist: u32) -> Result<BSTR>

fn GetInfoFromContext( &self, pszcode: &PCWSTR, cchcode: u32, ichcurrentposition: u32, dwlisttypesrequested: u32, pdwlisttypesprovided: *mut u32, pichlistanchorposition: *mut u32, pichfuncanchorposition: *mut u32, pmemid: *mut i32, picurrentparameter: *mut i32, ppunk: OutRef<'_, IUnknown>, ) -> Result<()>

fn IsCommitChar(&self, ch: u16) -> Result<BOOL>

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§