pub struct IThumbnailCache(/* private fields */);
Implementations§
Source§impl IThumbnailCache
impl IThumbnailCache
pub unsafe fn GetThumbnail<'a>( &self, pshellitem: impl IntoParam<'a, IShellItem>, cxyrequestedthumbsize: u32, flags: WTS_FLAGS, ppvthumb: *mut Option<ISharedBitmap>, poutflags: *mut WTS_CACHEFLAGS, pthumbnailid: *mut WTS_THUMBNAILID, ) -> Result<()>
pub unsafe fn GetThumbnailByID<'a>( &self, thumbnailid: impl IntoParam<'a, WTS_THUMBNAILID>, cxyrequestedthumbsize: u32, ppvthumb: *mut Option<ISharedBitmap>, poutflags: *mut WTS_CACHEFLAGS, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IThumbnailCache
impl Clone for IThumbnailCache
Source§fn clone(&self) -> IThumbnailCache
fn clone(&self) -> IThumbnailCache
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 IThumbnailCache
impl Debug for IThumbnailCache
Source§impl From<&IThumbnailCache> for IUnknown
impl From<&IThumbnailCache> for IUnknown
Source§fn from(value: &IThumbnailCache) -> Self
fn from(value: &IThumbnailCache) -> Self
Converts to this type from the input type.
Source§impl From<IThumbnailCache> for IUnknown
impl From<IThumbnailCache> for IUnknown
Source§fn from(value: IThumbnailCache) -> Self
fn from(value: IThumbnailCache) -> Self
Converts to this type from the input type.
Source§impl Interface for IThumbnailCache
impl Interface for IThumbnailCache
const IID: Guid
type Vtable = IThumbnailCache_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 IThumbnailCache
impl PartialEq for IThumbnailCache
impl Eq for IThumbnailCache
impl StructuralPartialEq for IThumbnailCache
Auto Trait Implementations§
impl Freeze for IThumbnailCache
impl RefUnwindSafe for IThumbnailCache
impl !Send for IThumbnailCache
impl !Sync for IThumbnailCache
impl Unpin for IThumbnailCache
impl UnwindSafe for IThumbnailCache
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