pub trait INetworkListManager_Impl: Sized + IDispatch_Impl {
// Required methods
fn GetNetworks(&self, flags: NLM_ENUM_NETWORK) -> Result<IEnumNetworks>;
fn GetNetwork(&self, gdnetworkid: &GUID) -> Result<INetwork>;
fn GetNetworkConnections(&self) -> Result<IEnumNetworkConnections>;
fn GetNetworkConnection(
&self,
gdnetworkconnectionid: &GUID,
) -> Result<INetworkConnection>;
fn IsConnectedToInternet(&self) -> Result<VARIANT_BOOL>;
fn IsConnected(&self) -> Result<VARIANT_BOOL>;
fn GetConnectivity(&self) -> Result<NLM_CONNECTIVITY>;
fn SetSimulatedProfileInfo(
&self,
psimulatedinfo: *const NLM_SIMULATED_PROFILE_INFO,
) -> Result<()>;
fn ClearSimulatedProfileInfo(&self) -> Result<()>;
}
Required Methods§
fn GetNetworks(&self, flags: NLM_ENUM_NETWORK) -> Result<IEnumNetworks>
fn GetNetwork(&self, gdnetworkid: &GUID) -> Result<INetwork>
fn GetNetworkConnections(&self) -> Result<IEnumNetworkConnections>
fn GetNetworkConnection( &self, gdnetworkconnectionid: &GUID, ) -> Result<INetworkConnection>
fn IsConnectedToInternet(&self) -> Result<VARIANT_BOOL>
fn IsConnected(&self) -> Result<VARIANT_BOOL>
fn GetConnectivity(&self) -> Result<NLM_CONNECTIVITY>
fn SetSimulatedProfileInfo( &self, psimulatedinfo: *const NLM_SIMULATED_PROFILE_INFO, ) -> Result<()>
fn ClearSimulatedProfileInfo(&self) -> Result<()>
Object Safety§
This trait is not object safe.