pub trait IActiveScriptSite_Impl: Sized {
    // Required methods
    fn GetLCID(&self) -> Result<u32>;
    fn GetItemInfo(
        &self,
        pstrname: &PCWSTR,
        dwreturnmask: u32,
        ppiunkitem: *mut Option<IUnknown>,
        ppti: *mut Option<ITypeInfo>,
    ) -> Result<()>;
    fn GetDocVersionString(&self) -> Result<BSTR>;
    fn OnScriptTerminate(
        &self,
        pvarresult: *const VARIANT,
        pexcepinfo: *const EXCEPINFO,
    ) -> Result<()>;
    fn OnStateChange(&self, ssscriptstate: SCRIPTSTATE) -> Result<()>;
    fn OnScriptError(
        &self,
        pscripterror: Option<&IActiveScriptError>,
    ) -> Result<()>;
    fn OnEnterScript(&self) -> Result<()>;
    fn OnLeaveScript(&self) -> Result<()>;
}

Required Methods§

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

fn GetItemInfo( &self, pstrname: &PCWSTR, dwreturnmask: u32, ppiunkitem: *mut Option<IUnknown>, ppti: *mut Option<ITypeInfo>, ) -> Result<()>

fn GetDocVersionString(&self) -> Result<BSTR>

fn OnScriptTerminate( &self, pvarresult: *const VARIANT, pexcepinfo: *const EXCEPINFO, ) -> Result<()>

fn OnStateChange(&self, ssscriptstate: SCRIPTSTATE) -> Result<()>

fn OnScriptError(&self, pscripterror: Option<&IActiveScriptError>) -> Result<()>

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

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

Object Safety§

This trait is not object safe.

Implementors§