Trait IHWEventHandler_Impl
pub trait IHWEventHandler_Impl: IUnknownImpl {
// Required methods
fn Initialize(&self, pszparams: &PCWSTR) -> Result<()>;
fn HandleEvent(
&self,
pszdeviceid: &PCWSTR,
pszaltdeviceid: &PCWSTR,
pszeventtype: &PCWSTR,
) -> Result<()>;
fn HandleEventWithContent(
&self,
pszdeviceid: &PCWSTR,
pszaltdeviceid: &PCWSTR,
pszeventtype: &PCWSTR,
pszcontenttypehandler: &PCWSTR,
pdataobject: Ref<'_, IDataObject>,
) -> Result<()>;
}
Required Methods§
fn Initialize(&self, pszparams: &PCWSTR) -> Result<()>
fn HandleEvent( &self, pszdeviceid: &PCWSTR, pszaltdeviceid: &PCWSTR, pszeventtype: &PCWSTR, ) -> Result<()>
fn HandleEventWithContent( &self, pszdeviceid: &PCWSTR, pszaltdeviceid: &PCWSTR, pszeventtype: &PCWSTR, pszcontenttypehandler: &PCWSTR, pdataobject: Ref<'_, IDataObject>, ) -> Result<()>
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.