📄 shdocvw.tlh
字号:
};
struct __declspec(uuid("e572d3c9-37be-4ae2-825d-d521763e3108"))
IShellNameSpace : IShellFavoritesNameSpace
{
//
// Property data
//
__declspec(property(get=GetEnumOptions,put=PutEnumOptions))
long EnumOptions;
__declspec(property(get=GetSelectedItem,put=PutSelectedItem))
IDispatchPtr SelectedItem;
__declspec(property(get=GetRoot,put=PutRoot))
_variant_t Root;
__declspec(property(get=GetDepth,put=PutDepth))
int Depth;
__declspec(property(get=GetMode,put=PutMode))
unsigned int Mode;
__declspec(property(get=GetFlags,put=PutFlags))
unsigned long Flags;
__declspec(property(get=GetTVFlags,put=PutTVFlags))
unsigned long TVFlags;
__declspec(property(get=GetColumns,put=PutColumns))
_bstr_t Columns;
__declspec(property(get=GetCountViewTypes))
int CountViewTypes;
//
// Wrapper methods for error-handling
//
long GetEnumOptions ( );
void PutEnumOptions (
long pgrfEnumFlags );
IDispatchPtr GetSelectedItem ( );
void PutSelectedItem (
IDispatch * pItem );
_variant_t GetRoot ( );
void PutRoot (
const _variant_t & pvar );
int GetDepth ( );
void PutDepth (
int piDepth );
unsigned int GetMode ( );
void PutMode (
unsigned int puMode );
unsigned long GetFlags ( );
void PutFlags (
unsigned long pdwFlags );
void PutTVFlags (
unsigned long dwFlags );
unsigned long GetTVFlags ( );
_bstr_t GetColumns ( );
void PutColumns (
_bstr_t bstrColumns );
int GetCountViewTypes ( );
HRESULT SetViewType (
int iType );
IDispatchPtr SelectedItems ( );
HRESULT Expand (
const _variant_t & var,
int iDepth );
HRESULT UnselectAll ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_EnumOptions (
long * pgrfEnumFlags ) = 0;
virtual HRESULT __stdcall put_EnumOptions (
long pgrfEnumFlags ) = 0;
virtual HRESULT __stdcall get_SelectedItem (
IDispatch * * pItem ) = 0;
virtual HRESULT __stdcall put_SelectedItem (
IDispatch * pItem ) = 0;
virtual HRESULT __stdcall get_Root (
VARIANT * pvar ) = 0;
virtual HRESULT __stdcall put_Root (
VARIANT pvar ) = 0;
virtual HRESULT __stdcall get_Depth (
int * piDepth ) = 0;
virtual HRESULT __stdcall put_Depth (
int piDepth ) = 0;
virtual HRESULT __stdcall get_Mode (
unsigned int * puMode ) = 0;
virtual HRESULT __stdcall put_Mode (
unsigned int puMode ) = 0;
virtual HRESULT __stdcall get_Flags (
unsigned long * pdwFlags ) = 0;
virtual HRESULT __stdcall put_Flags (
unsigned long pdwFlags ) = 0;
virtual HRESULT __stdcall put_TVFlags (
unsigned long dwFlags ) = 0;
virtual HRESULT __stdcall get_TVFlags (
unsigned long * dwFlags ) = 0;
virtual HRESULT __stdcall get_Columns (
BSTR * bstrColumns ) = 0;
virtual HRESULT __stdcall put_Columns (
BSTR bstrColumns ) = 0;
virtual HRESULT __stdcall get_CountViewTypes (
int * piTypes ) = 0;
virtual HRESULT __stdcall raw_SetViewType (
int iType ) = 0;
virtual HRESULT __stdcall raw_SelectedItems (
IDispatch * * ppid ) = 0;
virtual HRESULT __stdcall raw_Expand (
VARIANT var,
int iDepth ) = 0;
virtual HRESULT __stdcall raw_UnselectAll ( ) = 0;
};
struct __declspec(uuid("55136805-b2de-11d1-b9f2-00a0c98bc547"))
ShellNameSpace;
// [ default ] interface IShellNameSpace
// [ default, source ] dispinterface DShellNameSpaceEvents
struct __declspec(uuid("f3470f24-15fd-11d2-bb2e-00805ff7efca"))
IScriptErrorList : IDispatch
{
//
// Wrapper methods for error-handling
//
HRESULT advanceError ( );
HRESULT retreatError ( );
long canAdvanceError ( );
long canRetreatError ( );
long getErrorLine ( );
long getErrorChar ( );
long getErrorCode ( );
_bstr_t getErrorMsg ( );
_bstr_t getErrorUrl ( );
long getAlwaysShowLockState ( );
long getDetailsPaneOpen ( );
HRESULT setDetailsPaneOpen (
long fDetailsPaneOpen );
long getPerErrorDisplay ( );
HRESULT setPerErrorDisplay (
long fPerErrorDisplay );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_advanceError ( ) = 0;
virtual HRESULT __stdcall raw_retreatError ( ) = 0;
virtual HRESULT __stdcall raw_canAdvanceError (
long * pfCanAdvance ) = 0;
virtual HRESULT __stdcall raw_canRetreatError (
long * pfCanRetreat ) = 0;
virtual HRESULT __stdcall raw_getErrorLine (
long * plLine ) = 0;
virtual HRESULT __stdcall raw_getErrorChar (
long * plChar ) = 0;
virtual HRESULT __stdcall raw_getErrorCode (
long * plCode ) = 0;
virtual HRESULT __stdcall raw_getErrorMsg (
BSTR * pstr ) = 0;
virtual HRESULT __stdcall raw_getErrorUrl (
BSTR * pstr ) = 0;
virtual HRESULT __stdcall raw_getAlwaysShowLockState (
long * pfAlwaysShowLocked ) = 0;
virtual HRESULT __stdcall raw_getDetailsPaneOpen (
long * pfDetailsPaneOpen ) = 0;
virtual HRESULT __stdcall raw_setDetailsPaneOpen (
long fDetailsPaneOpen ) = 0;
virtual HRESULT __stdcall raw_getPerErrorDisplay (
long * pfPerErrorDisplay ) = 0;
virtual HRESULT __stdcall raw_setPerErrorDisplay (
long fPerErrorDisplay ) = 0;
};
struct __declspec(uuid("efd01300-160f-11d2-bb2e-00805ff7efca"))
CScriptErrorList;
// [ default ] interface IScriptErrorList
struct __declspec(uuid("ba9239a4-3dd5-11d2-bf8b-00c04fb93661"))
ISearch : IDispatch
{
//
// Property data
//
__declspec(property(get=GetTitle))
_bstr_t Title;
__declspec(property(get=GetId))
_bstr_t Id;
__declspec(property(get=GetURL))
_bstr_t URL;
//
// Wrapper methods for error-handling
//
_bstr_t GetTitle ( );
_bstr_t GetId ( );
_bstr_t GetURL ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_Title (
BSTR * pbstrTitle ) = 0;
virtual HRESULT __stdcall get_Id (
BSTR * pbstrId ) = 0;
virtual HRESULT __stdcall get_URL (
BSTR * pbstrUrl ) = 0;
};
struct __declspec(uuid("47c922a2-3dd5-11d2-bf8b-00c04fb93661"))
ISearches : IDispatch
{
//
// Property data
//
__declspec(property(get=GetCount))
long Count;
__declspec(property(get=GetDefault))
_bstr_t Default;
//
// Wrapper methods for error-handling
//
long GetCount ( );
_bstr_t GetDefault ( );
ISearchPtr Item (
const _variant_t & index = vtMissing );
IUnknownPtr _NewEnum ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_Count (
long * plCount ) = 0;
virtual HRESULT __stdcall get_Default (
BSTR * pbstrDefault ) = 0;
virtual HRESULT __stdcall raw_Item (
VARIANT index,
struct ISearch * * ppid ) = 0;
virtual HRESULT __stdcall raw__NewEnum (
IUnknown * * ppunk ) = 0;
};
struct __declspec(uuid("72423e8f-8011-11d2-be79-00a0c9a83da1"))
ISearchAssistantOC : IDispatch
{
//
// Property data
//
__declspec(property(get=GetShellFeaturesEnabled))
VARIANT_BOOL ShellFeaturesEnabled;
__declspec(property(get=GetSearchAssistantDefault))
VARIANT_BOOL SearchAssistantDefault;
__declspec(property(get=GetSearches))
ISearchesPtr Searches;
__declspec(property(get=GetInWebFolder))
VARIANT_BOOL InWebFolder;
__declspec(property(put=PutEventHandled))
VARIANT_BOOL EventHandled;
__declspec(property(get=GetASProvider,put=PutASProvider))
_bstr_t ASProvider;
__declspec(property(get=GetASSetting,put=PutASSetting))
int ASSetting;
__declspec(property(get=GetVersion))
int Version;
//
// Wrapper methods for error-handling
//
HRESULT AddNextMenuItem (
_bstr_t bstrText,
long idItem );
HRESULT SetDefaultSearchUrl (
_bstr_t bstrUrl );
HRESULT NavigateToDefaultSearch ( );
VARIANT_BOOL IsRestricted (
_bstr_t bstrGuid );
VARIANT_BOOL GetShellFeaturesEnabled ( );
VARIANT_BOOL GetSearchAssistantDefault ( );
ISearchesPtr GetSearches ( );
VARIANT_BOOL GetInWebFolder ( );
HRESULT PutProperty (
VARIANT_BOOL bPerLocale,
_bstr_t bstrName,
_bstr_t bstrValue );
_bstr_t GetProperty (
VARIANT_BOOL bPerLocale,
_bstr_t bstrName );
void PutEventHandled (
VARIANT_BOOL _arg1 );
HRESULT ResetNextMenu ( );
HRESULT FindOnWeb ( );
HRESULT FindFilesOrFolders ( );
HRESULT FindComputer ( );
HRESULT FindPrinter ( );
HRESULT FindPeople ( );
_bstr_t GetSearchAssistantURL (
VARIANT_BOOL bSubstitute,
VARIANT_BOOL bCustomize );
HRESULT NotifySearchSettingsChanged ( );
void PutASProvider (
_bstr_t pProvider );
_bstr_t GetASProvider ( );
void PutASSetting (
int pSetting );
int GetASSetting ( );
HRESULT NETDetectNextNavigate ( );
HRESULT PutFindText (
_bstr_t FindText );
int GetVersion ( );
_bstr_t EncodeString (
_bstr_t bstrValue,
_bstr_t bstrCharSet,
VARIANT_BOOL bUseUTF8 );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_AddNextMenuItem (
BSTR bstrText,
long idItem ) = 0;
virtual HRESULT __stdcall raw_SetDefaultSearchUrl (
BSTR bstrUrl ) = 0;
virtual HRESULT __stdcall raw_NavigateToDefaultSearch ( ) = 0;
virtual HRESULT __stdcall raw_IsRestricted (
BSTR bstrGuid,
VARIANT_BOOL * pVal ) = 0;
virtual HRESULT __stdcall get_ShellFeaturesEnabled (
VARIANT_BOOL * pVal ) = 0;
virtual HRESULT __stdcall get_SearchAssistantDefault (
VARIANT_BOOL * pVal ) = 0;
virtual HRESULT __stdcall get_Searches (
struct ISearches * * ppid ) = 0;
virtual HRESULT __stdcall get_InWebFolder (
VARIANT_BOOL * pVal ) = 0;
virtual HRESULT __stdcall raw_PutProperty (
VARIANT_BOOL bPerLocale,
BSTR bstrName,
BSTR bstrValue ) = 0;
virtual HRESULT __stdcall raw_GetProperty (
VARIANT_BOOL bPerLocale,
BSTR bstrName,
BSTR * pbstrValue ) = 0;
virtual HRESULT __stdcall put_EventHandled (
VARIANT_BOOL _arg1 ) = 0;
virtual HRESULT __stdcall raw_ResetNextMenu ( ) = 0;
virtual HRESULT __stdcall raw_FindOnWeb ( ) = 0;
virtual HRESULT __stdcall raw_FindFilesOrFolders ( ) = 0;
virtual HRESULT __stdcall raw_FindComputer ( ) = 0;
virtual HRESULT __stdcall raw_FindPrinter ( ) = 0;
virtual HRESULT __stdcall raw_FindPeople ( ) = 0;
virtual HRESULT __stdcall raw_GetSearchAssistantURL (
VARIANT_BOOL bSubstitute,
VARIANT_BOOL bCustomize,
BSTR * pbstrValue ) = 0;
virtual HRESULT __stdcall raw_NotifySearchSettingsChanged ( ) = 0;
virtual HRESULT __stdcall put_ASProvider (
BSTR pProvider ) = 0;
virtual HRESULT __stdcall get_ASProvider (
BSTR * pProvider ) = 0;
virtual HRESULT __stdcall put_ASSetting (
int pSetting ) = 0;
virtual HRESULT __stdcall get_ASSetting (
int * pSetting ) = 0;
virtual HRESULT __stdcall raw_NETDetectNextNavigate ( ) = 0;
virtual HRESULT __stdcall raw_PutFindText (
BSTR FindText ) = 0;
virtual HRESULT __stdcall get_Version (
int * pVersion ) = 0;
virtual HRESULT __stdcall raw_EncodeString (
BSTR bstrValue,
BSTR bstrCharSet,
VARIANT_BOOL bUseUTF8,
BSTR * pbstrResult ) = 0;
};
struct __declspec(uuid("72423e8f-8011-11d2-be79-00a0c9a83da2"))
ISearchAssistantOC2 : ISearchAssistantOC
{
//
// Property data
//
__declspec(property(get=GetShowFindPrinter))
VARIANT_BOOL ShowFindPrinter;
//
// Wrapper methods for error-handling
//
VARIANT_BOOL GetShowFindPrinter ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_ShowFindPrinter (
VARIANT_BOOL * pbShowFindPrinter ) = 0;
};
struct __declspec(uuid("72423e8f-8011-11d2-be79-00a0c9a83da3"))
ISearchAssistantOC3 : ISearchAssistantOC2
{
//
// Property data
//
__declspec(property(get=GetSearchCompanionAvailable))
VARIANT_BOOL SearchCompanionAvailable;
__declspec(property(get=GetUseSearchCompanion,put=PutUseSearchCompanion))
VARIANT_BOOL UseSearchCompanion;
//
// Wrapper methods for error-handling
//
VARIANT_BOOL GetSearchCompanionAvailable ( );
void PutUseSearchCompanion (
VARIANT_BOOL pbUseSC );
VARIANT_BOOL GetUseSearchCompanion ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_SearchCompanionAvailable (
VARIANT_BOOL * pbAvailable ) = 0;
virtual HRESULT __stdcall put_UseSearchCompanion (
VARIANT_BOOL pbUseSC ) = 0;
virtual HRESULT __stdcall get_UseSearchCompanion (
VARIANT_BOOL * pbUseSC ) = 0;
};
struct __declspec(uuid("1611fdda-445b-11d2-85de-00c04fa35c89"))
_SearchAssistantEvents : IDispatch
{
//
// Wrapper methods for error-handling
//
// Methods:
HRESULT OnNextMenuSelect (
long idItem );
HRESULT OnNewSearch ( );
};
struct __declspec(uuid("b45ff030-4447-11d2-85de-00c04fa35c89"))
SearchAssistantOC;
// [ default ] interface ISearchAssistantOC3
// [ default, source ] dispinterface _SearchAssistantEvents
//
// Wrapper method implementations
//
#include "shdocvw.tli"
} // namespace SHDocVw
#pragma pack(pop)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -