pub struct IHlink(/* private fields */);
Implementations§
Source§impl IHlink
impl IHlink
pub unsafe fn SetHlinkSite<'a>( &self, pihlsite: impl IntoParam<'a, IHlinkSite>, dwsitedata: u32, ) -> Result<()>
pub unsafe fn GetHlinkSite( &self, ppihlsite: *mut Option<IHlinkSite>, pdwsitedata: *mut u32, ) -> Result<()>
pub unsafe fn SetMonikerReference<'a>( &self, grfhlsetf: u32, pimktarget: impl IntoParam<'a, IMoniker>, pwzlocation: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn GetMonikerReference( &self, dwwhichref: u32, ppimktarget: *mut Option<IMoniker>, ppwzlocation: *mut PWSTR, ) -> Result<()>
pub unsafe fn SetStringReference<'a>( &self, grfhlsetf: u32, pwztarget: impl IntoParam<'a, PWSTR>, pwzlocation: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn GetStringReference( &self, dwwhichref: u32, ppwztarget: *mut PWSTR, ppwzlocation: *mut PWSTR, ) -> Result<()>
pub unsafe fn SetFriendlyName<'a>( &self, pwzfriendlyname: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn GetFriendlyName(&self, grfhlfnamef: u32) -> Result<PWSTR>
pub unsafe fn SetTargetFrameName<'a>( &self, pwztargetframename: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn GetTargetFrameName(&self) -> Result<PWSTR>
pub unsafe fn GetMiscStatus(&self) -> Result<u32>
pub unsafe fn SetAdditionalParams<'a>( &self, pwzadditionalparams: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn GetAdditionalParams(&self) -> Result<PWSTR>
Trait Implementations§
Source§impl Interface for IHlink
impl Interface for IHlink
const IID: Guid
type Vtable = IHlink_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
impl Eq for IHlink
impl StructuralPartialEq for IHlink
Auto Trait Implementations§
impl Freeze for IHlink
impl RefUnwindSafe for IHlink
impl !Send for IHlink
impl !Sync for IHlink
impl Unpin for IHlink
impl UnwindSafe for IHlink
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