Struct windows::Win32::NetworkManagement::MobileBroadband::IMbnRegistration
pub struct IMbnRegistration(/* private fields */);
Implementations§
§impl IMbnRegistration
impl IMbnRegistration
pub unsafe fn GetRegisterState(&self) -> Result<MBN_REGISTER_STATE>
pub unsafe fn GetRegisterMode(&self) -> Result<MBN_REGISTER_MODE>
pub unsafe fn GetProviderID(&self) -> Result<BSTR>
pub unsafe fn GetProviderName(&self) -> Result<BSTR>
pub unsafe fn GetRoamingText(&self) -> Result<BSTR>
pub unsafe fn GetAvailableDataClasses(&self) -> Result<u32>
pub unsafe fn GetCurrentDataClass(&self) -> Result<u32>
pub unsafe fn GetRegistrationNetworkError(&self) -> Result<u32>
pub unsafe fn GetPacketAttachNetworkError(&self) -> Result<u32>
pub unsafe fn SetRegisterMode<P0>(
&self,
registermode: MBN_REGISTER_MODE,
providerid: P0,
dataclass: u32
) -> Result<u32>where
P0: Param<PCWSTR>,
Trait Implementations§
§impl Clone for IMbnRegistration
impl Clone for IMbnRegistration
§fn clone(&self) -> IMbnRegistration
fn clone(&self) -> IMbnRegistration
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 more§impl Debug for IMbnRegistration
impl Debug for IMbnRegistration
§impl Deref for IMbnRegistration
impl Deref for IMbnRegistration
§impl From<&IMbnRegistration> for &IUnknown
impl From<&IMbnRegistration> for &IUnknown
§fn from(value: &IMbnRegistration) -> Self
fn from(value: &IMbnRegistration) -> Self
Converts to this type from the input type.
§impl From<IMbnRegistration> for IUnknown
impl From<IMbnRegistration> for IUnknown
§fn from(value: IMbnRegistration) -> Self
fn from(value: IMbnRegistration) -> Self
Converts to this type from the input type.
§impl Interface for IMbnRegistration
impl Interface for IMbnRegistration
§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 more§impl PartialEq for IMbnRegistration
impl PartialEq for IMbnRegistration
§fn eq(&self, other: &IMbnRegistration) -> bool
fn eq(&self, other: &IMbnRegistration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMbnRegistration
impl StructuralPartialEq for IMbnRegistration
Auto Trait Implementations§
impl Freeze for IMbnRegistration
impl RefUnwindSafe for IMbnRegistration
impl !Send for IMbnRegistration
impl !Sync for IMbnRegistration
impl Unpin for IMbnRegistration
impl UnwindSafe for IMbnRegistration
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