Trait windows::Win32::System::Ole::IPicture_Impl
pub trait IPicture_Impl: Sized {
Show 14 methods
// Required methods
fn Handle(&self) -> Result<OLE_HANDLE>;
fn hPal(&self) -> Result<OLE_HANDLE>;
fn Type(&self) -> Result<PICTYPE>;
fn Width(&self) -> Result<i32>;
fn Height(&self) -> Result<i32>;
fn Render(
&self,
hdc: HDC,
x: i32,
y: i32,
cx: i32,
cy: i32,
xsrc: i32,
ysrc: i32,
cxsrc: i32,
cysrc: i32,
prcwbounds: *const RECT,
) -> Result<()>;
fn set_hPal(&self, hpal: OLE_HANDLE) -> Result<()>;
fn CurDC(&self) -> Result<HDC>;
fn SelectPicture(
&self,
hdcin: HDC,
phdcout: *mut HDC,
phbmpout: *mut OLE_HANDLE,
) -> Result<()>;
fn KeepOriginalFormat(&self) -> Result<BOOL>;
fn SetKeepOriginalFormat(&self, keep: BOOL) -> Result<()>;
fn PictureChanged(&self) -> Result<()>;
fn SaveAsFile(
&self,
pstream: Option<&IStream>,
fsavememcopy: BOOL,
) -> Result<i32>;
fn Attributes(&self) -> Result<u32>;
}
Required Methods§
fn Handle(&self) -> Result<OLE_HANDLE>
fn hPal(&self) -> Result<OLE_HANDLE>
fn Type(&self) -> Result<PICTYPE>
fn Width(&self) -> Result<i32>
fn Height(&self) -> Result<i32>
fn Render( &self, hdc: HDC, x: i32, y: i32, cx: i32, cy: i32, xsrc: i32, ysrc: i32, cxsrc: i32, cysrc: i32, prcwbounds: *const RECT, ) -> Result<()>
fn set_hPal(&self, hpal: OLE_HANDLE) -> Result<()>
fn CurDC(&self) -> Result<HDC>
fn SelectPicture( &self, hdcin: HDC, phdcout: *mut HDC, phbmpout: *mut OLE_HANDLE, ) -> Result<()>
fn KeepOriginalFormat(&self) -> Result<BOOL>
fn SetKeepOriginalFormat(&self, keep: BOOL) -> Result<()>
fn PictureChanged(&self) -> Result<()>
fn SaveAsFile( &self, pstream: Option<&IStream>, fsavememcopy: BOOL, ) -> Result<i32>
fn Attributes(&self) -> Result<u32>
Object Safety§
This trait is not object safe.