windows::Win32::Media::DeviceManager

Trait IWMDMMetaData_Impl

pub trait IWMDMMetaData_Impl: IUnknownImpl {
    // Required methods
    fn AddItem(
        &self,
        type: WMDM_TAG_DATATYPE,
        pwsztagname: &PCWSTR,
        pvalue: *const u8,
        ilength: u32,
    ) -> Result<()>;
    fn QueryByName(
        &self,
        pwsztagname: &PCWSTR,
        ptype: *mut WMDM_TAG_DATATYPE,
        pvalue: *mut *mut u8,
        pcblength: *mut u32,
    ) -> Result<()>;
    fn QueryByIndex(
        &self,
        iindex: u32,
        ppwszname: *mut *mut u16,
        ptype: *mut WMDM_TAG_DATATYPE,
        ppvalue: *mut *mut u8,
        pcblength: *mut u32,
    ) -> Result<()>;
    fn GetItemCount(&self) -> Result<u32>;
}

Required Methods§

fn AddItem( &self, type: WMDM_TAG_DATATYPE, pwsztagname: &PCWSTR, pvalue: *const u8, ilength: u32, ) -> Result<()>

fn QueryByName( &self, pwsztagname: &PCWSTR, ptype: *mut WMDM_TAG_DATATYPE, pvalue: *mut *mut u8, pcblength: *mut u32, ) -> Result<()>

fn QueryByIndex( &self, iindex: u32, ppwszname: *mut *mut u16, ptype: *mut WMDM_TAG_DATATYPE, ppvalue: *mut *mut u8, pcblength: *mut u32, ) -> Result<()>

fn GetItemCount(&self) -> Result<u32>

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§