windows::Win32::Devices::Enumeration::Pnp

Trait IUPnPDeviceFinder_Impl

pub trait IUPnPDeviceFinder_Impl: IDispatch_Impl {
    // Required methods
    fn FindByType(
        &self,
        bstrtypeuri: &BSTR,
        dwflags: u32,
    ) -> Result<IUPnPDevices>;
    fn CreateAsyncFind(
        &self,
        bstrtypeuri: &BSTR,
        dwflags: u32,
        punkdevicefindercallback: Ref<'_, IUnknown>,
    ) -> Result<i32>;
    fn StartAsyncFind(&self, lfinddata: i32) -> Result<()>;
    fn CancelAsyncFind(&self, lfinddata: i32) -> Result<()>;
    fn FindByUDN(&self, bstrudn: &BSTR) -> Result<IUPnPDevice>;
}

Required Methods§

fn FindByType(&self, bstrtypeuri: &BSTR, dwflags: u32) -> Result<IUPnPDevices>

fn CreateAsyncFind( &self, bstrtypeuri: &BSTR, dwflags: u32, punkdevicefindercallback: Ref<'_, IUnknown>, ) -> Result<i32>

fn StartAsyncFind(&self, lfinddata: i32) -> Result<()>

fn CancelAsyncFind(&self, lfinddata: i32) -> Result<()>

fn FindByUDN(&self, bstrudn: &BSTR) -> Result<IUPnPDevice>

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§