pub struct IHWEventHandler2(/* private fields */);
Implementations§
Source§impl IHWEventHandler2
impl IHWEventHandler2
pub unsafe fn Initialize<'a>( &self, pszparams: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn HandleEvent<'a>( &self, pszdeviceid: impl IntoParam<'a, PWSTR>, pszaltdeviceid: impl IntoParam<'a, PWSTR>, pszeventtype: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn HandleEventWithContent<'a>( &self, pszdeviceid: impl IntoParam<'a, PWSTR>, pszaltdeviceid: impl IntoParam<'a, PWSTR>, pszeventtype: impl IntoParam<'a, PWSTR>, pszcontenttypehandler: impl IntoParam<'a, PWSTR>, pdataobject: impl IntoParam<'a, IDataObject>, ) -> Result<()>
pub unsafe fn HandleEventWithHWND<'a>( &self, pszdeviceid: impl IntoParam<'a, PWSTR>, pszaltdeviceid: impl IntoParam<'a, PWSTR>, pszeventtype: impl IntoParam<'a, PWSTR>, hwndowner: impl IntoParam<'a, HWND>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IHWEventHandler2
impl Clone for IHWEventHandler2
Source§fn clone(&self) -> IHWEventHandler2
fn clone(&self) -> IHWEventHandler2
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IHWEventHandler2
impl Debug for IHWEventHandler2
Source§impl From<&IHWEventHandler2> for IHWEventHandler
impl From<&IHWEventHandler2> for IHWEventHandler
Source§fn from(value: &IHWEventHandler2) -> Self
fn from(value: &IHWEventHandler2) -> Self
Converts to this type from the input type.
Source§impl From<&IHWEventHandler2> for IUnknown
impl From<&IHWEventHandler2> for IUnknown
Source§fn from(value: &IHWEventHandler2) -> Self
fn from(value: &IHWEventHandler2) -> Self
Converts to this type from the input type.
Source§impl From<IHWEventHandler2> for IHWEventHandler
impl From<IHWEventHandler2> for IHWEventHandler
Source§fn from(value: IHWEventHandler2) -> Self
fn from(value: IHWEventHandler2) -> Self
Converts to this type from the input type.
Source§impl From<IHWEventHandler2> for IUnknown
impl From<IHWEventHandler2> for IUnknown
Source§fn from(value: IHWEventHandler2) -> Self
fn from(value: IHWEventHandler2) -> Self
Converts to this type from the input type.
Source§impl Interface for IHWEventHandler2
impl Interface for IHWEventHandler2
const IID: Guid
type Vtable = IHWEventHandler2_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IHWEventHandler2
impl PartialEq for IHWEventHandler2
impl Eq for IHWEventHandler2
impl StructuralPartialEq for IHWEventHandler2
Auto Trait Implementations§
impl Freeze for IHWEventHandler2
impl RefUnwindSafe for IHWEventHandler2
impl !Send for IHWEventHandler2
impl !Sync for IHWEventHandler2
impl Unpin for IHWEventHandler2
impl UnwindSafe for IHWEventHandler2
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more