pub trait IMFAttributes_Impl: Sized {
Show 30 methods // Required methods fn GetItem( &self, guidkey: *const GUID, pvalue: *mut PROPVARIANT, ) -> Result<()>; fn GetItemType(&self, guidkey: *const GUID) -> Result<MF_ATTRIBUTE_TYPE>; fn CompareItem( &self, guidkey: *const GUID, value: *const PROPVARIANT, ) -> Result<BOOL>; fn Compare( &self, ptheirs: Option<&IMFAttributes>, matchtype: MF_ATTRIBUTES_MATCH_TYPE, ) -> Result<BOOL>; fn GetUINT32(&self, guidkey: *const GUID) -> Result<u32>; fn GetUINT64(&self, guidkey: *const GUID) -> Result<u64>; fn GetDouble(&self, guidkey: *const GUID) -> Result<f64>; fn GetGUID(&self, guidkey: *const GUID) -> Result<GUID>; fn GetStringLength(&self, guidkey: *const GUID) -> Result<u32>; fn GetString( &self, guidkey: *const GUID, pwszvalue: PWSTR, cchbufsize: u32, pcchlength: *mut u32, ) -> Result<()>; fn GetAllocatedString( &self, guidkey: *const GUID, ppwszvalue: *mut PWSTR, pcchlength: *mut u32, ) -> Result<()>; fn GetBlobSize(&self, guidkey: *const GUID) -> Result<u32>; fn GetBlob( &self, guidkey: *const GUID, pbuf: *mut u8, cbbufsize: u32, pcbblobsize: *mut u32, ) -> Result<()>; fn GetAllocatedBlob( &self, guidkey: *const GUID, ppbuf: *mut *mut u8, pcbsize: *mut u32, ) -> Result<()>; fn GetUnknown( &self, guidkey: *const GUID, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>; fn SetItem( &self, guidkey: *const GUID, value: *const PROPVARIANT, ) -> Result<()>; fn DeleteItem(&self, guidkey: *const GUID) -> Result<()>; fn DeleteAllItems(&self) -> Result<()>; fn SetUINT32(&self, guidkey: *const GUID, unvalue: u32) -> Result<()>; fn SetUINT64(&self, guidkey: *const GUID, unvalue: u64) -> Result<()>; fn SetDouble(&self, guidkey: *const GUID, fvalue: f64) -> Result<()>; fn SetGUID( &self, guidkey: *const GUID, guidvalue: *const GUID, ) -> Result<()>; fn SetString(&self, guidkey: *const GUID, wszvalue: &PCWSTR) -> Result<()>; fn SetBlob( &self, guidkey: *const GUID, pbuf: *const u8, cbbufsize: u32, ) -> Result<()>; fn SetUnknown( &self, guidkey: *const GUID, punknown: Option<&IUnknown>, ) -> Result<()>; fn LockStore(&self) -> Result<()>; fn UnlockStore(&self) -> Result<()>; fn GetCount(&self) -> Result<u32>; fn GetItemByIndex( &self, unindex: u32, pguidkey: *mut GUID, pvalue: *mut PROPVARIANT, ) -> Result<()>; fn CopyAllItems(&self, pdest: Option<&IMFAttributes>) -> Result<()>;
}

Required Methods§

fn GetItem(&self, guidkey: *const GUID, pvalue: *mut PROPVARIANT) -> Result<()>

fn GetItemType(&self, guidkey: *const GUID) -> Result<MF_ATTRIBUTE_TYPE>

fn CompareItem( &self, guidkey: *const GUID, value: *const PROPVARIANT, ) -> Result<BOOL>

fn Compare( &self, ptheirs: Option<&IMFAttributes>, matchtype: MF_ATTRIBUTES_MATCH_TYPE, ) -> Result<BOOL>

fn GetUINT32(&self, guidkey: *const GUID) -> Result<u32>

fn GetUINT64(&self, guidkey: *const GUID) -> Result<u64>

fn GetDouble(&self, guidkey: *const GUID) -> Result<f64>

fn GetGUID(&self, guidkey: *const GUID) -> Result<GUID>

fn GetStringLength(&self, guidkey: *const GUID) -> Result<u32>

fn GetString( &self, guidkey: *const GUID, pwszvalue: PWSTR, cchbufsize: u32, pcchlength: *mut u32, ) -> Result<()>

fn GetAllocatedString( &self, guidkey: *const GUID, ppwszvalue: *mut PWSTR, pcchlength: *mut u32, ) -> Result<()>

fn GetBlobSize(&self, guidkey: *const GUID) -> Result<u32>

fn GetBlob( &self, guidkey: *const GUID, pbuf: *mut u8, cbbufsize: u32, pcbblobsize: *mut u32, ) -> Result<()>

fn GetAllocatedBlob( &self, guidkey: *const GUID, ppbuf: *mut *mut u8, pcbsize: *mut u32, ) -> Result<()>

fn GetUnknown( &self, guidkey: *const GUID, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>

fn SetItem(&self, guidkey: *const GUID, value: *const PROPVARIANT) -> Result<()>

fn DeleteItem(&self, guidkey: *const GUID) -> Result<()>

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

fn SetUINT32(&self, guidkey: *const GUID, unvalue: u32) -> Result<()>

fn SetUINT64(&self, guidkey: *const GUID, unvalue: u64) -> Result<()>

fn SetDouble(&self, guidkey: *const GUID, fvalue: f64) -> Result<()>

fn SetGUID(&self, guidkey: *const GUID, guidvalue: *const GUID) -> Result<()>

fn SetString(&self, guidkey: *const GUID, wszvalue: &PCWSTR) -> Result<()>

fn SetBlob( &self, guidkey: *const GUID, pbuf: *const u8, cbbufsize: u32, ) -> Result<()>

fn SetUnknown( &self, guidkey: *const GUID, punknown: Option<&IUnknown>, ) -> Result<()>

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

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

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

fn GetItemByIndex( &self, unindex: u32, pguidkey: *mut GUID, pvalue: *mut PROPVARIANT, ) -> Result<()>

fn CopyAllItems(&self, pdest: Option<&IMFAttributes>) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§