pub trait ICoreWebView2RasterizationScaleChangedEventHandler: IUnknown {
// Required method
unsafe fn invoke(
&self,
sender: *mut *mut ICoreWebView2ControllerVTable,
args: *mut *mut IUnknownVTable,
) -> HRESULT;
}Expand description
Receives RasterizationScaleChanged events. Use the RasterizationScale
property to get the modified scale.
Required Methods§
Sourceunsafe fn invoke(
&self,
sender: *mut *mut ICoreWebView2ControllerVTable,
args: *mut *mut IUnknownVTable,
) -> HRESULT
unsafe fn invoke( &self, sender: *mut *mut ICoreWebView2ControllerVTable, args: *mut *mut IUnknownVTable, ) -> HRESULT
Called to provide the implementer with the event args for the corresponding event. There are no event args and the args parameter will be null.
Trait Implementations§
Source§impl ComInterface for dyn ICoreWebView2RasterizationScaleChangedEventHandler
impl ComInterface for dyn ICoreWebView2RasterizationScaleChangedEventHandler
Source§const IID: IID = IID_ICORE_WEB_VIEW2_RASTERIZATION_SCALE_CHANGED_EVENT_HANDLER
const IID: IID = IID_ICORE_WEB_VIEW2_RASTERIZATION_SCALE_CHANGED_EVENT_HANDLER
The associated id for this interface
Source§type VTable = ICoreWebView2RasterizationScaleChangedEventHandlerVTable
type VTable = ICoreWebView2RasterizationScaleChangedEventHandlerVTable
A COM compatible V-Table
Source§fn is_iid_in_inheritance_chain(riid: &GUID) -> bool
fn is_iid_in_inheritance_chain(riid: &GUID) -> bool
Check whether a given IID is in the inheritance hierarchy of this interface