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

Trait IUPnPDeviceFinderCallback_Impl

pub trait IUPnPDeviceFinderCallback_Impl: IUnknownImpl {
    // Required methods
    fn DeviceAdded(
        &self,
        lfinddata: i32,
        pdevice: Ref<'_, IUPnPDevice>,
    ) -> Result<()>;
    fn DeviceRemoved(&self, lfinddata: i32, bstrudn: &BSTR) -> Result<()>;
    fn SearchComplete(&self, lfinddata: i32) -> Result<()>;
}

Required Methods§

fn DeviceAdded( &self, lfinddata: i32, pdevice: Ref<'_, IUPnPDevice>, ) -> Result<()>

fn DeviceRemoved(&self, lfinddata: i32, bstrudn: &BSTR) -> Result<()>

fn SearchComplete(&self, lfinddata: i32) -> 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§