pub struct IPicture2(/* private fields */);Implementations§
Source§impl IPicture2
impl IPicture2
pub unsafe fn get_Handle(&self, phandle: *mut usize) -> ErrorCode
pub unsafe fn get_hPal(&self, phpal: *mut usize) -> ErrorCode
pub unsafe fn get_Type(&self, ptype: *mut i16) -> ErrorCode
pub unsafe fn get_Width(&self, pwidth: *mut i32) -> ErrorCode
pub unsafe fn get_Height(&self, pheight: *mut i32) -> ErrorCode
pub unsafe fn Render<'a, T0__: IntoParam<'a, HDC>>( &self, hdc: T0__, x: i32, y: i32, cx: i32, cy: i32, xsrc: i32, ysrc: i32, cxsrc: i32, cysrc: i32, prcwbounds: *mut RECT, ) -> ErrorCode
pub unsafe fn set_hPal(&self, hpal: usize) -> ErrorCode
pub unsafe fn get_CurDC(&self, phdc: *mut HDC) -> ErrorCode
pub unsafe fn SelectPicture<'a, T0__: IntoParam<'a, HDC>>( &self, hdcin: T0__, phdcout: *mut HDC, phbmpout: *mut usize, ) -> ErrorCode
pub unsafe fn get_KeepOriginalFormat(&self, pkeep: *mut BOOL) -> ErrorCode
pub unsafe fn put_KeepOriginalFormat<'a, T0__: IntoParam<'a, BOOL>>( &self, keep: T0__, ) -> ErrorCode
pub unsafe fn PictureChanged(&self) -> ErrorCode
pub unsafe fn SaveAsFile<'a, T0__: IntoParam<'a, IStream>, T1__: IntoParam<'a, BOOL>>( &self, pstream: T0__, fsavememcopy: T1__, pcbsize: *mut i32, ) -> ErrorCode
pub unsafe fn get_Attributes(&self, pdwattr: *mut u32) -> ErrorCode
Trait Implementations§
Source§impl Interface for IPicture2
impl Interface for IPicture2
const IID: Guid
type Vtable = IPicture2_abi
Source§impl<'a> IntoParam<'a, IUnknown> for &'a IPicture2
impl<'a> IntoParam<'a, IUnknown> for &'a IPicture2
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IUnknown> for IPicture2
impl<'a> IntoParam<'a, IUnknown> for IPicture2
fn into_param(self) -> Param<'a, IUnknown>
impl Eq for IPicture2
impl StructuralPartialEq for IPicture2
Auto Trait Implementations§
impl Freeze for IPicture2
impl RefUnwindSafe for IPicture2
impl !Send for IPicture2
impl !Sync for IPicture2
impl Unpin for IPicture2
impl UnwindSafe for IPicture2
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
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.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
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