pub struct IBindHost(/* private fields */);
Implementations§
§impl IBindHost
impl IBindHost
pub unsafe fn CreateMoniker<P0, P1>( &self, szname: P0, pbc: P1, ppmk: *mut Option<IMoniker>, dwreserved: u32 ) -> Result<()>
pub unsafe fn MonikerBindToStorage<P0, P1, P2>( &self, pmk: P0, pbc: P1, pbsc: P2, riid: *const GUID, ppvobj: *mut *mut c_void ) -> Result<()>
pub unsafe fn MonikerBindToObject<P0, P1, P2>( &self, pmk: P0, pbc: P1, pbsc: P2, riid: *const GUID, ppvobj: *mut *mut c_void ) -> Result<()>
Trait Implementations§
§impl Interface for IBindHost
impl Interface for IBindHost
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read moreimpl Eq for IBindHost
impl StructuralPartialEq for IBindHost
Auto Trait Implementations§
impl RefUnwindSafe for IBindHost
impl !Send for IBindHost
impl !Sync for IBindHost
impl Unpin for IBindHost
impl UnwindSafe for IBindHost
Blanket Implementations§
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