📄 shdocvw_tlb_4.h
字号:
// [554] Controls if the browser is in theater mode
virtual HRESULT STDMETHODCALLTYPE set_TheaterMode(TOLEBOOL pbRegister/*[in]*/) = 0;
// [555] Controls whether address bar is shown
virtual HRESULT STDMETHODCALLTYPE get_AddressBar(TOLEBOOL* Value/*[out,retval]*/) = 0;
// [555] Controls whether address bar is shown
virtual HRESULT STDMETHODCALLTYPE set_AddressBar(TOLEBOOL Value/*[in]*/) = 0;
// [556] Controls whether the window is resizable
virtual HRESULT STDMETHODCALLTYPE get_Resizable(TOLEBOOL* Value/*[out,retval]*/) = 0;
// [556] Controls whether the window is resizable
virtual HRESULT STDMETHODCALLTYPE set_Resizable(TOLEBOOL Value/*[in]*/) = 0;
#if !defined(__TLB_NO_INTERFACE_WRAPPERS)
Shdocvw_tlb::OLECMDF __fastcall QueryStatusWB(Shdocvw_tlb::OLECMDID cmdID/*[in]*/)
{
Shdocvw_tlb::OLECMDF pcmdf;
OLECHECK(this->QueryStatusWB(cmdID, &pcmdf));
return pcmdf;
}
Shdocvw_tlb::tagREADYSTATE __fastcall get_ReadyState(void)
{
Shdocvw_tlb::tagREADYSTATE plReadyState;
OLECHECK(this->get_ReadyState(&plReadyState));
return plReadyState;
}
TOLEBOOL __fastcall get_Offline(void)
{
TOLEBOOL pbOffline;
OLECHECK(this->get_Offline(&pbOffline));
return pbOffline;
}
TOLEBOOL __fastcall get_Silent(void)
{
TOLEBOOL pbSilent;
OLECHECK(this->get_Silent(&pbSilent));
return pbSilent;
}
TOLEBOOL __fastcall get_RegisterAsBrowser(void)
{
TOLEBOOL pbRegister;
OLECHECK(this->get_RegisterAsBrowser(&pbRegister));
return pbRegister;
}
TOLEBOOL __fastcall get_RegisterAsDropTarget(void)
{
TOLEBOOL pbRegister;
OLECHECK(this->get_RegisterAsDropTarget(&pbRegister));
return pbRegister;
}
TOLEBOOL __fastcall get_TheaterMode(void)
{
TOLEBOOL pbRegister;
OLECHECK(this->get_TheaterMode(&pbRegister));
return pbRegister;
}
TOLEBOOL __fastcall get_AddressBar(void)
{
TOLEBOOL Value;
OLECHECK(this->get_AddressBar(&Value));
return Value;
}
TOLEBOOL __fastcall get_Resizable(void)
{
TOLEBOOL Value;
OLECHECK(this->get_Resizable(&Value));
return Value;
}
__property Shdocvw_tlb::tagREADYSTATE ReadyState = {read = get_ReadyState};
__property TOLEBOOL Offline = {read = get_Offline, write = set_Offline};
__property TOLEBOOL Silent = {read = get_Silent, write = set_Silent};
__property TOLEBOOL RegisterAsBrowser = {read = get_RegisterAsBrowser, write = set_RegisterAsBrowser};
__property TOLEBOOL RegisterAsDropTarget = {read = get_RegisterAsDropTarget, write = set_RegisterAsDropTarget};
__property TOLEBOOL TheaterMode = {read = get_TheaterMode, write = set_TheaterMode};
__property TOLEBOOL AddressBar = {read = get_AddressBar, write = set_AddressBar};
__property TOLEBOOL Resizable = {read = get_Resizable, write = set_Resizable};
#endif // __TLB_NO_INTERFACE_WRAPPERS
};
// *********************************************************************//
// Interface: DWebBrowserEvents2
// Flags: (4112) Hidden Dispatchable
// GUID: {34A715A0-6587-11D0-924A-0020AFC7AC4D}
// *********************************************************************//
interface DWebBrowserEvents2 : public IDispatch
{
// DispInterfaces have no methods. Their methods and properties are
// accessed via IDispatch::Invoke. See the class DWebBrowserEvents2Disp provided
// below for an easy way to access the methods/properties of this
// interface.
};
// *********************************************************************//
// Interface: IFolderViewOC
// Flags: (4432) Hidden Dual OleAutomation Dispatchable
// GUID: {9BA05970-F6A8-11CF-A442-00A0C90A8F39}
// *********************************************************************//
interface IFolderViewOC : public IDispatch
{
public:
// [-1] Set the ShellFolderView object to monitor events of.
virtual HRESULT STDMETHODCALLTYPE SetFolderView(LPDISPATCH pDisp/*[in]*/) = 0;
#if !defined(__TLB_NO_INTERFACE_WRAPPERS)
#endif // __TLB_NO_INTERFACE_WRAPPERS
};
// *********************************************************************//
// Interface: DShellFolderViewEvents
// Flags: (4096) Dispatchable
// GUID: {62112AA2-EBE4-11CF-A5FB-0020AFE7292D}
// *********************************************************************//
interface DShellFolderViewEvents : public IDispatch
{
// DispInterfaces have no methods. Their methods and properties are
// accessed via IDispatch::Invoke. See the class DShellFolderViewEventsDisp provided
// below for an easy way to access the methods/properties of this
// interface.
};
// *********************************************************************//
// Interface: DShellWindowsEvents
// Flags: (4096) Dispatchable
// GUID: {FE4106E0-399A-11D0-A48C-00A0C90A8F39}
// *********************************************************************//
interface DShellWindowsEvents : public IDispatch
{
// DispInterfaces have no methods. Their methods and properties are
// accessed via IDispatch::Invoke. See the class DShellWindowsEventsDisp provided
// below for an easy way to access the methods/properties of this
// interface.
};
// *********************************************************************//
// Interface: IShellWindows
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {85CB6900-4D95-11CF-960C-0080C7F4EE85}
// *********************************************************************//
interface IShellWindows : public IDispatch
{
public:
// [-1] Get count of open Shell windows
virtual HRESULT STDMETHODCALLTYPE get_Count(long* Count/*[out,retval]*/) = 0;
// [0] Return the shell window for the given index
virtual HRESULT STDMETHODCALLTYPE Item(TVariant index/*[in,opt]*/,
LPDISPATCH* Folder/*[out,retval]*/) = 0;
// [-4] Enumerates the figures
virtual HRESULT STDMETHODCALLTYPE _NewEnum(LPUNKNOWN* ppunk/*[out,retval]*/) = 0;
// [-1] Register a window with the list
virtual HRESULT STDMETHODCALLTYPE Register(LPDISPATCH pid/*[in]*/, long HWND/*[in]*/,
int swClass/*[in]*/, long* plCookie/*[out]*/) = 0;
// [-1] Register a pending open with the list
virtual HRESULT STDMETHODCALLTYPE RegisterPending(long lThreadId/*[in]*/,
TVariant* pvarloc/*[in]*/,
TVariant* pvarlocRoot/*[in]*/,
int swClass/*[in]*/, long* plCookie/*[out]*/) = 0;
// [-1] Remove a window from the list
virtual HRESULT STDMETHODCALLTYPE Revoke(long lCookie/*[in]*/) = 0;
// [-1] Notifies the new location
virtual HRESULT STDMETHODCALLTYPE OnNavigate(long lCookie/*[in]*/, TVariant* pvarloc/*[in]*/) = 0;
// [-1] Notifies the activation
virtual HRESULT STDMETHODCALLTYPE OnActivated(long lCookie/*[in]*/, TOLEBOOL fActive/*[in]*/) = 0;
// [-1] Find the window based on the location
virtual HRESULT STDMETHODCALLTYPE FindWindow(TVariant* pvarloc/*[in]*/,
TVariant* pvarlocRoot/*[in]*/, int swClass/*[in]*/,
long* pHWND/*[out]*/, int swfwOptions/*[in]*/,
LPDISPATCH* ppdispOut/*[out,retval]*/) = 0;
// [-1] Notifies on creation and frame name set
virtual HRESULT STDMETHODCALLTYPE OnCreated(long lCookie/*[in]*/, LPUNKNOWN punk/*[in]*/) = 0;
// [-1] Used by IExplore to register different processes
virtual HRESULT STDMETHODCALLTYPE ProcessAttachDetach(TOLEBOOL fAttach/*[in]*/) = 0;
#if !defined(__TLB_NO_INTERFACE_WRAPPERS)
long __fastcall get_Count(void)
{
long Count;
OLECHECK(this->get_Count(&Count));
return Count;
}
LPDISPATCH __fastcall Item(TVariant index/*[in,opt]*/= TNoParam())
{
LPDISPATCH Folder= 0;
OLECHECK(this->Item(index, &Folder));
return Folder;
}
LPUNKNOWN __fastcall _NewEnum(void)
{
LPUNKNOWN ppunk= 0;
OLECHECK(this->_NewEnum(&ppunk));
return ppunk;
}
LPDISPATCH __fastcall FindWindow(TVariant* pvarloc/*[in]*/, TVariant* pvarlocRoot/*[in]*/,
int swClass/*[in]*/, long* pHWND/*[out]*/,
int swfwOptions/*[in]*/)
{
LPDISPATCH ppdispOut= 0;
OLECHECK(this->FindWindow(pvarloc, pvarlocRoot, swClass, pHWND, swfwOptions, &ppdispOut));
return ppdispOut;
}
__property long Count = {read = get_Count};
#endif // __TLB_NO_INTERFACE_WRAPPERS
};
// *********************************************************************//
// Interface: IShellLinkDual
// Flags: (4432) Hidden Dual OleAutomation Dispatchable
// GUID: {88A05C00-F000-11CE-8350-444553540000}
// *********************************************************************//
interface IShellLinkDual : public IDispatch
{
public:
// [-1] Get the path of the link
virtual HRESULT STDMETHODCALLTYPE get_Path(BSTR* pbs/*[out,retval]*/) = 0;
// [-1] Get the path of the link
virtual HRESULT STDMETHODCALLTYPE set_Path(BSTR pbs/*[in]*/) = 0;
// [-1] Get the description for the link
virtual HRESULT STDMETHODCALLTYPE get_Description(BSTR* pbs/*[out,retval]*/) = 0;
// [-1] Get the description for the link
virtual HRESULT STDMETHODCALLTYPE set_Description(BSTR pbs/*[in]*/) = 0;
// [-1] Get the working directory for the link
virtual HRESULT STDMETHODCALLTYPE get_WorkingDirectory(BSTR* pbs/*[out,retval]*/) = 0;
// [-1] Get the working directory for the link
virtual HRESULT STDMETHODCALLTYPE set_WorkingDirectory(BSTR pbs/*[in]*/) = 0;
// [-1] Get the arguments for the link
virtual HRESULT STDMETHODCALLTYPE get_Arguments(BSTR* pbs/*[out,retval]*/) = 0;
// [-1] Get the arguments for the link
virtual HRESULT STDMETHODCALLTYPE set_Arguments(BSTR pbs/*[in]*/) = 0;
// [-1] Get the Hotkey for the link
virtual HRESULT STDMETHODCALLTYPE get_Hotkey(int* piHK/*[out,retval]*/) = 0;
// [-1] Get the Hotkey for the link
virtual HRESULT STDMETHODCALLTYPE set_Hotkey(int piHK/*[in]*/) = 0;
// [-1] Get the Show Command for the link
virtual HRESULT STDMETHODCALLTYPE get_ShowCommand(int* piShowCommand/*[out,retval]*/) = 0;
// [-1] Get the Show Command for the link
virtual HRESULT STDMETHODCALLTYPE set_ShowCommand(int piShowCommand/*[in]*/) = 0;
// [-1] Tell the link to resolve itself
virtual HRESULT STDMETHODCALLTYPE Resolve(int fFlags/*[in]*/) = 0;
// [-1] Get the IconLocation for the link
virtual HRESULT STDMETHODCALLTYPE GetIconLocation(BSTR* pbs/*[out]*/, int* piIcon/*[out,retval]*/) = 0;
// [-1] Set the IconLocation for the link
virtual HRESULT STDMETHODCALLTYPE SetIconLocation(BSTR bs/*[in]*/, int iIcon/*[in]*/) = 0;
// [-1] Tell the link to save the changes
virtual HRESULT STDMETHODCALLTYPE Save(TVariant vWhere/*[in,opt]*/= TNoParam()) = 0;
#if !defined(__TLB_NO_INTERFACE_WRAPPERS)
BSTR __fastcall get_Path(void)
{
BSTR pbs= 0;
OLECHECK(this->get_Path(&pbs));
return pbs;
}
BSTR __fastcall get_Description(void)
{
BSTR pbs= 0;
OLECHECK(this->get_Description(&pbs));
return pbs;
}
BSTR __fastcall get_WorkingDirectory(void)
{
BSTR pbs= 0;
OLECHECK(this->get_WorkingDirectory(&pbs));
return pbs;
}
BSTR __fastcall get_Arguments(void)
{
BSTR pbs= 0;
OLECHECK(this->get_Arguments(&pbs));
return pbs;
}
int __fastcall get_Hotkey(void)
{
int piHK;
OLECHECK(this->get_Hotkey(&piHK));
return piHK;
}
int __fastcall get_ShowCommand(void)
{
int piShowCommand;
OLECHECK(this->get_ShowCommand(&piShowCommand));
return piShowCommand;
}
int __fastcall GetIconLocation(BSTR* pbs/*[out]*/)
{
int piIcon;
OLECHECK(this->GetIconLocation(pbs, &piIcon));
return piIcon;
}
__property BSTR Path = {read = get_Path, write = set_Path};
__property BSTR Description = {read = get_Description, write = set_Description};
__property BSTR WorkingDirectory = {read = get_WorkingDirectory, write = set_WorkingDirectory};
__property BSTR Arguments = {read = get_Arguments, write = set_Arguments};
__property int Hotkey = {read = get_Hotkey, write = set_Hotkey};
__property int ShowCommand = {read = get_ShowCommand, write = set_ShowCommand};
#endif // __TLB_NO_INTERFACE_WRAPPERS
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -