Trait windows::Win32::System::Com::Events::IEventControl_Impl

pub trait IEventControl_Impl: Sized + IDispatch_Impl {
    // Required methods
    fn SetPublisherFilter(
        &self,
        methodname: &BSTR,
        ppublisherfilter: Option<&IPublisherFilter>,
    ) -> Result<()>;
    fn AllowInprocActivation(&self) -> Result<BOOL>;
    fn SetAllowInprocActivation(
        &self,
        fallowinprocactivation: BOOL,
    ) -> Result<()>;
    fn GetSubscriptions(
        &self,
        methodname: &BSTR,
        optionalcriteria: &BSTR,
        optionalerrorindex: *const i32,
    ) -> Result<IEventObjectCollection>;
    fn SetDefaultQuery(&self, methodname: &BSTR, criteria: &BSTR) -> Result<i32>;
}

Required Methods§

fn SetPublisherFilter( &self, methodname: &BSTR, ppublisherfilter: Option<&IPublisherFilter>, ) -> Result<()>

fn AllowInprocActivation(&self) -> Result<BOOL>

fn SetAllowInprocActivation(&self, fallowinprocactivation: BOOL) -> Result<()>

fn GetSubscriptions( &self, methodname: &BSTR, optionalcriteria: &BSTR, optionalerrorindex: *const i32, ) -> Result<IEventObjectCollection>

fn SetDefaultQuery(&self, methodname: &BSTR, criteria: &BSTR) -> Result<i32>

Object Safety§

This trait is not object safe.

Implementors§