pub struct IPreviewHandler(/* private fields */);
Implementations§
Source§impl IPreviewHandler
impl IPreviewHandler
pub unsafe fn SetWindow<'a>( &self, hwnd: impl IntoParam<'a, HWND>, prc: *const RECT, ) -> Result<()>
pub unsafe fn SetRect(&self, prc: *const RECT) -> Result<()>
pub unsafe fn DoPreview(&self) -> Result<()>
pub unsafe fn Unload(&self) -> Result<()>
pub unsafe fn SetFocus(&self) -> Result<()>
pub unsafe fn QueryFocus(&self) -> Result<HWND>
pub unsafe fn TranslateAccelerator(&self, pmsg: *mut MSG) -> Result<()>
Trait Implementations§
Source§impl Clone for IPreviewHandler
impl Clone for IPreviewHandler
Source§fn clone(&self) -> IPreviewHandler
fn clone(&self) -> IPreviewHandler
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 IPreviewHandler
impl Debug for IPreviewHandler
Source§impl From<&IPreviewHandler> for IUnknown
impl From<&IPreviewHandler> for IUnknown
Source§fn from(value: &IPreviewHandler) -> Self
fn from(value: &IPreviewHandler) -> Self
Converts to this type from the input type.
Source§impl From<IPreviewHandler> for IUnknown
impl From<IPreviewHandler> for IUnknown
Source§fn from(value: IPreviewHandler) -> Self
fn from(value: IPreviewHandler) -> Self
Converts to this type from the input type.
Source§impl Interface for IPreviewHandler
impl Interface for IPreviewHandler
const IID: Guid
type Vtable = IPreviewHandler_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IPreviewHandler
impl PartialEq for IPreviewHandler
impl Eq for IPreviewHandler
impl StructuralPartialEq for IPreviewHandler
Auto Trait Implementations§
impl Freeze for IPreviewHandler
impl RefUnwindSafe for IPreviewHandler
impl !Send for IPreviewHandler
impl !Sync for IPreviewHandler
impl Unpin for IPreviewHandler
impl UnwindSafe for IPreviewHandler
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.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.
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