windows::Win32::Devices::FunctionDiscovery

Trait IFunctionDiscoveryNotification_Impl

pub trait IFunctionDiscoveryNotification_Impl: IUnknownImpl {
    // Required methods
    fn OnUpdate(
        &self,
        enumqueryupdateaction: QueryUpdateAction,
        fdqcquerycontext: u64,
        pifunctioninstance: Ref<'_, IFunctionInstance>,
    ) -> Result<()>;
    fn OnError(
        &self,
        hr: HRESULT,
        fdqcquerycontext: u64,
        pszprovider: &PCWSTR,
    ) -> Result<()>;
    fn OnEvent(
        &self,
        dweventid: u32,
        fdqcquerycontext: u64,
        pszprovider: &PCWSTR,
    ) -> Result<()>;
}

Required Methods§

fn OnUpdate( &self, enumqueryupdateaction: QueryUpdateAction, fdqcquerycontext: u64, pifunctioninstance: Ref<'_, IFunctionInstance>, ) -> Result<()>

fn OnError( &self, hr: HRESULT, fdqcquerycontext: u64, pszprovider: &PCWSTR, ) -> Result<()>

fn OnEvent( &self, dweventid: u32, fdqcquerycontext: u64, pszprovider: &PCWSTR, ) -> 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§