windows::Win32::Devices::PortableDevices

Trait IPortableDevicePropertiesBulk_Impl

pub trait IPortableDevicePropertiesBulk_Impl: IUnknownImpl {
    // Required methods
    fn QueueGetValuesByObjectList(
        &self,
        pobjectids: Ref<'_, IPortableDevicePropVariantCollection>,
        pkeys: Ref<'_, IPortableDeviceKeyCollection>,
        pcallback: Ref<'_, IPortableDevicePropertiesBulkCallback>,
    ) -> Result<GUID>;
    fn QueueGetValuesByObjectFormat(
        &self,
        pguidobjectformat: *const GUID,
        pszparentobjectid: &PCWSTR,
        dwdepth: u32,
        pkeys: Ref<'_, IPortableDeviceKeyCollection>,
        pcallback: Ref<'_, IPortableDevicePropertiesBulkCallback>,
    ) -> Result<GUID>;
    fn QueueSetValuesByObjectList(
        &self,
        pobjectvalues: Ref<'_, IPortableDeviceValuesCollection>,
        pcallback: Ref<'_, IPortableDevicePropertiesBulkCallback>,
    ) -> Result<GUID>;
    fn Start(&self, pcontext: *const GUID) -> Result<()>;
    fn Cancel(&self, pcontext: *const GUID) -> Result<()>;
}

Required Methods§

fn QueueGetValuesByObjectList( &self, pobjectids: Ref<'_, IPortableDevicePropVariantCollection>, pkeys: Ref<'_, IPortableDeviceKeyCollection>, pcallback: Ref<'_, IPortableDevicePropertiesBulkCallback>, ) -> Result<GUID>

fn QueueGetValuesByObjectFormat( &self, pguidobjectformat: *const GUID, pszparentobjectid: &PCWSTR, dwdepth: u32, pkeys: Ref<'_, IPortableDeviceKeyCollection>, pcallback: Ref<'_, IPortableDevicePropertiesBulkCallback>, ) -> Result<GUID>

fn QueueSetValuesByObjectList( &self, pobjectvalues: Ref<'_, IPortableDeviceValuesCollection>, pcallback: Ref<'_, IPortableDevicePropertiesBulkCallback>, ) -> Result<GUID>

fn Start(&self, pcontext: *const GUID) -> Result<()>

fn Cancel(&self, pcontext: *const GUID) -> 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§