windows::Win32::Media::DeviceManager

Trait IMDSPStorage4_Impl

pub trait IMDSPStorage4_Impl: IMDSPStorage3_Impl {
    // Required methods
    fn SetReferences(
        &self,
        dwrefs: u32,
        ppispstorage: *const Option<IMDSPStorage>,
    ) -> Result<()>;
    fn GetReferences(
        &self,
        pdwrefs: *mut u32,
        pppispstorage: *mut *mut Option<IMDSPStorage>,
    ) -> Result<()>;
    fn CreateStorageWithMetadata(
        &self,
        dwattributes: u32,
        pwszname: &PCWSTR,
        pmetadata: Ref<'_, IWMDMMetaData>,
        qwfilesize: u64,
    ) -> Result<IMDSPStorage>;
    fn GetSpecifiedMetadata(
        &self,
        cproperties: u32,
        ppwszpropnames: *const PCWSTR,
        pmetadata: Ref<'_, IWMDMMetaData>,
    ) -> Result<()>;
    fn FindStorage(
        &self,
        findscope: WMDM_FIND_SCOPE,
        pwszuniqueid: &PCWSTR,
    ) -> Result<IMDSPStorage>;
    fn GetParent(&self) -> Result<IMDSPStorage>;
}

Required Methods§

fn SetReferences( &self, dwrefs: u32, ppispstorage: *const Option<IMDSPStorage>, ) -> Result<()>

fn GetReferences( &self, pdwrefs: *mut u32, pppispstorage: *mut *mut Option<IMDSPStorage>, ) -> Result<()>

fn CreateStorageWithMetadata( &self, dwattributes: u32, pwszname: &PCWSTR, pmetadata: Ref<'_, IWMDMMetaData>, qwfilesize: u64, ) -> Result<IMDSPStorage>

fn GetSpecifiedMetadata( &self, cproperties: u32, ppwszpropnames: *const PCWSTR, pmetadata: Ref<'_, IWMDMMetaData>, ) -> Result<()>

fn FindStorage( &self, findscope: WMDM_FIND_SCOPE, pwszuniqueid: &PCWSTR, ) -> Result<IMDSPStorage>

fn GetParent(&self) -> Result<IMDSPStorage>

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§