📄 shdocvw.tlh
字号:
virtual HRESULT __stdcall raw_Navigate2 (
VARIANT * URL,
VARIANT * Flags = &vtMissing,
VARIANT * TargetFrameName = &vtMissing,
VARIANT * PostData = &vtMissing,
VARIANT * Headers = &vtMissing ) = 0;
virtual HRESULT __stdcall raw_QueryStatusWB (
enum OLECMDID cmdID,
enum OLECMDF * pcmdf ) = 0;
virtual HRESULT __stdcall raw_ExecWB (
enum OLECMDID cmdID,
enum OLECMDEXECOPT cmdexecopt,
VARIANT * pvaIn,
VARIANT * pvaOut ) = 0;
virtual HRESULT __stdcall raw_ShowBrowserBar (
VARIANT * pvaClsid,
VARIANT * pvarShow = &vtMissing,
VARIANT * pvarSize = &vtMissing ) = 0;
virtual HRESULT __stdcall get_ReadyState (
enum tagREADYSTATE * plReadyState ) = 0;
virtual HRESULT __stdcall get_Offline (
VARIANT_BOOL * pbOffline ) = 0;
virtual HRESULT __stdcall put_Offline (
VARIANT_BOOL pbOffline ) = 0;
virtual HRESULT __stdcall get_Silent (
VARIANT_BOOL * pbSilent ) = 0;
virtual HRESULT __stdcall put_Silent (
VARIANT_BOOL pbSilent ) = 0;
virtual HRESULT __stdcall get_RegisterAsBrowser (
VARIANT_BOOL * pbRegister ) = 0;
virtual HRESULT __stdcall put_RegisterAsBrowser (
VARIANT_BOOL pbRegister ) = 0;
virtual HRESULT __stdcall get_RegisterAsDropTarget (
VARIANT_BOOL * pbRegister ) = 0;
virtual HRESULT __stdcall put_RegisterAsDropTarget (
VARIANT_BOOL pbRegister ) = 0;
virtual HRESULT __stdcall get_TheaterMode (
VARIANT_BOOL * pbRegister ) = 0;
virtual HRESULT __stdcall put_TheaterMode (
VARIANT_BOOL pbRegister ) = 0;
virtual HRESULT __stdcall get_AddressBar (
VARIANT_BOOL * Value ) = 0;
virtual HRESULT __stdcall put_AddressBar (
VARIANT_BOOL Value ) = 0;
virtual HRESULT __stdcall get_Resizable (
VARIANT_BOOL * Value ) = 0;
virtual HRESULT __stdcall put_Resizable (
VARIANT_BOOL Value ) = 0;
};
enum SecureLockIconConstants
{
secureLockIconUnsecure = 0,
secureLockIconMixed = 1,
secureLockIconSecureUnknownBits = 2,
secureLockIconSecure40Bit = 3,
secureLockIconSecure56Bit = 4,
secureLockIconSecureFortezza = 5,
secureLockIconSecure128Bit = 6
};
struct __declspec(uuid("34a715a0-6587-11d0-924a-0020afc7ac4d"))
DWebBrowserEvents2 : IDispatch
{
//
// Wrapper methods for error-handling
//
// Methods:
HRESULT StatusTextChange (
_bstr_t Text );
HRESULT ProgressChange (
long Progress,
long ProgressMax );
HRESULT CommandStateChange (
long Command,
VARIANT_BOOL Enable );
HRESULT DownloadBegin ( );
HRESULT DownloadComplete ( );
HRESULT TitleChange (
_bstr_t Text );
HRESULT PropertyChange (
_bstr_t szProperty );
HRESULT BeforeNavigate2 (
IDispatch * pDisp,
VARIANT * URL,
VARIANT * Flags,
VARIANT * TargetFrameName,
VARIANT * PostData,
VARIANT * Headers,
VARIANT_BOOL * Cancel );
HRESULT NewWindow2 (
IDispatch * * ppDisp,
VARIANT_BOOL * Cancel );
HRESULT NavigateComplete2 (
IDispatch * pDisp,
VARIANT * URL );
HRESULT DocumentComplete (
IDispatch * pDisp,
VARIANT * URL );
HRESULT OnQuit ( );
HRESULT OnVisible (
VARIANT_BOOL Visible );
HRESULT OnToolBar (
VARIANT_BOOL ToolBar );
HRESULT OnMenuBar (
VARIANT_BOOL MenuBar );
HRESULT OnStatusBar (
VARIANT_BOOL StatusBar );
HRESULT OnFullScreen (
VARIANT_BOOL FullScreen );
HRESULT OnTheaterMode (
VARIANT_BOOL TheaterMode );
HRESULT WindowSetResizable (
VARIANT_BOOL Resizable );
HRESULT WindowSetLeft (
long Left );
HRESULT WindowSetTop (
long Top );
HRESULT WindowSetWidth (
long Width );
HRESULT WindowSetHeight (
long Height );
HRESULT WindowClosing (
VARIANT_BOOL IsChildWindow,
VARIANT_BOOL * Cancel );
HRESULT ClientToHostWindow (
long * CX,
long * CY );
HRESULT SetSecureLockIcon (
long SecureLockIcon );
HRESULT FileDownload (
VARIANT_BOOL * Cancel );
HRESULT NavigateError (
IDispatch * pDisp,
VARIANT * URL,
VARIANT * Frame,
VARIANT * StatusCode,
VARIANT_BOOL * Cancel );
HRESULT PrintTemplateInstantiation (
IDispatch * pDisp );
HRESULT PrintTemplateTeardown (
IDispatch * pDisp );
HRESULT UpdatePageStatus (
IDispatch * pDisp,
VARIANT * nPage,
VARIANT * fDone );
HRESULT PrivacyImpactedStateChange (
VARIANT_BOOL bImpacted );
};
struct __declspec(uuid("eab22ac3-30c1-11cf-a7eb-0000c05bae0b"))
WebBrowser_V1;
// interface IWebBrowser2
// [ default ] interface IWebBrowser
// [ source ] dispinterface DWebBrowserEvents2
// [ default, source ] dispinterface DWebBrowserEvents
struct __declspec(uuid("8856f961-340a-11d0-a96b-00c04fd705a2"))
WebBrowser;
// [ default ] interface IWebBrowser2
// interface IWebBrowser
// [ default, source ] dispinterface DWebBrowserEvents2
// [ source ] dispinterface DWebBrowserEvents
struct __declspec(uuid("0002df01-0000-0000-c000-000000000046"))
InternetExplorer;
// [ default ] interface IWebBrowser2
// interface IWebBrowserApp
// [ default, source ] dispinterface DWebBrowserEvents2
// [ source ] dispinterface DWebBrowserEvents
struct __declspec(uuid("c08afd90-f2a1-11d1-8455-00a0c91f3880"))
ShellBrowserWindow;
// [ default ] interface IWebBrowser2
// interface IWebBrowserApp
// [ default, source ] dispinterface DWebBrowserEvents2
// [ source ] dispinterface DWebBrowserEvents
enum ShellWindowTypeConstants
{
SWC_EXPLORER = 0,
SWC_BROWSER = 1,
SWC_3RDPARTY = 2,
SWC_CALLBACK = 4
};
enum ShellWindowFindWindowOptions
{
SWFO_NEEDDISPATCH = 1,
SWFO_INCLUDEPENDING = 2,
SWFO_COOKIEPASSED = 4
};
struct __declspec(uuid("fe4106e0-399a-11d0-a48c-00a0c90a8f39"))
DShellWindowsEvents : IDispatch
{
//
// Wrapper methods for error-handling
//
// Methods:
HRESULT WindowRegistered (
long lCookie );
HRESULT WindowRevoked (
long lCookie );
};
struct __declspec(uuid("85cb6900-4d95-11cf-960c-0080c7f4ee85"))
IShellWindows : IDispatch
{
//
// Property data
//
__declspec(property(get=GetCount))
long Count;
//
// Wrapper methods for error-handling
//
long GetCount ( );
IDispatchPtr Item (
const _variant_t & index = vtMissing );
IUnknownPtr _NewEnum ( );
HRESULT Register (
IDispatch * pid,
long HWND,
int swClass,
long * plCookie );
HRESULT RegisterPending (
long lThreadId,
VARIANT * pvarloc,
VARIANT * pvarlocRoot,
int swClass,
long * plCookie );
HRESULT Revoke (
long lCookie );
HRESULT OnNavigate (
long lCookie,
VARIANT * pvarloc );
HRESULT OnActivated (
long lCookie,
VARIANT_BOOL fActive );
IDispatchPtr FindWindowSW (
VARIANT * pvarloc,
VARIANT * pvarlocRoot,
int swClass,
long * pHWND,
int swfwOptions );
HRESULT OnCreated (
long lCookie,
IUnknown * punk );
HRESULT ProcessAttachDetach (
VARIANT_BOOL fAttach );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_Count (
long * Count ) = 0;
virtual HRESULT __stdcall raw_Item (
VARIANT index,
IDispatch * * Folder ) = 0;
virtual HRESULT __stdcall raw__NewEnum (
IUnknown * * ppunk ) = 0;
virtual HRESULT __stdcall raw_Register (
IDispatch * pid,
long HWND,
int swClass,
long * plCookie ) = 0;
virtual HRESULT __stdcall raw_RegisterPending (
long lThreadId,
VARIANT * pvarloc,
VARIANT * pvarlocRoot,
int swClass,
long * plCookie ) = 0;
virtual HRESULT __stdcall raw_Revoke (
long lCookie ) = 0;
virtual HRESULT __stdcall raw_OnNavigate (
long lCookie,
VARIANT * pvarloc ) = 0;
virtual HRESULT __stdcall raw_OnActivated (
long lCookie,
VARIANT_BOOL fActive ) = 0;
virtual HRESULT __stdcall raw_FindWindowSW (
VARIANT * pvarloc,
VARIANT * pvarlocRoot,
int swClass,
long * pHWND,
int swfwOptions,
IDispatch * * ppdispOut ) = 0;
virtual HRESULT __stdcall raw_OnCreated (
long lCookie,
IUnknown * punk ) = 0;
virtual HRESULT __stdcall raw_ProcessAttachDetach (
VARIANT_BOOL fAttach ) = 0;
};
struct __declspec(uuid("9ba05972-f6a8-11cf-a442-00a0c90a8f39"))
ShellWindows;
// [ default ] interface IShellWindows
// [ default, source ] dispinterface DShellWindowsEvents
struct __declspec(uuid("729fe2f8-1ea8-11d1-8f85-00c04fc2fbe1"))
IShellUIHelper : IDispatch
{
//
// Wrapper methods for error-handling
//
HRESULT ResetFirstBootMode ( );
HRESULT ResetSafeMode ( );
HRESULT RefreshOfflineDesktop ( );
HRESULT AddFavorite (
_bstr_t URL,
VARIANT * Title = &vtMissing );
HRESULT AddChannel (
_bstr_t URL );
HRESULT AddDesktopComponent (
_bstr_t URL,
_bstr_t Type,
VARIANT * Left = &vtMissing,
VARIANT * Top = &vtMissing,
VARIANT * Width = &vtMissing,
VARIANT * Height = &vtMissing );
VARIANT_BOOL IsSubscribed (
_bstr_t URL );
HRESULT NavigateAndFind (
_bstr_t URL,
_bstr_t strQuery,
VARIANT * varTargetFrame );
HRESULT ImportExportFavorites (
VARIANT_BOOL fImport,
_bstr_t strImpExpPath );
HRESULT AutoCompleteSaveForm (
VARIANT * Form = &vtMissing );
HRESULT AutoScan (
_bstr_t strSearch,
_bstr_t strFailureUrl,
VARIANT * pvarTargetFrame = &vtMissing );
HRESULT AutoCompleteAttach (
VARIANT * Reserved = &vtMissing );
_variant_t ShowBrowserUI (
_bstr_t bstrName,
VARIANT * pvarIn );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_ResetFirstBootMode ( ) = 0;
virtual HRESULT __stdcall raw_ResetSafeMode ( ) = 0;
virtual HRESULT __stdcall raw_RefreshOfflineDesktop ( ) = 0;
virtual HRESULT __stdcall raw_AddFavorite (
BSTR URL,
VARIANT * Title = &vtMissing ) = 0;
virtual HRESULT __stdcall raw_AddChannel (
BSTR URL ) = 0;
virtual HRESULT __stdcall raw_AddDesktopComponent (
BSTR URL,
BSTR Type,
VARIANT * Left = &vtMissing,
VARIANT * Top = &vtMissing,
VARIANT * Width = &vtMissing,
VARIANT * Height = &vtMissing ) = 0;
virtual HRESULT __stdcall raw_IsSubscribed (
BSTR URL,
VARIANT_BOOL * pBool ) = 0;
virtual HRESULT __stdcall raw_NavigateAndFind (
BSTR URL,
BSTR strQuery,
VARIANT * varTargetFrame ) = 0;
virtual HRESULT __stdcall raw_ImportExportFavorites (
VARIANT_BOOL fImport,
BSTR strImpExpPath ) = 0;
virtual HRESULT __stdcall raw_AutoCompleteSaveForm (
VARIANT * Form = &vtMissing ) = 0;
virtual HRESULT __stdcall raw_AutoScan (
BSTR strSearch,
BSTR strFailureUrl,
VARIANT * pvarTargetFrame = &vtMissing ) = 0;
virtual HRESULT __stdcall raw_AutoCompleteAttach (
VARIANT * Reserved = &vtMissing ) = 0;
virtual HRESULT __stdcall raw_ShowBrowserUI (
BSTR bstrName,
VARIANT * pvarIn,
VARIANT * pvarOut ) = 0;
};
struct __declspec(uuid("64ab4bb7-111e-11d1-8f79-00c04fc2fbe1"))
ShellUIHelper;
// [ default ] interface IShellUIHelper
struct __declspec(uuid("55136806-b2de-11d1-b9f2-00a0c98bc547"))
DShellNameSpaceEvents : IDispatch
{
//
// Wrapper methods for error-handling
//
// Methods:
HRESULT FavoritesSelectionChange (
long cItems,
long hItem,
_bstr_t strName,
_bstr_t strUrl,
long cVisits,
_bstr_t strDate,
long fAvailableOffline );
HRESULT SelectionChange ( );
HRESULT DoubleClick ( );
HRESULT Initialized ( );
};
struct __declspec(uuid("55136804-b2de-11d1-b9f2-00a0c98bc547"))
IShellFavoritesNameSpace : IDispatch
{
//
// Property data
//
__declspec(property(get=GetSubscriptionsEnabled))
VARIANT_BOOL SubscriptionsEnabled;
//
// Wrapper methods for error-handling
//
HRESULT MoveSelectionUp ( );
HRESULT MoveSelectionDown ( );
HRESULT ResetSort ( );
HRESULT NewFolder ( );
HRESULT Synchronize ( );
HRESULT Import ( );
HRESULT Export ( );
HRESULT InvokeContextMenuCommand (
_bstr_t strCommand );
HRESULT MoveSelectionTo ( );
VARIANT_BOOL GetSubscriptionsEnabled ( );
VARIANT_BOOL CreateSubscriptionForSelection ( );
VARIANT_BOOL DeleteSubscriptionForSelection ( );
HRESULT SetRoot (
_bstr_t bstrFullPath );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_MoveSelectionUp ( ) = 0;
virtual HRESULT __stdcall raw_MoveSelectionDown ( ) = 0;
virtual HRESULT __stdcall raw_ResetSort ( ) = 0;
virtual HRESULT __stdcall raw_NewFolder ( ) = 0;
virtual HRESULT __stdcall raw_Synchronize ( ) = 0;
virtual HRESULT __stdcall raw_Import ( ) = 0;
virtual HRESULT __stdcall raw_Export ( ) = 0;
virtual HRESULT __stdcall raw_InvokeContextMenuCommand (
BSTR strCommand ) = 0;
virtual HRESULT __stdcall raw_MoveSelectionTo ( ) = 0;
virtual HRESULT __stdcall get_SubscriptionsEnabled (
VARIANT_BOOL * pBool ) = 0;
virtual HRESULT __stdcall raw_CreateSubscriptionForSelection (
VARIANT_BOOL * pBool ) = 0;
virtual HRESULT __stdcall raw_DeleteSubscriptionForSelection (
VARIANT_BOOL * pBool ) = 0;
virtual HRESULT __stdcall raw_SetRoot (
BSTR bstrFullPath ) = 0;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -