windows::Win32::NetworkManagement::NetManagement

Trait INetCfg_Impl

pub trait INetCfg_Impl: IUnknownImpl {
    // Required methods
    fn Initialize(&self, pvreserved: *const c_void) -> Result<()>;
    fn Uninitialize(&self) -> Result<()>;
    fn Apply(&self) -> Result<()>;
    fn Cancel(&self) -> Result<()>;
    fn EnumComponents(
        &self,
        pguidclass: *const GUID,
        ppenumcomponent: OutRef<'_, IEnumNetCfgComponent>,
    ) -> Result<()>;
    fn FindComponent(
        &self,
        pszwinfid: &PCWSTR,
        pcomponent: OutRef<'_, INetCfgComponent>,
    ) -> Result<()>;
    fn QueryNetCfgClass(
        &self,
        pguidclass: *const GUID,
        riid: *const GUID,
        ppvobject: *mut *mut c_void,
    ) -> Result<()>;
}

Required Methods§

fn Initialize(&self, pvreserved: *const c_void) -> Result<()>

fn Uninitialize(&self) -> Result<()>

fn Apply(&self) -> Result<()>

fn Cancel(&self) -> Result<()>

fn EnumComponents( &self, pguidclass: *const GUID, ppenumcomponent: OutRef<'_, IEnumNetCfgComponent>, ) -> Result<()>

fn FindComponent( &self, pszwinfid: &PCWSTR, pcomponent: OutRef<'_, INetCfgComponent>, ) -> Result<()>

fn QueryNetCfgClass( &self, pguidclass: *const GUID, riid: *const GUID, ppvobject: *mut *mut c_void, ) -> Result<()>

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§