Trait windows::Win32::UI::Shell::IHWEventHandler_Impl
pub trait IHWEventHandler_Impl: Sized {
// 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: Option<&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: Option<&IDataObject> ) -> Result<()>
Object Safety§
This trait is not object safe.