pub struct IShellImageData(/* private fields */);
Implementations§
Source§impl IShellImageData
impl IShellImageData
pub unsafe fn Decode( &self, dwflags: u32, cxdesired: u32, cydesired: u32, ) -> Result<()>
pub unsafe fn Draw<'a>( &self, hdc: impl IntoParam<'a, HDC>, prcdest: *mut RECT, prcsrc: *mut RECT, ) -> Result<()>
pub unsafe fn NextFrame(&self) -> Result<()>
pub unsafe fn NextPage(&self) -> Result<()>
pub unsafe fn PrevPage(&self) -> Result<()>
pub unsafe fn IsTransparent(&self) -> Result<()>
pub unsafe fn IsAnimated(&self) -> Result<()>
pub unsafe fn IsVector(&self) -> Result<()>
pub unsafe fn IsMultipage(&self) -> Result<()>
pub unsafe fn IsEditable(&self) -> Result<()>
pub unsafe fn IsPrintable(&self) -> Result<()>
pub unsafe fn IsDecoded(&self) -> Result<()>
pub unsafe fn GetCurrentPage(&self, pnpage: *mut u32) -> Result<()>
pub unsafe fn GetPageCount(&self, pcpages: *mut u32) -> Result<()>
pub unsafe fn SelectPage(&self, ipage: u32) -> Result<()>
pub unsafe fn GetSize(&self, psize: *mut SIZE) -> Result<()>
pub unsafe fn GetRawDataFormat(&self, pdataformat: *mut Guid) -> Result<()>
pub unsafe fn GetPixelFormat(&self, pformat: *mut u32) -> Result<()>
pub unsafe fn GetDelay(&self, pdwdelay: *mut u32) -> Result<()>
pub unsafe fn GetProperties(&self, dwmode: u32) -> Result<IPropertySetStorage>
pub unsafe fn Rotate(&self, dwangle: u32) -> Result<()>
pub unsafe fn Scale(&self, cx: u32, cy: u32, hints: u32) -> Result<()>
pub unsafe fn DiscardEdit(&self) -> Result<()>
pub unsafe fn SetEncoderParams<'a>( &self, pbagenc: impl IntoParam<'a, IPropertyBag>, ) -> Result<()>
pub unsafe fn DisplayName<'a>( &self, wszname: impl IntoParam<'a, PWSTR>, cch: u32, ) -> Result<()>
pub unsafe fn GetResolution( &self, puresolutionx: *mut u32, puresolutiony: *mut u32, ) -> Result<()>
pub unsafe fn GetEncoderParams( &self, pguidfmt: *mut Guid, ppencparams: *mut *mut u8, ) -> Result<()>
pub unsafe fn RegisterAbort<'a>( &self, pabort: impl IntoParam<'a, IShellImageDataAbort>, ) -> Result<IShellImageDataAbort>
pub unsafe fn CloneFrame(&self, ppimg: *mut *mut u8) -> Result<()>
pub unsafe fn ReplaceFrame(&self, pimg: *mut u8) -> Result<()>
Trait Implementations§
Source§impl Clone for IShellImageData
impl Clone for IShellImageData
Source§fn clone(&self) -> IShellImageData
fn clone(&self) -> IShellImageData
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 IShellImageData
impl Debug for IShellImageData
Source§impl From<&IShellImageData> for IUnknown
impl From<&IShellImageData> for IUnknown
Source§fn from(value: &IShellImageData) -> Self
fn from(value: &IShellImageData) -> Self
Converts to this type from the input type.
Source§impl From<IShellImageData> for IUnknown
impl From<IShellImageData> for IUnknown
Source§fn from(value: IShellImageData) -> Self
fn from(value: IShellImageData) -> Self
Converts to this type from the input type.
Source§impl Interface for IShellImageData
impl Interface for IShellImageData
const IID: Guid
type Vtable = IShellImageData_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 IShellImageData
impl PartialEq for IShellImageData
impl Eq for IShellImageData
impl StructuralPartialEq for IShellImageData
Auto Trait Implementations§
impl Freeze for IShellImageData
impl RefUnwindSafe for IShellImageData
impl !Send for IShellImageData
impl !Sync for IShellImageData
impl Unpin for IShellImageData
impl UnwindSafe for IShellImageData
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