#[repr(C)]pub struct IDirectManipulationViewport_Vtbl {Show 29 fields
pub base__: IUnknown_Vtbl,
pub Enable: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub Disable: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub SetContact: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
pub ReleaseContact: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
pub ReleaseAllContacts: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub GetStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut DIRECTMANIPULATION_STATUS) -> HRESULT,
pub GetTag: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut *mut c_void, _: *mut u32) -> HRESULT,
pub SetTag: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32) -> HRESULT,
pub GetViewportRect: unsafe extern "system" fn(_: *mut c_void, _: *mut RECT) -> HRESULT,
pub SetViewportRect: unsafe extern "system" fn(_: *mut c_void, _: *const RECT) -> HRESULT,
pub ZoomToRect: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: f32, _: f32, _: BOOL) -> HRESULT,
pub SetViewportTransform: unsafe extern "system" fn(_: *mut c_void, _: *const f32, _: u32) -> HRESULT,
pub SyncDisplayTransform: unsafe extern "system" fn(_: *mut c_void, _: *const f32, _: u32) -> HRESULT,
pub GetPrimaryContent: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut *mut c_void) -> HRESULT,
pub AddContent: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub RemoveContent: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub SetViewportOptions: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_VIEWPORT_OPTIONS) -> HRESULT,
pub AddConfiguration: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_CONFIGURATION) -> HRESULT,
pub RemoveConfiguration: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_CONFIGURATION) -> HRESULT,
pub ActivateConfiguration: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_CONFIGURATION) -> HRESULT,
pub SetManualGesture: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_GESTURE_CONFIGURATION) -> HRESULT,
pub SetChaining: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_MOTION_TYPES) -> HRESULT,
pub AddEventHandler: unsafe extern "system" fn(_: *mut c_void, _: HWND, _: *mut c_void, _: *mut u32) -> HRESULT,
pub RemoveEventHandler: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
pub SetInputMode: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_INPUT_MODE) -> HRESULT,
pub SetUpdateMode: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_INPUT_MODE) -> HRESULT,
pub Stop: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub Abandon: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§Enable: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§Disable: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§SetContact: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT
§ReleaseContact: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT
§ReleaseAllContacts: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§GetStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut DIRECTMANIPULATION_STATUS) -> HRESULT
§GetTag: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut *mut c_void, _: *mut u32) -> HRESULT
§SetTag: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32) -> HRESULT
§GetViewportRect: unsafe extern "system" fn(_: *mut c_void, _: *mut RECT) -> HRESULT
§SetViewportRect: unsafe extern "system" fn(_: *mut c_void, _: *const RECT) -> HRESULT
§ZoomToRect: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: f32, _: f32, _: BOOL) -> HRESULT
§SetViewportTransform: unsafe extern "system" fn(_: *mut c_void, _: *const f32, _: u32) -> HRESULT
§SyncDisplayTransform: unsafe extern "system" fn(_: *mut c_void, _: *const f32, _: u32) -> HRESULT
§GetPrimaryContent: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut *mut c_void) -> HRESULT
§AddContent: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§RemoveContent: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§SetViewportOptions: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_VIEWPORT_OPTIONS) -> HRESULT
§AddConfiguration: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_CONFIGURATION) -> HRESULT
§RemoveConfiguration: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_CONFIGURATION) -> HRESULT
§ActivateConfiguration: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_CONFIGURATION) -> HRESULT
§SetManualGesture: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_GESTURE_CONFIGURATION) -> HRESULT
§SetChaining: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_MOTION_TYPES) -> HRESULT
§AddEventHandler: unsafe extern "system" fn(_: *mut c_void, _: HWND, _: *mut c_void, _: *mut u32) -> HRESULT
§RemoveEventHandler: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT
§SetInputMode: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_INPUT_MODE) -> HRESULT
§SetUpdateMode: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_INPUT_MODE) -> HRESULT
§Stop: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§Abandon: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
Implementations§
§impl IDirectManipulationViewport_Vtbl
impl IDirectManipulationViewport_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IDirectManipulationViewport_Vtblwhere
Identity: IDirectManipulationViewport_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IDirectManipulationViewport_Vtbl
impl RefUnwindSafe for IDirectManipulationViewport_Vtbl
impl Send for IDirectManipulationViewport_Vtbl
impl Sync for IDirectManipulationViewport_Vtbl
impl Unpin for IDirectManipulationViewport_Vtbl
impl UnwindSafe for IDirectManipulationViewport_Vtbl
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