Struct IWebBrowser2

Source
#[repr(C)]
pub struct IWebBrowser2 { pub lpVtbl: *const IWebBrowser2Vtbl, }

Fields§

§lpVtbl: *const IWebBrowser2Vtbl

Implementations§

Source§

impl IWebBrowser2

Source

pub unsafe fn Navigate2( &self, URL: *const VARIANT, Flags: *const VARIANT, TargetFrameName: *const VARIANT, PostData: *const VARIANT, Headers: *const VARIANT, ) -> HRESULT

Source

pub unsafe fn QueryStatusWB( &self, cmdID: OLECMDID, pcmdf: *mut OLECMDF, ) -> HRESULT

Source

pub unsafe fn ExecWB( &self, cmdID: OLECMDID, cmdexecopt: OLECMDEXECOPT, pvaIn: *const VARIANT, pvaOut: *mut VARIANT, ) -> HRESULT

Source

pub unsafe fn ShowBrowserBar( &self, pvaClsid: *const VARIANT, pvarShow: *const VARIANT, pvarSize: *const VARIANT, ) -> HRESULT

Source

pub unsafe fn get_ReadyState(&self, plReadyState: *mut READYSTATE) -> HRESULT

Source

pub unsafe fn get_Offline(&self, pbOffline: *mut VARIANT_BOOL) -> HRESULT

Source

pub unsafe fn put_Offline(&self, bOffline: VARIANT_BOOL) -> HRESULT

Source

pub unsafe fn get_Silent(&self, pbSilent: *mut VARIANT_BOOL) -> HRESULT

Source

pub unsafe fn put_Silent(&self, bSilent: VARIANT_BOOL) -> HRESULT

Source

pub unsafe fn get_RegisterAsBrowser( &self, pbRegister: *mut VARIANT_BOOL, ) -> HRESULT

Source

pub unsafe fn put_RegisterAsBrowser(&self, bRegister: VARIANT_BOOL) -> HRESULT

Source

pub unsafe fn get_RegisterAsDropTarget( &self, pbRegister: *mut VARIANT_BOOL, ) -> HRESULT

Source

pub unsafe fn put_RegisterAsDropTarget( &self, bRegister: VARIANT_BOOL, ) -> HRESULT

Source

pub unsafe fn get_TheaterMode(&self, pbRegister: *mut VARIANT_BOOL) -> HRESULT

Source

pub unsafe fn put_TheaterMode(&self, bRegister: VARIANT_BOOL) -> HRESULT

Source

pub unsafe fn get_AddressBar(&self, Value: *mut VARIANT_BOOL) -> HRESULT

Source

pub unsafe fn put_AddressBar(&self, Value: VARIANT_BOOL) -> HRESULT

Source

pub unsafe fn get_Resizable(&self, Value: *mut VARIANT_BOOL) -> HRESULT

Source

pub unsafe fn put_Resizable(&self, Value: VARIANT_BOOL) -> HRESULT

Methods from Deref<Target = IWebBrowserApp>§

Source

pub unsafe fn Quit(&self) -> HRESULT

Source

pub unsafe fn ClientToWindow(&self, pcx: *mut INT, pcy: *mut INT) -> HRESULT

Source

pub unsafe fn PutProperty(&self, Property: BSTR, vtValue: VARIANT) -> HRESULT

Source

pub unsafe fn GetProperty( &self, Property: BSTR, pvtValue: *mut VARIANT, ) -> HRESULT

Source

pub unsafe fn get_Name(&self, Name: *mut BSTR) -> HRESULT

Source

pub unsafe fn get_HWND(&self, pHWND: *mut SHANDLE_PTR) -> HRESULT

Source

pub unsafe fn get_FullName(&self, FullName: *mut BSTR) -> HRESULT

Source

pub unsafe fn get_Path(&self, Path: *mut BSTR) -> HRESULT

Source

pub unsafe fn get_Visible(&self, pBool: *mut VARIANT_BOOL) -> HRESULT

Source

pub unsafe fn put_Visible(&self, Value: VARIANT_BOOL) -> HRESULT

Source

pub unsafe fn get_StatusBar(&self, pBool: *mut VARIANT_BOOL) -> HRESULT

Source

pub unsafe fn put_StatusBar(&self, Value: VARIANT_BOOL) -> HRESULT

Source

pub unsafe fn get_StatusText(&self, StatusText: *mut BSTR) -> HRESULT

Source

pub unsafe fn put_StatusText(&self, StatusText: BSTR) -> HRESULT

Source

pub unsafe fn get_ToolBar(&self, Value: *mut INT) -> HRESULT

Source

pub unsafe fn put_ToolBar(&self, Value: INT) -> HRESULT

Source

pub unsafe fn get_MenuBar(&self, Value: *mut VARIANT_BOOL) -> HRESULT

Source

pub unsafe fn put_MenuBar(&self, Value: VARIANT_BOOL) -> HRESULT

Source

pub unsafe fn get_FullScreen(&self, pbFullScreen: *mut VARIANT_BOOL) -> HRESULT

Source

pub unsafe fn put_FullScreen(&self, bFullScreen: VARIANT_BOOL) -> HRESULT

Methods from Deref<Target = IWebBrowser>§

Source

pub unsafe fn GoBack(&self) -> HRESULT

Source

pub unsafe fn GoForward(&self) -> HRESULT

Source

pub unsafe fn GoHome(&self) -> HRESULT

Source

pub unsafe fn GoSearch(&self) -> HRESULT

Source

pub unsafe fn Navigate( &self, URL: BSTR, Flags: *const VARIANT, TargetFrameName: *const VARIANT, PostData: *const VARIANT, Headers: *const VARIANT, ) -> HRESULT

Source

pub unsafe fn Refresh(&self) -> HRESULT

Source

pub unsafe fn Refresh2(&self, Level: *const VARIANT) -> HRESULT

Source

pub unsafe fn Stop(&self) -> HRESULT

Source

pub unsafe fn get_Application(&self, ppDisp: *mut *mut IDispatch) -> HRESULT

Source

pub unsafe fn get_Parent(&self, ppDisp: *mut *mut IDispatch) -> HRESULT

Source

pub unsafe fn get_Container(&self, ppDisp: *mut *mut IDispatch) -> HRESULT

Source

pub unsafe fn get_Document(&self, ppDisp: *mut *mut IDispatch) -> HRESULT

Source

pub unsafe fn get_TopLevelContainer(&self, pBool: *mut VARIANT_BOOL) -> HRESULT

Source

pub unsafe fn get_Type(&self, Type: *mut BSTR) -> HRESULT

Source

pub unsafe fn get_Left(&self, pl: *mut LONG) -> HRESULT

Source

pub unsafe fn put_Left(&self, Left: LONG) -> HRESULT

Source

pub unsafe fn get_Top(&self, pl: *mut LONG) -> HRESULT

Source

pub unsafe fn put_Top(&self, Top: LONG) -> HRESULT

Source

pub unsafe fn get_Width(&self, pl: *mut LONG) -> HRESULT

Source

pub unsafe fn put_Width(&self, Width: LONG) -> HRESULT

Source

pub unsafe fn get_Height(&self, pl: *mut LONG) -> HRESULT

Source

pub unsafe fn put_Height(&self, Height: LONG) -> HRESULT

Source

pub unsafe fn get_LocationName(&self, LocationName: *mut BSTR) -> HRESULT

Source

pub unsafe fn get_LocationURL(&self, LocationURL: *mut BSTR) -> HRESULT

Source

pub unsafe fn get_Busy(&self, pBool: *mut VARIANT_BOOL) -> HRESULT

Methods from Deref<Target = IDispatch>§

Source

pub unsafe fn GetTypeInfoCount(&self, pctinfo: *mut UINT) -> HRESULT

Source

pub unsafe fn GetTypeInfo( &self, iTInfo: UINT, lcid: LCID, ppTInfo: *mut *mut ITypeInfo, ) -> HRESULT

Source

pub unsafe fn GetIDsOfNames( &self, riid: REFIID, rgszNames: *mut LPOLESTR, cNames: UINT, lcid: LCID, rgDispId: *mut DISPID, ) -> HRESULT

Source

pub unsafe fn Invoke( &self, dispIdMember: DISPID, riid: REFIID, lcid: LCID, wFlags: WORD, pDispParams: *mut DISPPARAMS, pVarResult: *mut VARIANT, pExcepInfo: *mut EXCEPINFO, puArgErr: *mut UINT, ) -> HRESULT

Methods from Deref<Target = IUnknown>§

Source

pub unsafe fn QueryInterface( &self, riid: REFIID, ppvObject: *mut *mut c_void, ) -> HRESULT

Source

pub unsafe fn AddRef(&self) -> ULONG

Source

pub unsafe fn Release(&self) -> ULONG

Trait Implementations§

Source§

impl Deref for IWebBrowser2

Source§

type Target = IWebBrowserApp

The resulting type after dereferencing.
Source§

fn deref(&self) -> &IWebBrowserApp

Dereferences the value.
Source§

impl Interface for IWebBrowser2

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.