pub trait IPortableDeviceValues_Impl: Sized {
Show 40 methods // Required methods fn GetCount(&self, pcelt: *const u32) -> Result<()>; fn GetAt( &self, index: u32, pkey: *mut PROPERTYKEY, pvalue: *mut PROPVARIANT, ) -> Result<()>; fn SetValue( &self, key: *const PROPERTYKEY, pvalue: *const PROPVARIANT, ) -> Result<()>; fn GetValue(&self, key: *const PROPERTYKEY) -> Result<PROPVARIANT>; fn SetStringValue( &self, key: *const PROPERTYKEY, value: &PCWSTR, ) -> Result<()>; fn GetStringValue(&self, key: *const PROPERTYKEY) -> Result<PWSTR>; fn SetUnsignedIntegerValue( &self, key: *const PROPERTYKEY, value: u32, ) -> Result<()>; fn GetUnsignedIntegerValue(&self, key: *const PROPERTYKEY) -> Result<u32>; fn SetSignedIntegerValue( &self, key: *const PROPERTYKEY, value: i32, ) -> Result<()>; fn GetSignedIntegerValue(&self, key: *const PROPERTYKEY) -> Result<i32>; fn SetUnsignedLargeIntegerValue( &self, key: *const PROPERTYKEY, value: u64, ) -> Result<()>; fn GetUnsignedLargeIntegerValue( &self, key: *const PROPERTYKEY, ) -> Result<u64>; fn SetSignedLargeIntegerValue( &self, key: *const PROPERTYKEY, value: i64, ) -> Result<()>; fn GetSignedLargeIntegerValue(&self, key: *const PROPERTYKEY) -> Result<i64>; fn SetFloatValue(&self, key: *const PROPERTYKEY, value: f32) -> Result<()>; fn GetFloatValue(&self, key: *const PROPERTYKEY) -> Result<f32>; fn SetErrorValue( &self, key: *const PROPERTYKEY, value: HRESULT, ) -> Result<()>; fn GetErrorValue(&self, key: *const PROPERTYKEY) -> Result<HRESULT>; fn SetKeyValue( &self, key: *const PROPERTYKEY, value: *const PROPERTYKEY, ) -> Result<()>; fn GetKeyValue( &self, key: *const PROPERTYKEY, pvalue: *mut PROPERTYKEY, ) -> Result<()>; fn SetBoolValue(&self, key: *const PROPERTYKEY, value: BOOL) -> Result<()>; fn GetBoolValue(&self, key: *const PROPERTYKEY) -> Result<BOOL>; fn SetIUnknownValue( &self, key: *const PROPERTYKEY, pvalue: Option<&IUnknown>, ) -> Result<()>; fn GetIUnknownValue(&self, key: *const PROPERTYKEY) -> Result<IUnknown>; fn SetGuidValue( &self, key: *const PROPERTYKEY, value: *const GUID, ) -> Result<()>; fn GetGuidValue(&self, key: *const PROPERTYKEY) -> Result<GUID>; fn SetBufferValue( &self, key: *const PROPERTYKEY, pvalue: *const u8, cbvalue: u32, ) -> Result<()>; fn GetBufferValue( &self, key: *const PROPERTYKEY, ppvalue: *mut *mut u8, pcbvalue: *mut u32, ) -> Result<()>; fn SetIPortableDeviceValuesValue( &self, key: *const PROPERTYKEY, pvalue: Option<&IPortableDeviceValues>, ) -> Result<()>; fn GetIPortableDeviceValuesValue( &self, key: *const PROPERTYKEY, ) -> Result<IPortableDeviceValues>; fn SetIPortableDevicePropVariantCollectionValue( &self, key: *const PROPERTYKEY, pvalue: Option<&IPortableDevicePropVariantCollection>, ) -> Result<()>; fn GetIPortableDevicePropVariantCollectionValue( &self, key: *const PROPERTYKEY, ) -> Result<IPortableDevicePropVariantCollection>; fn SetIPortableDeviceKeyCollectionValue( &self, key: *const PROPERTYKEY, pvalue: Option<&IPortableDeviceKeyCollection>, ) -> Result<()>; fn GetIPortableDeviceKeyCollectionValue( &self, key: *const PROPERTYKEY, ) -> Result<IPortableDeviceKeyCollection>; fn SetIPortableDeviceValuesCollectionValue( &self, key: *const PROPERTYKEY, pvalue: Option<&IPortableDeviceValuesCollection>, ) -> Result<()>; fn GetIPortableDeviceValuesCollectionValue( &self, key: *const PROPERTYKEY, ) -> Result<IPortableDeviceValuesCollection>; fn RemoveValue(&self, key: *const PROPERTYKEY) -> Result<()>; fn CopyValuesFromPropertyStore( &self, pstore: Option<&IPropertyStore>, ) -> Result<()>; fn CopyValuesToPropertyStore( &self, pstore: Option<&IPropertyStore>, ) -> Result<()>; fn Clear(&self) -> Result<()>;
}

Required Methods§

fn GetCount(&self, pcelt: *const u32) -> Result<()>

fn GetAt( &self, index: u32, pkey: *mut PROPERTYKEY, pvalue: *mut PROPVARIANT, ) -> Result<()>

fn SetValue( &self, key: *const PROPERTYKEY, pvalue: *const PROPVARIANT, ) -> Result<()>

fn GetValue(&self, key: *const PROPERTYKEY) -> Result<PROPVARIANT>

fn SetStringValue(&self, key: *const PROPERTYKEY, value: &PCWSTR) -> Result<()>

fn GetStringValue(&self, key: *const PROPERTYKEY) -> Result<PWSTR>

fn SetUnsignedIntegerValue( &self, key: *const PROPERTYKEY, value: u32, ) -> Result<()>

fn GetUnsignedIntegerValue(&self, key: *const PROPERTYKEY) -> Result<u32>

fn SetSignedIntegerValue( &self, key: *const PROPERTYKEY, value: i32, ) -> Result<()>

fn GetSignedIntegerValue(&self, key: *const PROPERTYKEY) -> Result<i32>

fn SetUnsignedLargeIntegerValue( &self, key: *const PROPERTYKEY, value: u64, ) -> Result<()>

fn GetUnsignedLargeIntegerValue(&self, key: *const PROPERTYKEY) -> Result<u64>

fn SetSignedLargeIntegerValue( &self, key: *const PROPERTYKEY, value: i64, ) -> Result<()>

fn GetSignedLargeIntegerValue(&self, key: *const PROPERTYKEY) -> Result<i64>

fn SetFloatValue(&self, key: *const PROPERTYKEY, value: f32) -> Result<()>

fn GetFloatValue(&self, key: *const PROPERTYKEY) -> Result<f32>

fn SetErrorValue(&self, key: *const PROPERTYKEY, value: HRESULT) -> Result<()>

fn GetErrorValue(&self, key: *const PROPERTYKEY) -> Result<HRESULT>

fn SetKeyValue( &self, key: *const PROPERTYKEY, value: *const PROPERTYKEY, ) -> Result<()>

fn GetKeyValue( &self, key: *const PROPERTYKEY, pvalue: *mut PROPERTYKEY, ) -> Result<()>

fn SetBoolValue(&self, key: *const PROPERTYKEY, value: BOOL) -> Result<()>

fn GetBoolValue(&self, key: *const PROPERTYKEY) -> Result<BOOL>

fn SetIUnknownValue( &self, key: *const PROPERTYKEY, pvalue: Option<&IUnknown>, ) -> Result<()>

fn GetIUnknownValue(&self, key: *const PROPERTYKEY) -> Result<IUnknown>

fn SetGuidValue( &self, key: *const PROPERTYKEY, value: *const GUID, ) -> Result<()>

fn GetGuidValue(&self, key: *const PROPERTYKEY) -> Result<GUID>

fn SetBufferValue( &self, key: *const PROPERTYKEY, pvalue: *const u8, cbvalue: u32, ) -> Result<()>

fn GetBufferValue( &self, key: *const PROPERTYKEY, ppvalue: *mut *mut u8, pcbvalue: *mut u32, ) -> Result<()>

fn SetIPortableDeviceValuesValue( &self, key: *const PROPERTYKEY, pvalue: Option<&IPortableDeviceValues>, ) -> Result<()>

fn GetIPortableDeviceValuesValue( &self, key: *const PROPERTYKEY, ) -> Result<IPortableDeviceValues>

fn SetIPortableDevicePropVariantCollectionValue( &self, key: *const PROPERTYKEY, pvalue: Option<&IPortableDevicePropVariantCollection>, ) -> Result<()>

fn GetIPortableDevicePropVariantCollectionValue( &self, key: *const PROPERTYKEY, ) -> Result<IPortableDevicePropVariantCollection>

fn SetIPortableDeviceKeyCollectionValue( &self, key: *const PROPERTYKEY, pvalue: Option<&IPortableDeviceKeyCollection>, ) -> Result<()>

fn GetIPortableDeviceKeyCollectionValue( &self, key: *const PROPERTYKEY, ) -> Result<IPortableDeviceKeyCollection>

fn SetIPortableDeviceValuesCollectionValue( &self, key: *const PROPERTYKEY, pvalue: Option<&IPortableDeviceValuesCollection>, ) -> Result<()>

fn GetIPortableDeviceValuesCollectionValue( &self, key: *const PROPERTYKEY, ) -> Result<IPortableDeviceValuesCollection>

fn RemoveValue(&self, key: *const PROPERTYKEY) -> Result<()>

fn CopyValuesFromPropertyStore( &self, pstore: Option<&IPropertyStore>, ) -> Result<()>

fn CopyValuesToPropertyStore( &self, pstore: Option<&IPropertyStore>, ) -> Result<()>

fn Clear(&self) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§