pub trait IPortableDeviceContent_Impl: Sized {
    // Required methods
    fn EnumObjects(
        &self,
        dwflags: u32,
        pszparentobjectid: &PCWSTR,
        pfilter: Option<&IPortableDeviceValues>,
    ) -> Result<IEnumPortableDeviceObjectIDs>;
    fn Properties(&self) -> Result<IPortableDeviceProperties>;
    fn Transfer(&self) -> Result<IPortableDeviceResources>;
    fn CreateObjectWithPropertiesOnly(
        &self,
        pvalues: Option<&IPortableDeviceValues>,
        ppszobjectid: *mut PWSTR,
    ) -> Result<()>;
    fn CreateObjectWithPropertiesAndData(
        &self,
        pvalues: Option<&IPortableDeviceValues>,
        ppdata: *mut Option<IStream>,
        pdwoptimalwritebuffersize: *mut u32,
        ppszcookie: *mut PWSTR,
    ) -> Result<()>;
    fn Delete(
        &self,
        dwoptions: u32,
        pobjectids: Option<&IPortableDevicePropVariantCollection>,
        ppresults: *mut Option<IPortableDevicePropVariantCollection>,
    ) -> Result<()>;
    fn GetObjectIDsFromPersistentUniqueIDs(
        &self,
        ppersistentuniqueids: Option<&IPortableDevicePropVariantCollection>,
    ) -> Result<IPortableDevicePropVariantCollection>;
    fn Cancel(&self) -> Result<()>;
    fn Move(
        &self,
        pobjectids: Option<&IPortableDevicePropVariantCollection>,
        pszdestinationfolderobjectid: &PCWSTR,
        ppresults: *mut Option<IPortableDevicePropVariantCollection>,
    ) -> Result<()>;
    fn Copy(
        &self,
        pobjectids: Option<&IPortableDevicePropVariantCollection>,
        pszdestinationfolderobjectid: &PCWSTR,
        ppresults: *mut Option<IPortableDevicePropVariantCollection>,
    ) -> Result<()>;
}

Required Methods§

fn EnumObjects( &self, dwflags: u32, pszparentobjectid: &PCWSTR, pfilter: Option<&IPortableDeviceValues>, ) -> Result<IEnumPortableDeviceObjectIDs>

fn Properties(&self) -> Result<IPortableDeviceProperties>

fn Transfer(&self) -> Result<IPortableDeviceResources>

fn CreateObjectWithPropertiesOnly( &self, pvalues: Option<&IPortableDeviceValues>, ppszobjectid: *mut PWSTR, ) -> Result<()>

fn CreateObjectWithPropertiesAndData( &self, pvalues: Option<&IPortableDeviceValues>, ppdata: *mut Option<IStream>, pdwoptimalwritebuffersize: *mut u32, ppszcookie: *mut PWSTR, ) -> Result<()>

fn Delete( &self, dwoptions: u32, pobjectids: Option<&IPortableDevicePropVariantCollection>, ppresults: *mut Option<IPortableDevicePropVariantCollection>, ) -> Result<()>

fn GetObjectIDsFromPersistentUniqueIDs( &self, ppersistentuniqueids: Option<&IPortableDevicePropVariantCollection>, ) -> Result<IPortableDevicePropVariantCollection>

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

fn Move( &self, pobjectids: Option<&IPortableDevicePropVariantCollection>, pszdestinationfolderobjectid: &PCWSTR, ppresults: *mut Option<IPortableDevicePropVariantCollection>, ) -> Result<()>

fn Copy( &self, pobjectids: Option<&IPortableDevicePropVariantCollection>, pszdestinationfolderobjectid: &PCWSTR, ppresults: *mut Option<IPortableDevicePropVariantCollection>, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§