pub trait INetwork_Impl: Sized + IDispatch_Impl {
Show 13 methods // Required methods fn GetName(&self) -> Result<BSTR>; fn SetName(&self, sznetworknewname: &BSTR) -> Result<()>; fn GetDescription(&self) -> Result<BSTR>; fn SetDescription(&self, szdescription: &BSTR) -> Result<()>; fn GetNetworkId(&self) -> Result<GUID>; fn GetDomainType(&self) -> Result<NLM_DOMAIN_TYPE>; fn GetNetworkConnections(&self) -> Result<IEnumNetworkConnections>; fn GetTimeCreatedAndConnected( &self, pdwlowdatetimecreated: *mut u32, pdwhighdatetimecreated: *mut u32, pdwlowdatetimeconnected: *mut u32, pdwhighdatetimeconnected: *mut u32, ) -> Result<()>; fn IsConnectedToInternet(&self) -> Result<VARIANT_BOOL>; fn IsConnected(&self) -> Result<VARIANT_BOOL>; fn GetConnectivity(&self) -> Result<NLM_CONNECTIVITY>; fn GetCategory(&self) -> Result<NLM_NETWORK_CATEGORY>; fn SetCategory(&self, newcategory: NLM_NETWORK_CATEGORY) -> Result<()>;
}

Required Methods§

fn GetName(&self) -> Result<BSTR>

fn SetName(&self, sznetworknewname: &BSTR) -> Result<()>

fn GetDescription(&self) -> Result<BSTR>

fn SetDescription(&self, szdescription: &BSTR) -> Result<()>

fn GetNetworkId(&self) -> Result<GUID>

fn GetDomainType(&self) -> Result<NLM_DOMAIN_TYPE>

fn GetNetworkConnections(&self) -> Result<IEnumNetworkConnections>

fn GetTimeCreatedAndConnected( &self, pdwlowdatetimecreated: *mut u32, pdwhighdatetimecreated: *mut u32, pdwlowdatetimeconnected: *mut u32, pdwhighdatetimeconnected: *mut u32, ) -> Result<()>

fn IsConnectedToInternet(&self) -> Result<VARIANT_BOOL>

fn IsConnected(&self) -> Result<VARIANT_BOOL>

fn GetConnectivity(&self) -> Result<NLM_CONNECTIVITY>

fn GetCategory(&self) -> Result<NLM_NETWORK_CATEGORY>

fn SetCategory(&self, newcategory: NLM_NETWORK_CATEGORY) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§