#[repr(C)]pub struct IViewObject2Vtbl {
pub QueryInterface: Option<unsafe extern "C" fn(This: *mut IViewObject2, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>,
pub AddRef: Option<unsafe extern "C" fn(This: *mut IViewObject2) -> ULONG>,
pub Release: Option<unsafe extern "C" fn(This: *mut IViewObject2) -> ULONG>,
pub Draw: Option<unsafe extern "C" fn(This: *mut IViewObject2, dwDrawAspect: DWORD, lindex: LONG, pvAspect: *mut c_void, ptd: *mut DVTARGETDEVICE, hdcTargetDev: HDC, hdcDraw: HDC, lprcBounds: LPCRECTL, lprcWBounds: LPCRECTL, pfnContinue: Option<unsafe extern "C" fn(dwContinue: ULONG_PTR) -> BOOL>, dwContinue: ULONG_PTR) -> HRESULT>,
pub GetColorSet: Option<unsafe extern "C" fn(This: *mut IViewObject2, dwDrawAspect: DWORD, lindex: LONG, pvAspect: *mut c_void, ptd: *mut DVTARGETDEVICE, hicTargetDev: HDC, ppColorSet: *mut *mut LOGPALETTE) -> HRESULT>,
pub Freeze: Option<unsafe extern "C" fn(This: *mut IViewObject2, dwDrawAspect: DWORD, lindex: LONG, pvAspect: *mut c_void, pdwFreeze: *mut DWORD) -> HRESULT>,
pub Unfreeze: Option<unsafe extern "C" fn(This: *mut IViewObject2, dwFreeze: DWORD) -> HRESULT>,
pub SetAdvise: Option<unsafe extern "C" fn(This: *mut IViewObject2, aspects: DWORD, advf: DWORD, pAdvSink: *mut IAdviseSink) -> HRESULT>,
pub GetAdvise: Option<unsafe extern "C" fn(This: *mut IViewObject2, pAspects: *mut DWORD, pAdvf: *mut DWORD, ppAdvSink: *mut *mut IAdviseSink) -> HRESULT>,
pub GetExtent: Option<unsafe extern "C" fn(This: *mut IViewObject2, dwDrawAspect: DWORD, lindex: LONG, ptd: *mut DVTARGETDEVICE, lpsizel: LPSIZEL) -> HRESULT>,
}
Fields§
§QueryInterface: Option<unsafe extern "C" fn(This: *mut IViewObject2, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>
§AddRef: Option<unsafe extern "C" fn(This: *mut IViewObject2) -> ULONG>
§Release: Option<unsafe extern "C" fn(This: *mut IViewObject2) -> ULONG>
§Draw: Option<unsafe extern "C" fn(This: *mut IViewObject2, dwDrawAspect: DWORD, lindex: LONG, pvAspect: *mut c_void, ptd: *mut DVTARGETDEVICE, hdcTargetDev: HDC, hdcDraw: HDC, lprcBounds: LPCRECTL, lprcWBounds: LPCRECTL, pfnContinue: Option<unsafe extern "C" fn(dwContinue: ULONG_PTR) -> BOOL>, dwContinue: ULONG_PTR) -> HRESULT>
§GetColorSet: Option<unsafe extern "C" fn(This: *mut IViewObject2, dwDrawAspect: DWORD, lindex: LONG, pvAspect: *mut c_void, ptd: *mut DVTARGETDEVICE, hicTargetDev: HDC, ppColorSet: *mut *mut LOGPALETTE) -> HRESULT>
§Freeze: Option<unsafe extern "C" fn(This: *mut IViewObject2, dwDrawAspect: DWORD, lindex: LONG, pvAspect: *mut c_void, pdwFreeze: *mut DWORD) -> HRESULT>
§Unfreeze: Option<unsafe extern "C" fn(This: *mut IViewObject2, dwFreeze: DWORD) -> HRESULT>
§SetAdvise: Option<unsafe extern "C" fn(This: *mut IViewObject2, aspects: DWORD, advf: DWORD, pAdvSink: *mut IAdviseSink) -> HRESULT>
§GetAdvise: Option<unsafe extern "C" fn(This: *mut IViewObject2, pAspects: *mut DWORD, pAdvf: *mut DWORD, ppAdvSink: *mut *mut IAdviseSink) -> HRESULT>
§GetExtent: Option<unsafe extern "C" fn(This: *mut IViewObject2, dwDrawAspect: DWORD, lindex: LONG, ptd: *mut DVTARGETDEVICE, lpsizel: LPSIZEL) -> HRESULT>
Trait Implementations§
Source§impl Clone for IViewObject2Vtbl
impl Clone for IViewObject2Vtbl
Source§fn clone(&self) -> IViewObject2Vtbl
fn clone(&self) -> IViewObject2Vtbl
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 IViewObject2Vtbl
impl Debug for IViewObject2Vtbl
Source§impl Ord for IViewObject2Vtbl
impl Ord for IViewObject2Vtbl
Source§fn cmp(&self, other: &IViewObject2Vtbl) -> Ordering
fn cmp(&self, other: &IViewObject2Vtbl) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IViewObject2Vtbl
impl PartialEq for IViewObject2Vtbl
Source§impl PartialOrd for IViewObject2Vtbl
impl PartialOrd for IViewObject2Vtbl
impl Copy for IViewObject2Vtbl
impl Eq for IViewObject2Vtbl
impl StructuralPartialEq for IViewObject2Vtbl
Auto Trait Implementations§
impl Freeze for IViewObject2Vtbl
impl RefUnwindSafe for IViewObject2Vtbl
impl Send for IViewObject2Vtbl
impl Sync for IViewObject2Vtbl
impl Unpin for IViewObject2Vtbl
impl UnwindSafe for IViewObject2Vtbl
Blanket Implementations§
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