windows::Win32::Devices::FunctionDiscovery

Trait IPNPXDeviceAssociation_Impl

pub trait IPNPXDeviceAssociation_Impl: IUnknownImpl {
    // Required methods
    fn Associate(
        &self,
        pszsubcategory: &PCWSTR,
        pifunctiondiscoverynotification: Ref<'_, IFunctionDiscoveryNotification>,
    ) -> Result<()>;
    fn Unassociate(
        &self,
        pszsubcategory: &PCWSTR,
        pifunctiondiscoverynotification: Ref<'_, IFunctionDiscoveryNotification>,
    ) -> Result<()>;
    fn Delete(
        &self,
        pszsubcategory: &PCWSTR,
        pifunctiondiscoverynotification: Ref<'_, IFunctionDiscoveryNotification>,
    ) -> Result<()>;
}

Required Methods§

fn Associate( &self, pszsubcategory: &PCWSTR, pifunctiondiscoverynotification: Ref<'_, IFunctionDiscoveryNotification>, ) -> Result<()>

fn Unassociate( &self, pszsubcategory: &PCWSTR, pifunctiondiscoverynotification: Ref<'_, IFunctionDiscoveryNotification>, ) -> Result<()>

fn Delete( &self, pszsubcategory: &PCWSTR, pifunctiondiscoverynotification: Ref<'_, IFunctionDiscoveryNotification>, ) -> 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§