pub struct INewShortcutHookW(/* private fields */);
Implementations§
Source§impl INewShortcutHookW
impl INewShortcutHookW
pub unsafe fn SetReferent<'a>( &self, pcszreferent: impl IntoParam<'a, PWSTR>, hwnd: impl IntoParam<'a, HWND>, ) -> Result<()>
pub unsafe fn GetReferent( &self, pszreferent: PWSTR, cchreferent: i32, ) -> Result<()>
pub unsafe fn SetFolder<'a>( &self, pcszfolder: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn GetFolder(&self, pszfolder: PWSTR, cchfolder: i32) -> Result<()>
pub unsafe fn GetName(&self, pszname: PWSTR, cchname: i32) -> Result<()>
pub unsafe fn GetExtension( &self, pszextension: PWSTR, cchextension: i32, ) -> Result<()>
Trait Implementations§
Source§impl Clone for INewShortcutHookW
impl Clone for INewShortcutHookW
Source§fn clone(&self) -> INewShortcutHookW
fn clone(&self) -> INewShortcutHookW
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 INewShortcutHookW
impl Debug for INewShortcutHookW
Source§impl From<&INewShortcutHookW> for IUnknown
impl From<&INewShortcutHookW> for IUnknown
Source§fn from(value: &INewShortcutHookW) -> Self
fn from(value: &INewShortcutHookW) -> Self
Converts to this type from the input type.
Source§impl From<INewShortcutHookW> for IUnknown
impl From<INewShortcutHookW> for IUnknown
Source§fn from(value: INewShortcutHookW) -> Self
fn from(value: INewShortcutHookW) -> Self
Converts to this type from the input type.
Source§impl Interface for INewShortcutHookW
impl Interface for INewShortcutHookW
const IID: Guid
type Vtable = INewShortcutHookW_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 INewShortcutHookW
impl PartialEq for INewShortcutHookW
impl Eq for INewShortcutHookW
impl StructuralPartialEq for INewShortcutHookW
Auto Trait Implementations§
impl Freeze for INewShortcutHookW
impl RefUnwindSafe for INewShortcutHookW
impl !Send for INewShortcutHookW
impl !Sync for INewShortcutHookW
impl Unpin for INewShortcutHookW
impl UnwindSafe for INewShortcutHookW
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