webview2_com_sys::Windows::Win32::UI::Shell

Struct IBrowserService2

Source
pub struct IBrowserService2(/* private fields */);

Implementations§

Source§

impl IBrowserService2

Source

pub unsafe fn GetParentSite(&self) -> Result<IOleInPlaceSite>

Source

pub unsafe fn SetTitle<'a>( &self, psv: impl IntoParam<'a, IShellView>, pszname: impl IntoParam<'a, PWSTR>, ) -> Result<()>

Source

pub unsafe fn GetTitle<'a>( &self, psv: impl IntoParam<'a, IShellView>, pszname: PWSTR, cchname: u32, ) -> Result<()>

Source

pub unsafe fn GetOleObject(&self) -> Result<IOleObject>

Source

pub unsafe fn GetTravelLog(&self) -> Result<ITravelLog>

Source

pub unsafe fn ShowControlWindow<'a>( &self, id: u32, fshow: impl IntoParam<'a, BOOL>, ) -> Result<()>

Source

pub unsafe fn IsControlWindowShown(&self, id: u32) -> Result<BOOL>

Source

pub unsafe fn IEGetDisplayName( &self, pidl: *mut ITEMIDLIST, pwszname: PWSTR, uflags: u32, ) -> Result<()>

Source

pub unsafe fn IEParseDisplayName<'a>( &self, uicp: u32, pwszpath: impl IntoParam<'a, PWSTR>, ) -> Result<*mut ITEMIDLIST>

Source

pub unsafe fn DisplayParseError<'a>( &self, hres: HRESULT, pwszpath: impl IntoParam<'a, PWSTR>, ) -> Result<()>

Source

pub unsafe fn NavigateToPidl( &self, pidl: *mut ITEMIDLIST, grfhlnf: u32, ) -> Result<()>

Source

pub unsafe fn SetNavigateState(&self, bnstate: BNSTATE) -> Result<()>

Source

pub unsafe fn GetNavigateState(&self) -> Result<BNSTATE>

Source

pub unsafe fn NotifyRedirect<'a>( &self, psv: impl IntoParam<'a, IShellView>, pidl: *mut ITEMIDLIST, ) -> Result<BOOL>

Source

pub unsafe fn UpdateWindowList(&self) -> Result<()>

Source

pub unsafe fn UpdateBackForwardState(&self) -> Result<()>

Source

pub unsafe fn SetFlags(&self, dwflags: u32, dwflagmask: u32) -> Result<()>

Source

pub unsafe fn GetFlags(&self) -> Result<u32>

Source

pub unsafe fn CanNavigateNow(&self) -> Result<()>

Source

pub unsafe fn GetPidl(&self) -> Result<*mut ITEMIDLIST>

Source

pub unsafe fn SetReferrer(&self, pidl: *mut ITEMIDLIST) -> Result<()>

Source

pub unsafe fn GetBrowserIndex(&self) -> u32

Source

pub unsafe fn GetBrowserByIndex(&self, dwid: u32) -> Result<IUnknown>

Source

pub unsafe fn GetHistoryObject( &self, ppole: *mut Option<IOleObject>, pstm: *mut Option<IStream>, ppbc: *mut Option<IBindCtx>, ) -> Result<()>

Source

pub unsafe fn SetHistoryObject<'a>( &self, pole: impl IntoParam<'a, IOleObject>, fislocalanchor: impl IntoParam<'a, BOOL>, ) -> Result<()>

Source

pub unsafe fn CacheOLEServer<'a>( &self, pole: impl IntoParam<'a, IOleObject>, ) -> Result<()>

Source

pub unsafe fn GetSetCodePage(&self, pvarin: *mut VARIANT) -> Result<VARIANT>

Source

pub unsafe fn OnHttpEquiv<'a>( &self, psv: impl IntoParam<'a, IShellView>, fdone: impl IntoParam<'a, BOOL>, pvarargin: *mut VARIANT, ) -> Result<VARIANT>

Source

pub unsafe fn GetPalette(&self) -> Result<HPALETTE>

Source

pub unsafe fn RegisterWindow<'a>( &self, fforceregister: impl IntoParam<'a, BOOL>, swc: i32, ) -> Result<()>

Source

pub unsafe fn WndProcBS<'a>( &self, hwnd: impl IntoParam<'a, HWND>, umsg: u32, wparam: impl IntoParam<'a, WPARAM>, lparam: impl IntoParam<'a, LPARAM>, ) -> LRESULT

Source

pub unsafe fn SetAsDefFolderSettings(&self) -> Result<()>

Source

pub unsafe fn GetViewRect(&self) -> Result<RECT>

Source

pub unsafe fn OnSize<'a>( &self, wparam: impl IntoParam<'a, WPARAM>, ) -> Result<()>

Source

pub unsafe fn OnCreate(&self, pcs: *mut CREATESTRUCTW) -> Result<()>

Source

pub unsafe fn OnCommand<'a>( &self, wparam: impl IntoParam<'a, WPARAM>, lparam: impl IntoParam<'a, LPARAM>, ) -> LRESULT

Source

pub unsafe fn OnDestroy(&self) -> Result<()>

Source

pub unsafe fn OnNotify(&self, pnm: *mut NMHDR) -> LRESULT

Source

pub unsafe fn OnSetFocus(&self) -> Result<()>

Source

pub unsafe fn OnFrameWindowActivateBS<'a>( &self, factive: impl IntoParam<'a, BOOL>, ) -> Result<()>

Source

pub unsafe fn ReleaseShellView(&self) -> Result<()>

Source

pub unsafe fn ActivatePendingView(&self) -> Result<()>

Source

pub unsafe fn CreateViewWindow<'a>( &self, psvnew: impl IntoParam<'a, IShellView>, psvold: impl IntoParam<'a, IShellView>, prcview: *mut RECT, ) -> Result<HWND>

Source

pub unsafe fn CreateBrowserPropSheetExt<T: Interface>(&self) -> Result<T>

Source

pub unsafe fn GetViewWindow(&self) -> Result<HWND>

Source

pub unsafe fn GetBaseBrowserData(&self) -> Result<*mut BASEBROWSERDATALH>

Source

pub unsafe fn PutBaseBrowserData(&self) -> *mut BASEBROWSERDATALH_abi

Source

pub unsafe fn InitializeTravelLog<'a>( &self, ptl: impl IntoParam<'a, ITravelLog>, dw: u32, ) -> Result<()>

Source

pub unsafe fn SetTopBrowser(&self) -> Result<()>

Source

pub unsafe fn Offline(&self, icmd: i32) -> Result<()>

Source

pub unsafe fn AllowViewResize<'a>( &self, f: impl IntoParam<'a, BOOL>, ) -> Result<()>

Source

pub unsafe fn SetActivateState(&self, u: u32) -> Result<()>

Source

pub unsafe fn UpdateSecureLockIcon(&self, esecurelock: i32) -> Result<()>

Source

pub unsafe fn InitializeDownloadManager(&self) -> Result<()>

Source

pub unsafe fn InitializeTransitionSite(&self) -> Result<()>

Source

pub unsafe fn _Initialize<'a>( &self, hwnd: impl IntoParam<'a, HWND>, pauto: impl IntoParam<'a, IUnknown>, ) -> Result<()>

Source

pub unsafe fn _CancelPendingNavigationAsync(&self) -> Result<()>

Source

pub unsafe fn _CancelPendingView(&self) -> Result<()>

Source

pub unsafe fn _MaySaveChanges(&self) -> Result<()>

Source

pub unsafe fn _PauseOrResumeView<'a>( &self, fpaused: impl IntoParam<'a, BOOL>, ) -> Result<()>

Source

pub unsafe fn _DisableModeless(&self) -> Result<()>

Source

pub unsafe fn _NavigateToPidl2( &self, pidl: *mut ITEMIDLIST, grfhlnf: u32, dwflags: u32, ) -> Result<()>

Source

pub unsafe fn _TryShell2Rename<'a>( &self, psv: impl IntoParam<'a, IShellView>, pidlnew: *mut ITEMIDLIST, ) -> Result<()>

Source

pub unsafe fn _SwitchActivationNow(&self) -> Result<()>

Source

pub unsafe fn _ExecChildren<'a>( &self, punkbar: impl IntoParam<'a, IUnknown>, fbroadcast: impl IntoParam<'a, BOOL>, pguidcmdgroup: *const Guid, ncmdid: u32, ncmdexecopt: u32, pvarargin: *mut VARIANT, pvarargout: *mut VARIANT, ) -> Result<()>

Source

pub unsafe fn _SendChildren<'a>( &self, hwndbar: impl IntoParam<'a, HWND>, fbroadcast: impl IntoParam<'a, BOOL>, umsg: u32, wparam: impl IntoParam<'a, WPARAM>, lparam: impl IntoParam<'a, LPARAM>, ) -> Result<()>

Source

pub unsafe fn GetFolderSetData(&self, pfsd: *mut FOLDERSETDATA) -> Result<()>

Source

pub unsafe fn _OnFocusChange(&self, itb: u32) -> Result<()>

Source

pub unsafe fn v_ShowHideChildWindows<'a>( &self, fchildonly: impl IntoParam<'a, BOOL>, ) -> Result<()>

Source

pub unsafe fn _get_itbLastFocus(&self) -> u32

Source

pub unsafe fn _put_itbLastFocus(&self, itblastfocus: u32) -> Result<()>

Source

pub unsafe fn _UIActivateView(&self, ustate: u32) -> Result<()>

Source

pub unsafe fn _GetViewBorderRect(&self, prc: *mut RECT) -> Result<()>

Source

pub unsafe fn _UpdateViewRectSize(&self) -> Result<()>

Source

pub unsafe fn _ResizeNextBorder(&self, itb: u32) -> Result<()>

Source

pub unsafe fn _ResizeView(&self) -> Result<()>

Source

pub unsafe fn _GetEffectiveClientArea<'a>( &self, lprectborder: *mut RECT, hmon: impl IntoParam<'a, HMONITOR>, ) -> Result<()>

Source

pub unsafe fn v_GetViewStream<'a>( &self, pidl: *mut ITEMIDLIST, grfmode: u32, pwszname: impl IntoParam<'a, PWSTR>, ) -> RawPtr

Source

pub unsafe fn ForwardViewMsg<'a>( &self, umsg: u32, wparam: impl IntoParam<'a, WPARAM>, lparam: impl IntoParam<'a, LPARAM>, ) -> LRESULT

Source

pub unsafe fn SetAcceleratorMenu<'a>( &self, hacc: impl IntoParam<'a, HACCEL>, ) -> Result<()>

Source

pub unsafe fn _GetToolbarCount(&self) -> i32

Source

pub unsafe fn _GetToolbarItem(&self, itb: i32) -> *mut TOOLBARITEM_abi

Source

pub unsafe fn _SaveToolbars<'a>( &self, pstm: impl IntoParam<'a, IStream>, ) -> Result<()>

Source

pub unsafe fn _LoadToolbars<'a>( &self, pstm: impl IntoParam<'a, IStream>, ) -> Result<()>

Source

pub unsafe fn _CloseAndReleaseToolbars<'a>( &self, fclose: impl IntoParam<'a, BOOL>, ) -> Result<()>

Source

pub unsafe fn v_MayGetNextToolbarFocus( &self, lpmsg: *mut MSG, itbnext: u32, citb: i32, pptbi: *mut *mut TOOLBARITEM, phwnd: *mut HWND, ) -> Result<()>

Source

pub unsafe fn _ResizeNextBorderHelper<'a>( &self, itb: u32, busehmonitor: impl IntoParam<'a, BOOL>, ) -> Result<()>

Source

pub unsafe fn _FindTBar<'a>(&self, punksrc: impl IntoParam<'a, IUnknown>) -> u32

Source

pub unsafe fn _SetFocus<'a>( &self, ptbi: *mut TOOLBARITEM, hwnd: impl IntoParam<'a, HWND>, lpmsg: *mut MSG, ) -> Result<()>

Source

pub unsafe fn v_MayTranslateAccelerator(&self, pmsg: *mut MSG) -> Result<()>

Source

pub unsafe fn _GetBorderDWHelper<'a>( &self, punksrc: impl IntoParam<'a, IUnknown>, lprectborder: *mut RECT, busehmonitor: impl IntoParam<'a, BOOL>, ) -> Result<()>

Source

pub unsafe fn v_CheckZoneCrossing(&self, pidl: *mut ITEMIDLIST) -> Result<()>

Trait Implementations§

Source§

impl Clone for IBrowserService2

Source§

fn clone(&self) -> IBrowserService2

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for IBrowserService2

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<&IBrowserService2> for IBrowserService

Source§

fn from(value: &IBrowserService2) -> Self

Converts to this type from the input type.
Source§

impl From<&IBrowserService2> for IUnknown

Source§

fn from(value: &IBrowserService2) -> Self

Converts to this type from the input type.
Source§

impl From<&IBrowserService3> for IBrowserService2

Source§

fn from(value: &IBrowserService3) -> Self

Converts to this type from the input type.
Source§

impl From<&IBrowserService4> for IBrowserService2

Source§

fn from(value: &IBrowserService4) -> Self

Converts to this type from the input type.
Source§

impl From<IBrowserService2> for IBrowserService

Source§

fn from(value: IBrowserService2) -> Self

Converts to this type from the input type.
Source§

impl From<IBrowserService2> for IUnknown

Source§

fn from(value: IBrowserService2) -> Self

Converts to this type from the input type.
Source§

impl From<IBrowserService3> for IBrowserService2

Source§

fn from(value: IBrowserService3) -> Self

Converts to this type from the input type.
Source§

impl From<IBrowserService4> for IBrowserService2

Source§

fn from(value: IBrowserService4) -> Self

Converts to this type from the input type.
Source§

impl Interface for IBrowserService2

Source§

const IID: Guid

Source§

type Vtable = IBrowserService2_abi

Source§

unsafe fn vtable(&self) -> &Self::Vtable

Safety Read more
Source§

unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtable
where T: Interface,

Safety Read more
Source§

unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT

Safety Read more
Source§

fn cast<T>(&self) -> Result<T, Error>
where T: Interface,

Attempts to cast the current interface to another interface using QueryInterface. The name cast is preferred to query because there is a WinRT method named query but not one named cast.
Source§

fn downgrade(&self) -> Result<Weak<Self>, Error>

Attempts to create a Weak reference to this object.
Source§

impl PartialEq for IBrowserService2

Source§

fn eq(&self, other: &IBrowserService2) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for IBrowserService2

Source§

impl StructuralPartialEq for IBrowserService2

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Abi for T
where T: Interface,

Source§

type Abi = *mut c_void

The abi representation of the implementing type. Read more
Source§

type DefaultType = Option<T>

Source§

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

Returns a pointer for setting the object’s value via an ABI call.
Source§

unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>

Safety Read more
Source§

fn abi(&self) -> Self::Abi

Casts the Rust object to its ABI type without copying the object.
Source§

fn drop_param(_: &mut Param<'_, Self>)

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.