Struct windows::Win32::UI::Shell::IThumbnailStreamCache
pub struct IThumbnailStreamCache(/* private fields */);
Implementations§
§impl IThumbnailStreamCache
impl IThumbnailStreamCache
pub unsafe fn GetThumbnailStream<P0>(
&self,
path: P0,
cacheid: u64,
options: ThumbnailStreamCacheOptions,
requestedthumbnailsize: u32,
thumbnailsize: *mut SIZE,
thumbnailstream: *mut Option<IStream>
) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn SetThumbnailStream<P0, P1>( &self, path: P0, cacheid: u64, thumbnailsize: SIZE, thumbnailstream: P1 ) -> Result<()>
Trait Implementations§
§impl Clone for IThumbnailStreamCache
impl Clone for IThumbnailStreamCache
§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 more§impl Debug for IThumbnailStreamCache
impl Debug for IThumbnailStreamCache
§impl From<&IThumbnailStreamCache> for &IUnknown
impl From<&IThumbnailStreamCache> for &IUnknown
§fn from(value: &IThumbnailStreamCache) -> Self
fn from(value: &IThumbnailStreamCache) -> Self
Converts to this type from the input type.
§impl From<IThumbnailStreamCache> for IUnknown
impl From<IThumbnailStreamCache> for IUnknown
§fn from(value: IThumbnailStreamCache) -> Self
fn from(value: IThumbnailStreamCache) -> Self
Converts to this type from the input type.
§impl Interface for IThumbnailStreamCache
impl Interface for IThumbnailStreamCache
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IThumbnailStreamCache
impl PartialEq for IThumbnailStreamCache
§fn eq(&self, other: &IThumbnailStreamCache) -> bool
fn eq(&self, other: &IThumbnailStreamCache) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IThumbnailStreamCache
impl StructuralPartialEq for IThumbnailStreamCache
Auto Trait Implementations§
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> 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