pub struct IThumbnailStreamCache(/* private fields */);
Implementations§
Source§impl IThumbnailStreamCache
impl IThumbnailStreamCache
pub unsafe fn GetThumbnailStream<'a>( &self, path: impl IntoParam<'a, PWSTR>, cacheid: u64, options: ThumbnailStreamCacheOptions, requestedthumbnailsize: u32, thumbnailsize: *mut SIZE, thumbnailstream: *mut Option<IStream>, ) -> Result<()>
pub unsafe fn SetThumbnailStream<'a>( &self, path: impl IntoParam<'a, PWSTR>, cacheid: u64, thumbnailsize: impl IntoParam<'a, SIZE>, thumbnailstream: impl IntoParam<'a, IStream>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IThumbnailStreamCache
impl Clone for IThumbnailStreamCache
Source§fn clone(&self) -> IThumbnailStreamCache
fn clone(&self) -> IThumbnailStreamCache
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IThumbnailStreamCache
impl Debug for IThumbnailStreamCache
Source§impl From<&IThumbnailStreamCache> for IUnknown
impl From<&IThumbnailStreamCache> for IUnknown
Source§fn from(value: &IThumbnailStreamCache) -> Self
fn from(value: &IThumbnailStreamCache) -> Self
Converts to this type from the input type.
Source§impl From<IThumbnailStreamCache> for IUnknown
impl From<IThumbnailStreamCache> for IUnknown
Source§fn from(value: IThumbnailStreamCache) -> Self
fn from(value: IThumbnailStreamCache) -> Self
Converts to this type from the input type.
Source§impl Interface for IThumbnailStreamCache
impl Interface for IThumbnailStreamCache
const IID: Guid
type Vtable = IThumbnailStreamCache_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IThumbnailStreamCache
impl PartialEq for IThumbnailStreamCache
impl Eq for IThumbnailStreamCache
impl StructuralPartialEq for IThumbnailStreamCache
Auto Trait Implementations§
impl Freeze for IThumbnailStreamCache
impl RefUnwindSafe for IThumbnailStreamCache
impl !Send for IThumbnailStreamCache
impl !Sync for IThumbnailStreamCache
impl Unpin for IThumbnailStreamCache
impl UnwindSafe for IThumbnailStreamCache
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more