📄 shdocvw_tlb_4.h
字号:
LPDISPATCH ppid= 0;
OLECHECK(this->get_Parent(&ppid));
return ppid;
}
BSTR __fastcall get_Name(void)
{
BSTR pbs= 0;
OLECHECK(this->get_Name(&pbs));
return pbs;
}
BSTR __fastcall get_Path(void)
{
BSTR pbs= 0;
OLECHECK(this->get_Path(&pbs));
return pbs;
}
LPDISPATCH __fastcall get_GetLink(void)
{
LPDISPATCH ppid= 0;
OLECHECK(this->get_GetLink(&ppid));
return ppid;
}
LPDISPATCH __fastcall get_GetFolder(void)
{
LPDISPATCH ppid= 0;
OLECHECK(this->get_GetFolder(&ppid));
return ppid;
}
TOLEBOOL __fastcall get_IsLink(void)
{
TOLEBOOL pb;
OLECHECK(this->get_IsLink(&pb));
return pb;
}
TOLEBOOL __fastcall get_IsFolder(void)
{
TOLEBOOL pb;
OLECHECK(this->get_IsFolder(&pb));
return pb;
}
TOLEBOOL __fastcall get_IsFileSystem(void)
{
TOLEBOOL pb;
OLECHECK(this->get_IsFileSystem(&pb));
return pb;
}
TOLEBOOL __fastcall get_IsBrowsable(void)
{
TOLEBOOL pb;
OLECHECK(this->get_IsBrowsable(&pb));
return pb;
}
DATE __fastcall get_ModifyDate(void)
{
DATE pdt;
OLECHECK(this->get_ModifyDate(&pdt));
return pdt;
}
long __fastcall get_Size(void)
{
long pul;
OLECHECK(this->get_Size(&pul));
return pul;
}
BSTR __fastcall get_Type(void)
{
BSTR pbs= 0;
OLECHECK(this->get_Type(&pbs));
return pbs;
}
Shdocvw_tlb::FolderItemVerbs* __fastcall Verbs(void)
{
Shdocvw_tlb::FolderItemVerbs* ppfic= 0;
OLECHECK(this->Verbs(&ppfic));
return ppfic;
}
__property LPDISPATCH Application_ = {read = get_Application_};
__property LPDISPATCH Parent = {read = get_Parent};
__property BSTR Name = {read = get_Name, write = set_Name};
__property BSTR Path = {read = get_Path};
__property LPDISPATCH GetLink = {read = get_GetLink};
__property LPDISPATCH GetFolder = {read = get_GetFolder};
__property TOLEBOOL IsLink = {read = get_IsLink};
__property TOLEBOOL IsFolder = {read = get_IsFolder};
__property TOLEBOOL IsFileSystem = {read = get_IsFileSystem};
__property TOLEBOOL IsBrowsable = {read = get_IsBrowsable};
__property DATE ModifyDate = {read = get_ModifyDate, write = set_ModifyDate};
__property long Size = {read = get_Size};
__property BSTR Type = {read = get_Type};
#endif // __TLB_NO_INTERFACE_WRAPPERS
};
// *********************************************************************//
// Interface: IShellFolderViewDual
// Flags: (4432) Hidden Dual OleAutomation Dispatchable
// GUID: {E7A1AF80-4D96-11CF-960C-0080C7F4EE85}
// *********************************************************************//
interface IShellFolderViewDual : public IDispatch
{
public:
// [-1] Get Application object
virtual HRESULT STDMETHODCALLTYPE get_Application_(LPDISPATCH* ppid/*[out,retval]*/) = 0;
// [-1] Get Parent object
virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* ppid/*[out,retval]*/) = 0;
// [-1] Get the folder being viewed
virtual HRESULT STDMETHODCALLTYPE get_Folder_(Shdocvw_tlb::Folder** ppid/*[out,retval]*/) = 0;
// [-1] The collection of Selected Items in folder
virtual HRESULT STDMETHODCALLTYPE SelectedItems(Shdocvw_tlb::FolderItems** ppid/*[out,retval]*/) = 0;
// [-1] The currently focused item in the folder
virtual HRESULT STDMETHODCALLTYPE get_FocusedItem(Shdocvw_tlb::FolderItem** ppid/*[out,retval]*/) = 0;
// [-1] Select the item
virtual HRESULT STDMETHODCALLTYPE SelectItem(TVariant* pvfi/*[in]*/, int dwFlags/*[in]*/) = 0;
// [-1] Show items menu and return command selected
virtual HRESULT STDMETHODCALLTYPE PopupItemMenu(Shdocvw_tlb::FolderItem* pfi/*[in]*/,
TVariant vx/*[in,opt]*/, TVariant vy/*[in,opt]*/,
BSTR* pbs/*[out,retval]*/) = 0;
// [-1] Returns the scripting automation model.
virtual HRESULT STDMETHODCALLTYPE get_Script(LPDISPATCH* ppDisp/*[out,retval]*/) = 0;
// [-1] Returns the view options for showing a folder.
virtual HRESULT STDMETHODCALLTYPE get_ViewOptions(long* plViewOptions/*[out,retval]*/) = 0;
#if !defined(__TLB_NO_INTERFACE_WRAPPERS)
LPDISPATCH __fastcall get_Application_(void)
{
LPDISPATCH ppid= 0;
OLECHECK(this->get_Application_(&ppid));
return ppid;
}
LPDISPATCH __fastcall get_Parent(void)
{
LPDISPATCH ppid= 0;
OLECHECK(this->get_Parent(&ppid));
return ppid;
}
Shdocvw_tlb::Folder* __fastcall get_Folder_(void)
{
Shdocvw_tlb::Folder* ppid= 0;
OLECHECK(this->get_Folder_(&ppid));
return ppid;
}
Shdocvw_tlb::FolderItems* __fastcall SelectedItems(void)
{
Shdocvw_tlb::FolderItems* ppid= 0;
OLECHECK(this->SelectedItems(&ppid));
return ppid;
}
Shdocvw_tlb::FolderItem* __fastcall get_FocusedItem(void)
{
Shdocvw_tlb::FolderItem* ppid= 0;
OLECHECK(this->get_FocusedItem(&ppid));
return ppid;
}
BSTR __fastcall PopupItemMenu(Shdocvw_tlb::FolderItem* pfi/*[in]*/,
TVariant vx/*[in,opt]*/= TNoParam(),
TVariant vy/*[in,opt]*/= TNoParam())
{
BSTR pbs= 0;
OLECHECK(this->PopupItemMenu(pfi, vx, vy, &pbs));
return pbs;
}
LPDISPATCH __fastcall get_Script(void)
{
LPDISPATCH ppDisp= 0;
OLECHECK(this->get_Script(&ppDisp));
return ppDisp;
}
long __fastcall get_ViewOptions(void)
{
long plViewOptions;
OLECHECK(this->get_ViewOptions(&plViewOptions));
return plViewOptions;
}
__property LPDISPATCH Application_ = {read = get_Application_};
__property LPDISPATCH Parent = {read = get_Parent};
__property Shdocvw_tlb::Folder* Folder_ = {read = get_Folder_};
__property Shdocvw_tlb::FolderItem* FocusedItem = {read = get_FocusedItem};
__property LPDISPATCH Script = {read = get_Script};
__property long ViewOptions = {read = get_ViewOptions};
#endif // __TLB_NO_INTERFACE_WRAPPERS
};
// *********************************************************************//
// Interface: IShellDispatch
// Flags: (4432) Hidden Dual OleAutomation Dispatchable
// GUID: {D8F015C0-C278-11CE-A49E-444553540000}
// *********************************************************************//
interface IShellDispatch : public IDispatch
{
public:
// [-1] Get Application object
virtual HRESULT STDMETHODCALLTYPE get_Application_(LPDISPATCH* ppid/*[out,retval]*/) = 0;
// [-1] Get Parent object
virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* ppid/*[out,retval]*/) = 0;
// [-1] Enum the contents of a folder
virtual HRESULT STDMETHODCALLTYPE NameSpace(TVariant vDir/*[in]*/,
Shdocvw_tlb::Folder** ppsdf/*[out,retval]*/) = 0;
// [-1] Browse the name space for a Folder
virtual HRESULT STDMETHODCALLTYPE BrowseForFolder(long HWND/*[in]*/, BSTR Title/*[in]*/,
long Options/*[in]*/,
TVariant RootFolder/*[in,opt]*/,
Shdocvw_tlb::Folder** ppsdf/*[out,retval]*/) = 0;
// [-1] The collection of open folder windows
virtual HRESULT STDMETHODCALLTYPE Windows(LPDISPATCH* ppid/*[out,retval]*/) = 0;
// [-1] Open a folder
virtual HRESULT STDMETHODCALLTYPE Open(TVariant vDir/*[in]*/) = 0;
// [-1] Explore a folder
virtual HRESULT STDMETHODCALLTYPE Explore(TVariant vDir/*[in]*/) = 0;
// [-1] Minimize all windows
virtual HRESULT STDMETHODCALLTYPE MinimizeAll(void) = 0;
// [-1] Undo Minimize All
virtual HRESULT STDMETHODCALLTYPE UndoMinimizeALL(void) = 0;
// [-1] Bring up the file run
virtual HRESULT STDMETHODCALLTYPE FileRun(void) = 0;
// [-1] Cascade Windows
virtual HRESULT STDMETHODCALLTYPE CascadeWindows(void) = 0;
// [-1] Tile windows vertically
virtual HRESULT STDMETHODCALLTYPE TileVertically(void) = 0;
// [-1] Tile windows horizontally
virtual HRESULT STDMETHODCALLTYPE TileHorizontally(void) = 0;
// [-1] Exit Windows
virtual HRESULT STDMETHODCALLTYPE ShutdownWindows(void) = 0;
// [-1] Suspend the pc
virtual HRESULT STDMETHODCALLTYPE Suspend(void) = 0;
// [-1] Eject the pc
virtual HRESULT STDMETHODCALLTYPE EjectPC(void) = 0;
// [-1] Bring up the Set time dialog
virtual HRESULT STDMETHODCALLTYPE SetTime(void) = 0;
// [-1] Handle Tray properties
virtual HRESULT STDMETHODCALLTYPE TrayProperties(void) = 0;
// [-1] Display shell help
virtual HRESULT STDMETHODCALLTYPE Help(void) = 0;
// [-1] Find Files
virtual HRESULT STDMETHODCALLTYPE FindFiles(void) = 0;
// [-1] Find a computer
virtual HRESULT STDMETHODCALLTYPE FindComputer(void) = 0;
// [-1] Refresh the menu
virtual HRESULT STDMETHODCALLTYPE RefreshMenu(void) = 0;
// [-1] Run a controlpanelItem
virtual HRESULT STDMETHODCALLTYPE ControlPanelItem(BSTR szDir/*[in]*/) = 0;
#if !defined(__TLB_NO_INTERFACE_WRAPPERS)
LPDISPATCH __fastcall get_Application_(void)
{
LPDISPATCH ppid= 0;
OLECHECK(this->get_Application_(&ppid));
return ppid;
}
LPDISPATCH __fastcall get_Parent(void)
{
LPDISPATCH ppid= 0;
OLECHECK(this->get_Parent(&ppid));
return ppid;
}
Shdocvw_tlb::Folder* __fastcall NameSpace(TVariant vDir/*[in]*/)
{
Shdocvw_tlb::Folder* ppsdf= 0;
OLECHECK(this->NameSpace(vDir, &ppsdf));
return ppsdf;
}
Shdocvw_tlb::Folder* __fastcall BrowseForFolder(long HWND/*[in]*/, BSTR Title/*[in]*/,
long Options/*[in]*/,
TVariant RootFolder/*[in,opt]*/= TNoParam())
{
Shdocvw_tlb::Folder* ppsdf= 0;
OLECHECK(this->BrowseForFolder(HWND, Title, Options, RootFolder, &ppsdf));
return ppsdf;
}
LPDISPATCH __fastcall Windows(void)
{
LPDISPATCH ppid= 0;
OLECHECK(this->Windows(&ppid));
return ppid;
}
__property LPDISPATCH Application_ = {read = get_Application_};
__property LPDISPATCH Parent = {read = get_Parent};
#endif // __TLB_NO_INTERFACE_WRAPPERS
};
// *********************************************************************//
// Interface: IShellUIHelper
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {729FE2F8-1EA8-11D1-8F85-00C04FC2FBE1}
// *********************************************************************//
interface IShellUIHelper : public IDispatch
{
public:
virtual HRESULT STDMETHODCALLTYPE ResetFirstBootMode(void) = 0; // [1]
virtual HRESULT STDMETHODCALLTYPE ResetSafeMode(void) = 0; // [2]
virtual HRESULT STDMETHODCALLTYPE RefreshOfflineDesktop(void) = 0; // [3]
virtual HRESULT STDMETHODCALLTYPE AddFavorite(BSTR URL/*[in]*/,
TVariant* Title/*[in,opt]*/= TNoParam()) = 0; // [4]
virtual HRESULT STDMETHODCA
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -