windows::Win32::NetworkManagement::WiFi

Trait IDot11AdHocManager_Impl

pub trait IDot11AdHocManager_Impl: IUnknownImpl {
    // Required methods
    fn CreateNetwork(
        &self,
        name: &PCWSTR,
        password: &PCWSTR,
        geographicalid: i32,
        pinterface: Ref<'_, IDot11AdHocInterface>,
        psecurity: Ref<'_, IDot11AdHocSecuritySettings>,
        pcontextguid: *const GUID,
    ) -> Result<IDot11AdHocNetwork>;
    fn CommitCreatedNetwork(
        &self,
        piadhoc: Ref<'_, IDot11AdHocNetwork>,
        fsaveprofile: bool,
        fmakesavedprofileuserspecific: bool,
    ) -> Result<()>;
    fn GetIEnumDot11AdHocNetworks(
        &self,
        pcontextguid: *const GUID,
    ) -> Result<IEnumDot11AdHocNetworks>;
    fn GetIEnumDot11AdHocInterfaces(&self) -> Result<IEnumDot11AdHocInterfaces>;
    fn GetNetwork(
        &self,
        networksignature: *const GUID,
    ) -> Result<IDot11AdHocNetwork>;
}

Required Methods§

fn CreateNetwork( &self, name: &PCWSTR, password: &PCWSTR, geographicalid: i32, pinterface: Ref<'_, IDot11AdHocInterface>, psecurity: Ref<'_, IDot11AdHocSecuritySettings>, pcontextguid: *const GUID, ) -> Result<IDot11AdHocNetwork>

fn CommitCreatedNetwork( &self, piadhoc: Ref<'_, IDot11AdHocNetwork>, fsaveprofile: bool, fmakesavedprofileuserspecific: bool, ) -> Result<()>

fn GetIEnumDot11AdHocNetworks( &self, pcontextguid: *const GUID, ) -> Result<IEnumDot11AdHocNetworks>

fn GetIEnumDot11AdHocInterfaces(&self) -> Result<IEnumDot11AdHocInterfaces>

fn GetNetwork( &self, networksignature: *const GUID, ) -> Result<IDot11AdHocNetwork>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§