include: Added IBrowserService2 definition.
This commit is contained in:
parent
869231b439
commit
fbe5abbe06
|
@ -21,6 +21,8 @@
|
|||
import "objidl.idl";
|
||||
import "ocidl.idl";
|
||||
import "shobjidl.idl";
|
||||
import "hlink.idl";
|
||||
import "exdisp.idl";
|
||||
|
||||
cpp_quote("#define TLOG_BACK -1")
|
||||
cpp_quote("#define TLOG_FORE 1")
|
||||
|
@ -108,6 +110,34 @@ interface ITravelLog : IUnknown
|
|||
HRESULT Revert();
|
||||
};
|
||||
|
||||
typedef void *CIE4ConnectionPoint;
|
||||
|
||||
[
|
||||
local,
|
||||
object,
|
||||
uuid(0D7D1D00-6FC0-11D0-A974-00C04FD705A2)
|
||||
]
|
||||
interface IExpDispSupport : IUnknown
|
||||
{
|
||||
HRESULT FindCIE4ConnectionPoint(
|
||||
REFIID riid,
|
||||
CIE4ConnectionPoint **ppccp);
|
||||
|
||||
HRESULT OnTranslateAccelerator(
|
||||
MSG *pMsg,
|
||||
DWORD grfModifiers);
|
||||
|
||||
HRESULT OnInvoke(
|
||||
DISPID dispidMember,
|
||||
REFIID iid,
|
||||
LCID lcid,
|
||||
WORD wFlags,
|
||||
DISPPARAMS *pdispparams,
|
||||
VARIANT *pVarResult,
|
||||
EXCEPINFO *pexcepinfo,
|
||||
UINT *puArgErr);
|
||||
};
|
||||
|
||||
typedef enum tagBNSTATE
|
||||
{
|
||||
BNS_NORMAL = 0,
|
||||
|
@ -274,3 +304,300 @@ interface IShellService : IUnknown
|
|||
{
|
||||
HRESULT SetOwner( [in] IUnknown *pUnk );
|
||||
}
|
||||
|
||||
cpp_quote("#if 0")
|
||||
typedef HANDLE HMONITOR;
|
||||
cpp_quote("#endif")
|
||||
|
||||
enum {
|
||||
SECURELOCK_NOCHANGE = -1,
|
||||
SECURELOCK_SET_UNSECURE = 0,
|
||||
SECURELOCK_SET_MIXED = 1,
|
||||
SECURELOCK_SET_SECUREUNKNOWNBIT = 2,
|
||||
SECURELOCK_SET_SECURE40BIT = 3,
|
||||
SECURELOCK_SET_SECURE56BIT = 4,
|
||||
SECURELOCK_SET_FORTEZZA = 5,
|
||||
SECURELOCK_SET_SECURE128BIT = 6,
|
||||
SECURELOCK_FIRSTSUGGEST = 7,
|
||||
SECURELOCK_SUGGEST_UNSECURE = SECURELOCK_FIRSTSUGGEST,
|
||||
SECURELOCK_SUGGEST_MIXED = 8,
|
||||
SECURELOCK_SUGGEST_SECUREUNKNOWNBIT = 9,
|
||||
SECURELOCK_SUGGEST_SECURE40BIT = 10,
|
||||
SECURELOCK_SUGGEST_SECURE56BIT = 11,
|
||||
SECURELOCK_SUGGEST_FORTEZZA = 12,
|
||||
SECURELOCK_SUGGEST_SECURE128BIT = 13,
|
||||
};
|
||||
|
||||
|
||||
typedef struct {
|
||||
HWND _hwnd;
|
||||
ITravelLog *_ptl;
|
||||
IHlinkFrame *_phlf;
|
||||
IWebBrowser2 *_pautoWB2;
|
||||
IExpDispSupport *_pautoEDS;
|
||||
IShellService *_pautoSS;
|
||||
int _eSecureLockIcon;
|
||||
DWORD _fCreatingViewWindow;
|
||||
UINT _uActivateState;
|
||||
|
||||
LPCITEMIDLIST _pidlNewShellView;
|
||||
|
||||
IOleCommandTarget *_pctView;
|
||||
|
||||
LPITEMIDLIST _pidlCur;
|
||||
IShellView *_psv;
|
||||
IShellFolder *_psf;
|
||||
HWND _hwndView;
|
||||
LPWSTR _pszTitleCur;
|
||||
|
||||
LPITEMIDLIST _pidlPending;
|
||||
IShellView *_psvPending;
|
||||
IShellFolder *_psfPending;
|
||||
HWND _hwndViewPending;
|
||||
LPWSTR _pszTitlePending;
|
||||
|
||||
BOOL _fIsViewMSHTML;
|
||||
BOOL _fPrivacyImpacted;
|
||||
|
||||
} BASEBROWSERDATA, *LPBASEBROWSERDATA;
|
||||
typedef const BASEBROWSERDATA *LPCBASEBROWSERDATA;
|
||||
|
||||
cpp_quote("#define VIEW_PRIORITY_RESTRICTED 0x00000070")
|
||||
cpp_quote("#define VIEW_PRIORITY_CACHEHIT 0x00000050")
|
||||
cpp_quote("#define VIEW_PRIORITY_STALECACHEHIT 0x00000045")
|
||||
cpp_quote("#define VIEW_PRIORITY_USEASDEFAULT 0x00000043")
|
||||
cpp_quote("#define VIEW_PRIORITY_SHELLEXT 0x00000040")
|
||||
cpp_quote("#define VIEW_PRIORITY_CACHEMISS 0x00000030")
|
||||
cpp_quote("#define VIEW_PRIORITY_INHERIT 0x00000020")
|
||||
cpp_quote("#define VIEW_PRIORITY_SHELLEXT_ASBACKUP 0x0015")
|
||||
cpp_quote("#define VIEW_PRIORITY_DESPERATE 0x00000010")
|
||||
cpp_quote("#define VIEW_PRIORITY_NONE 0x00000000")
|
||||
|
||||
typedef struct tagFolderSetData {
|
||||
FOLDERSETTINGS _fs;
|
||||
SHELLVIEWID _vidRestore;
|
||||
DWORD _dwViewPriority;
|
||||
} FOLDERSETDATA, *LPFOLDERSETDATA;
|
||||
|
||||
typedef struct SToolbarItem {
|
||||
IDockingWindow *ptbar;
|
||||
BORDERWIDTHS rcBorderTool;
|
||||
LPWSTR pwszItem;
|
||||
BOOL fShow;
|
||||
HMONITOR hMon;
|
||||
} TOOLBARITEM, *LPTOOLBARITEM;
|
||||
|
||||
cpp_quote("#define ITB_VIEW ((UINT)-1)")
|
||||
|
||||
[
|
||||
local,
|
||||
object,
|
||||
uuid(68BD21CC-438B-11d2-A560-00A0C92DBFE8)
|
||||
]
|
||||
interface IBrowserService2 : IBrowserService
|
||||
{
|
||||
LRESULT WndProcBS(
|
||||
[in] HWND hwnd,
|
||||
[in] UINT uMsg,
|
||||
[in, out] WPARAM wParam,
|
||||
[in, out] LPARAM lParam);
|
||||
|
||||
HRESULT SetAsDefFolderSettings();
|
||||
|
||||
HRESULT GetViewRect(
|
||||
[in, out] RECT *prc);
|
||||
|
||||
HRESULT OnSize(
|
||||
[in] WPARAM wParam);
|
||||
|
||||
HRESULT OnCreate(
|
||||
[in] struct tagCREATESTRUCTW *pcs);
|
||||
|
||||
LRESULT OnCommand(
|
||||
[in] WPARAM wParam,
|
||||
[in] LPARAM lParam);
|
||||
|
||||
HRESULT OnDestroy();
|
||||
|
||||
LRESULT OnNotify(
|
||||
[in, out] struct tagNMHDR *pnm);
|
||||
|
||||
HRESULT OnSetFocus();
|
||||
|
||||
HRESULT OnFrameWindowActivateBS(
|
||||
[in] BOOL fActive);
|
||||
|
||||
HRESULT ReleaseShellView();
|
||||
|
||||
HRESULT ActivatePendingView();
|
||||
|
||||
HRESULT CreateViewWindow(
|
||||
[in] IShellView *psvNew,
|
||||
[in] IShellView *psvOld,
|
||||
[out] LPRECT prcView,
|
||||
[out] HWND *phwnd);
|
||||
|
||||
HRESULT CreateBrowserPropSheetExt(
|
||||
[in] REFIID riid,
|
||||
[out] void **ppv);
|
||||
|
||||
HRESULT GetViewWindow(
|
||||
[out] HWND *phwndView);
|
||||
|
||||
HRESULT GetBaseBrowserData(
|
||||
[in, out] LPCBASEBROWSERDATA *pbbd);
|
||||
|
||||
LPBASEBROWSERDATA PutBaseBrowserData();
|
||||
|
||||
HRESULT InitializeTravelLog(
|
||||
[in] ITravelLog *ptl,
|
||||
[in] DWORD dw);
|
||||
|
||||
HRESULT SetTopBrowser();
|
||||
|
||||
HRESULT Offline(
|
||||
[in] int iCmd);
|
||||
|
||||
HRESULT AllowViewResize(
|
||||
[in] BOOL f);
|
||||
|
||||
HRESULT SetActivateState(
|
||||
[in] UINT u);
|
||||
|
||||
HRESULT UpdateSecureLockIcon(
|
||||
[in] int eSecureLock);
|
||||
|
||||
HRESULT InitializeDownloadManager();
|
||||
|
||||
HRESULT InitializeTransitionSite();
|
||||
|
||||
HRESULT _Initialize(
|
||||
[in] HWND hwnd,
|
||||
[in] IUnknown *pauto);
|
||||
|
||||
HRESULT _CancelPendingNavigationAsync();
|
||||
|
||||
HRESULT _CancelPendingView();
|
||||
|
||||
HRESULT _MaySaveChanges();
|
||||
|
||||
HRESULT _PauseOrResumeView(
|
||||
[in] BOOL fPaused);
|
||||
|
||||
HRESULT _DisableModeless();
|
||||
|
||||
HRESULT _NavigateToPidl(
|
||||
[in] LPCITEMIDLIST pidl,
|
||||
[in] DWORD grfHLNF,
|
||||
[in] DWORD dwFlags);
|
||||
|
||||
HRESULT _TryShell2Rename(
|
||||
[in] IShellView *psv,
|
||||
[in] LPCITEMIDLIST pidlNew);
|
||||
|
||||
HRESULT _SwitchActivationNow();
|
||||
|
||||
HRESULT _ExecChildren(
|
||||
[in] IUnknown *punkBar,
|
||||
[in] BOOL fBroadcast,
|
||||
[in] const GUID *pguidCmdGroup,
|
||||
[in] DWORD nCmdID,
|
||||
[in] DWORD nCmdexecopt,
|
||||
[in] VARIANTARG *pvarargIn,
|
||||
[in, out] VARIANTARG *pvarargOut);
|
||||
|
||||
HRESULT _SendChildren(
|
||||
[in] HWND hwndBar,
|
||||
[in] BOOL fBroadcast,
|
||||
[in] UINT uMsg,
|
||||
[in, out] WPARAM wParam,
|
||||
[in, out] LPARAM lParam);
|
||||
|
||||
HRESULT GetFolderSetData(
|
||||
[in, out] struct tagFolderSetData *pfsd);
|
||||
|
||||
HRESULT _OnFocusChange(
|
||||
[in] UINT itb);
|
||||
|
||||
HRESULT v_ShowHideChildWindows(
|
||||
[in] BOOL fChildOnly);
|
||||
|
||||
UINT _get_itbLastFocus();
|
||||
|
||||
HRESULT _put_itbLastFocus(
|
||||
[in] UINT itbLastFocus);
|
||||
|
||||
HRESULT _UIActivateView(
|
||||
[in] UINT uState);
|
||||
|
||||
HRESULT _GetViewBorderRect(
|
||||
[in, out] RECT* prc);
|
||||
|
||||
HRESULT _UpdateViewRectSize();
|
||||
|
||||
HRESULT _ResizeNextBorder(
|
||||
[in] UINT itb);
|
||||
|
||||
HRESULT _ResizeView();
|
||||
|
||||
HRESULT _GetEffectiveClientArea(
|
||||
[in, out] LPRECT lprectBorder,
|
||||
[in] HMONITOR hmon);
|
||||
|
||||
IStream* v_GetViewStream(
|
||||
[in] LPCITEMIDLIST pidl,
|
||||
[in] DWORD grfMode,
|
||||
[in] LPCWSTR pwszName);
|
||||
|
||||
LRESULT ForwardViewMsg(
|
||||
[in] UINT uMsg,
|
||||
[in] WPARAM wParam,
|
||||
[in] LPARAM lParam);
|
||||
|
||||
HRESULT SetAcceleratorMenu(
|
||||
[in] HACCEL hacc);
|
||||
|
||||
int _GetToolbarCount();
|
||||
|
||||
LPTOOLBARITEM _GetToolbarItem(
|
||||
[in] int itb);
|
||||
|
||||
HRESULT _SaveToolbars(
|
||||
[in] IStream *pstm);
|
||||
|
||||
HRESULT _LoadToolbars(
|
||||
[in] IStream *pstm);
|
||||
|
||||
HRESULT _CloseAndReleaseToolbars(
|
||||
[in] BOOL fClose);
|
||||
|
||||
HRESULT v_MayGetNextToolbarFocus(
|
||||
[in] LPMSG lpMsg,
|
||||
[in] UINT itbNext,
|
||||
[in] int citb,
|
||||
[out] LPTOOLBARITEM *pptbi,
|
||||
[out] HWND *phwnd);
|
||||
|
||||
HRESULT _ResizeNextBorderHelper(
|
||||
[in] UINT itb,
|
||||
[in] BOOL bUseHmonitor);
|
||||
|
||||
UINT _FindTBar(
|
||||
[in] IUnknown *punkSrc);
|
||||
|
||||
HRESULT _SetFocus(
|
||||
[in] LPTOOLBARITEM ptbi,
|
||||
[in] HWND hwnd,
|
||||
[in] LPMSG lpMsg);
|
||||
|
||||
HRESULT v_MayTranslateAccelerator(
|
||||
[in] MSG* pmsg);
|
||||
|
||||
HRESULT _GetBorderDWHelper(
|
||||
[in] IUnknown *punkSrc,
|
||||
[in] LPRECT lprectBorder,
|
||||
[in] BOOL bUseHmonitor);
|
||||
|
||||
HRESULT v_CheckZoneCrossing(
|
||||
[in, out] LPCITEMIDLIST pidl);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue