pub struct IPicture(/* private fields */);Implementations§
Source§impl IPicture
impl IPicture
pub unsafe fn get_Handle(&self, phandle: *mut u32) -> ErrorCode
pub unsafe fn get_hPal(&self, phpal: *mut u32) -> 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: u32) -> 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 u32, ) -> 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 IPicture
impl Interface for IPicture
const IID: Guid
type Vtable = IPicture_abi
Source§impl<'a> IntoParam<'a, IUnknown> for &'a IPicture
impl<'a> IntoParam<'a, IUnknown> for &'a IPicture
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IUnknown> for IPicture
impl<'a> IntoParam<'a, IUnknown> for IPicture
fn into_param(self) -> Param<'a, IUnknown>
impl Eq for IPicture
impl StructuralPartialEq for IPicture
Auto Trait Implementations§
impl Freeze for IPicture
impl RefUnwindSafe for IPicture
impl !Send for IPicture
impl !Sync for IPicture
impl Unpin for IPicture
impl UnwindSafe for IPicture
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