Trait windows::Win32::System::Ole::IOleUIObjInfoW_Impl
pub trait IOleUIObjInfoW_Impl: Sized {
// Required methods
fn GetObjectInfo(
&self,
dwobject: u32,
lpdwobjsize: *mut u32,
lplpszlabel: *mut PWSTR,
lplpsztype: *mut PWSTR,
lplpszshorttype: *mut PWSTR,
lplpszlocation: *mut PWSTR,
) -> Result<()>;
fn GetConvertInfo(
&self,
dwobject: u32,
lpclassid: *mut GUID,
lpwformat: *mut u16,
lpconvertdefaultclassid: *mut GUID,
lplpclsidexclude: *mut *mut GUID,
lpcclsidexclude: *mut u32,
) -> Result<()>;
fn ConvertObject(&self, dwobject: u32, clsidnew: *const GUID) -> Result<()>;
fn GetViewInfo(
&self,
dwobject: u32,
phmetapict: *const HGLOBAL,
pdvaspect: *const u32,
pncurrentscale: *const i32,
) -> Result<()>;
fn SetViewInfo(
&self,
dwobject: u32,
hmetapict: HGLOBAL,
dvaspect: u32,
ncurrentscale: i32,
brelativetoorig: BOOL,
) -> Result<()>;
}
Required Methods§
fn GetObjectInfo( &self, dwobject: u32, lpdwobjsize: *mut u32, lplpszlabel: *mut PWSTR, lplpsztype: *mut PWSTR, lplpszshorttype: *mut PWSTR, lplpszlocation: *mut PWSTR, ) -> Result<()>
fn GetConvertInfo( &self, dwobject: u32, lpclassid: *mut GUID, lpwformat: *mut u16, lpconvertdefaultclassid: *mut GUID, lplpclsidexclude: *mut *mut GUID, lpcclsidexclude: *mut u32, ) -> Result<()>
fn ConvertObject(&self, dwobject: u32, clsidnew: *const GUID) -> Result<()>
fn GetViewInfo( &self, dwobject: u32, phmetapict: *const HGLOBAL, pdvaspect: *const u32, pncurrentscale: *const i32, ) -> Result<()>
fn SetViewInfo( &self, dwobject: u32, hmetapict: HGLOBAL, dvaspect: u32, ncurrentscale: i32, brelativetoorig: BOOL, ) -> Result<()>
Object Safety§
This trait is not object safe.