windows::Win32::UI::Shell

Trait IBrowserService_Impl

pub trait IBrowserService_Impl: IUnknownImpl {
Show 30 methods // Required methods fn GetParentSite(&self) -> Result<IOleInPlaceSite>; fn SetTitle(&self, psv: Ref<'_, IShellView>, pszname: &PCWSTR) -> Result<()>; fn GetTitle( &self, psv: Ref<'_, IShellView>, pszname: PWSTR, cchname: u32, ) -> Result<()>; fn GetOleObject(&self) -> Result<IOleObject>; fn GetTravelLog(&self) -> Result<ITravelLog>; fn ShowControlWindow(&self, id: u32, fshow: BOOL) -> Result<()>; fn IsControlWindowShown(&self, id: u32) -> Result<BOOL>; fn IEGetDisplayName( &self, pidl: *const ITEMIDLIST, pwszname: PWSTR, uflags: u32, ) -> Result<()>; fn IEParseDisplayName( &self, uicp: u32, pwszpath: &PCWSTR, ) -> Result<*mut ITEMIDLIST>; fn DisplayParseError(&self, hres: HRESULT, pwszpath: &PCWSTR) -> Result<()>; fn NavigateToPidl( &self, pidl: *const ITEMIDLIST, grfhlnf: u32, ) -> Result<()>; fn SetNavigateState(&self, bnstate: BNSTATE) -> Result<()>; fn GetNavigateState(&self) -> Result<BNSTATE>; fn NotifyRedirect( &self, psv: Ref<'_, IShellView>, pidl: *const ITEMIDLIST, ) -> Result<BOOL>; fn UpdateWindowList(&self) -> Result<()>; fn UpdateBackForwardState(&self) -> Result<()>; fn SetFlags(&self, dwflags: u32, dwflagmask: u32) -> Result<()>; fn GetFlags(&self) -> Result<u32>; fn CanNavigateNow(&self) -> Result<()>; fn GetPidl(&self) -> Result<*mut ITEMIDLIST>; fn SetReferrer(&self, pidl: *const ITEMIDLIST) -> Result<()>; fn GetBrowserIndex(&self) -> u32; fn GetBrowserByIndex(&self, dwid: u32) -> Result<IUnknown>; fn GetHistoryObject( &self, ppole: OutRef<'_, IOleObject>, pstm: OutRef<'_, IStream>, ppbc: OutRef<'_, IBindCtx>, ) -> Result<()>; fn SetHistoryObject( &self, pole: Ref<'_, IOleObject>, fislocalanchor: BOOL, ) -> Result<()>; fn CacheOLEServer(&self, pole: Ref<'_, IOleObject>) -> Result<()>; fn GetSetCodePage(&self, pvarin: *const VARIANT) -> Result<VARIANT>; fn OnHttpEquiv( &self, psv: Ref<'_, IShellView>, fdone: BOOL, pvarargin: *const VARIANT, ) -> Result<VARIANT>; fn GetPalette(&self) -> Result<HPALETTE>; fn RegisterWindow( &self, fforceregister: BOOL, swc: ShellWindowTypeConstants, ) -> Result<()>;
}

Required Methods§

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

fn SetTitle(&self, psv: Ref<'_, IShellView>, pszname: &PCWSTR) -> Result<()>

fn GetTitle( &self, psv: Ref<'_, IShellView>, pszname: PWSTR, cchname: u32, ) -> Result<()>

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

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

fn ShowControlWindow(&self, id: u32, fshow: BOOL) -> Result<()>

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

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

fn IEParseDisplayName( &self, uicp: u32, pwszpath: &PCWSTR, ) -> Result<*mut ITEMIDLIST>

fn DisplayParseError(&self, hres: HRESULT, pwszpath: &PCWSTR) -> Result<()>

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

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

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

fn NotifyRedirect( &self, psv: Ref<'_, IShellView>, pidl: *const ITEMIDLIST, ) -> Result<BOOL>

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

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

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

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

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

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

fn SetReferrer(&self, pidl: *const ITEMIDLIST) -> Result<()>

fn GetBrowserIndex(&self) -> u32

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

fn GetHistoryObject( &self, ppole: OutRef<'_, IOleObject>, pstm: OutRef<'_, IStream>, ppbc: OutRef<'_, IBindCtx>, ) -> Result<()>

fn SetHistoryObject( &self, pole: Ref<'_, IOleObject>, fislocalanchor: BOOL, ) -> Result<()>

fn CacheOLEServer(&self, pole: Ref<'_, IOleObject>) -> Result<()>

fn GetSetCodePage(&self, pvarin: *const VARIANT) -> Result<VARIANT>

fn OnHttpEquiv( &self, psv: Ref<'_, IShellView>, fdone: BOOL, pvarargin: *const VARIANT, ) -> Result<VARIANT>

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

fn RegisterWindow( &self, fforceregister: BOOL, swc: ShellWindowTypeConstants, ) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§