pub struct IBandSite(/* private fields */);
Implementations§
Source§impl IBandSite
impl IBandSite
pub unsafe fn AddBand<'a>( &self, punk: impl IntoParam<'a, IUnknown>, ) -> Result<()>
pub unsafe fn EnumBands(&self, uband: u32) -> Result<u32>
pub unsafe fn QueryBand( &self, dwbandid: u32, ppstb: *mut Option<IDeskBand>, pdwstate: *mut u32, pszname: PWSTR, cchname: i32, ) -> Result<()>
pub unsafe fn SetBandState( &self, dwbandid: u32, dwmask: u32, dwstate: u32, ) -> Result<()>
pub unsafe fn RemoveBand(&self, dwbandid: u32) -> Result<()>
pub unsafe fn GetBandObject<T: Interface>(&self, dwbandid: u32) -> Result<T>
pub unsafe fn SetBandSiteInfo(&self, pbsinfo: *const BANDSITEINFO) -> Result<()>
pub unsafe fn GetBandSiteInfo(&self, pbsinfo: *mut BANDSITEINFO) -> Result<()>
Trait Implementations§
Source§impl Interface for IBandSite
impl Interface for IBandSite
const IID: Guid
type Vtable = IBandSite_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 IBandSite
impl StructuralPartialEq for IBandSite
Auto Trait Implementations§
impl Freeze for IBandSite
impl RefUnwindSafe for IBandSite
impl !Send for IBandSite
impl !Sync for IBandSite
impl Unpin for IBandSite
impl UnwindSafe for IBandSite
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