Trait webview2_sys::ICoreWebView2TrySuspendCompletedHandler[][src]

pub trait ICoreWebView2TrySuspendCompletedHandler: IUnknown {
    unsafe fn invoke(&self, error_code: HRESULT, is_successful: BOOL) -> HRESULT;
}
Expand description

The caller implements this interface to receive the TrySuspend result.

Required methods

Provides the result of the TrySuspend operation. See Sleeping Tabs FAQ for conditions that might prevent WebView from being suspended. In those situations, isSuccessful will be false and errorCode is S_OK.

Trait Implementations

A COM compatible V-Table

The interface that this interface inherits from

The associated id for this interface

Check whether a given IID is in the inheritance hierarchy of this interface

Get the vtable for a particular COM interface

Implementations on Foreign Types

Implementors