windows::Win32::Devices::FunctionDiscovery

Trait IFunctionInstanceCollectionQuery_Impl

pub trait IFunctionInstanceCollectionQuery_Impl: IUnknownImpl {
    // Required methods
    fn AddQueryConstraint(
        &self,
        pszconstraintname: &PCWSTR,
        pszconstraintvalue: &PCWSTR,
    ) -> Result<()>;
    fn AddPropertyConstraint(
        &self,
        key: *const PROPERTYKEY,
        pv: *const PROPVARIANT,
        enumpropertyconstraint: PropertyConstraint,
    ) -> Result<()>;
    fn Execute(&self) -> Result<IFunctionInstanceCollection>;
}

Required Methods§

fn AddQueryConstraint( &self, pszconstraintname: &PCWSTR, pszconstraintvalue: &PCWSTR, ) -> Result<()>

fn AddPropertyConstraint( &self, key: *const PROPERTYKEY, pv: *const PROPVARIANT, enumpropertyconstraint: PropertyConstraint, ) -> Result<()>

fn Execute(&self) -> Result<IFunctionInstanceCollection>

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§