/*
* Defines the COM interfaces and APIs related to the IE Web browser
*
* Copyright (C) 2001 John R. Sheets (for CodeWeavers)
* Copyright (C) 2003 Alexandre Julliard
* Copyright (C) 2004 Jacek Caban
*
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/*
* Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
* other than GPL or LGPL is available it will apply instead, Oracle elects to use only
* the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
* a choice of LGPL license versions is made available with the language indicating
* that LGPLv2 or any later version may be used, or where a choice of which version
* of the LGPL is applied is otherwise unspecified.
*/
import "ocidl.idl";
import "docobj.idl";
cpp_quote("#ifdef WINE_NO_UNICODE_MACROS")
cpp_quote("#undef FindText")
cpp_quote("#endif")
/*****************************************************************************
* SHDocVw library
*/
[
version(1.1),
helpstring("Microsoft Internet Controls")
]
{
importlib("stdole2.tlb");
/*****************************************************************************
* IWebBrowser interface
*/
[
]
interface IWebBrowser : IDispatch
{
{
navOpenInNewWindow = 0x1,
navNoHistory = 0x2,
navNoReadFromCache = 0x4,
navNoWriteToCache = 0x8,
navAllowAutosearch = 0x10,
navBrowserBar = 0x20,
navHyperlink = 0x40,
navEnforceRestricted = 0x80
typedef enum RefreshConstants
{
REFRESH_NORMAL = 0,
REFRESH_IFEXPIRED = 1,
[id(104)]
}
/*****************************************************************************
* DWebBrowserEvents dispinterface
*/
[
]
{
void BeforeNavigate(
long Flags,
void DownloadComplete();
void DownloadBegin();
void NewWindow(
void FrameBeforeNavigate(
long Flags,
void FrameNewWindow(
[id(DISPID_QUIT)]
void WindowMove();
void WindowResize();
void WindowActivate();
}
[
]
enum CommandStateChangeConstants {
CSC_UPDATECOMMANDS = -1,
CSC_NAVIGATEFORWARD = 1,
CSC_NAVIGATEBACK = 2
/*****************************************************************************
* IWebBrowserApp interface
*/
[
]
interface IWebBrowserApp : IWebBrowser
{
}
/*****************************************************************************
* IWebBrowser2 interface
*/
[
]
interface IWebBrowser2 : IWebBrowserApp
{
}
[
]
enum SecureLockIconConstants {
secureLockIconMixed = 1,
/*****************************************************************************
* DWebBrowserEvents2 dispinterface
*/
[
]
{
void DownloadBegin();
void DownloadComplete();
void BeforeNavigate2(
[id(DISPID_ONQUIT)]
void OnQuit();
void WindowClosing(
void ClientToHostWindow(
void FileDownload(
void NavigateError(
void UpdatePageStatus(
void NewWindow3(
void WindowStateChanged(
void NewProcess(
[in] long lCauseFlag,
void ThirdPartyUrlBlocked(
void RedirectXDomainBlocked(
}
[
helpstring("Microsoft Web Browser Version 1"),
progid("Shell.Explorer.1"),
vi_progid("Shell.Explorer"),
]
{
interface IWebBrowser2;
[default] interface IWebBrowser;
}
[
helpstring("Microsoft Web Browser"),
progid("Shell.Explorer.2"),
vi_progid("Shell.Explorer"),
]
{
[default] interface IWebBrowser2;
interface IWebBrowser;
}
[
helpstring("Internet Explorer(Ver 1.0)"),
progid("InternetExplorer.Application.1"),
vi_progid("InternetExplorer.Application"),
]
{
[default] interface IWebBrowser2;
interface IWebBrowserApp;
}
[
]
{
[default] interface IWebBrowser2;
interface IWebBrowserApp;
}
[
]
enum ShellWindowTypeConstants {
SWC_EXPLORER = 0,
SWC_BROWSER = 1,
SWC_3RDPARTY = 2,
SWC_CALLBACK = 4,
SWC_DESKTOP = 8
[
]
enum ShellWindowFindWindowOptions {
SWFO_NEEDDISPATCH = 1,
SWFO_INCLUDEPENDING = 2,
[
]
}
[
]
interface IShellWindows : IDispatch
{
[in] int swfwOptions,
}
[
]
{
[default] interface IShellWindows;
}
[
odl,
dual,
]
interface IShellUIHelper : IDispatch {
}
[
]
interface IShellUIHelper2 : IShellUIHelper {
}
[
helpstring("Microsoft Shell UI Helper"),
progid("Shell.UIHelper.1"),
vi_progid("Shell.UIHelper"),
]
[default] interface IShellUIHelper2;
}
[
]
[in] long fAvailableOffline);
}
[
odl,
dual,
]
interface IShellFavoritesNameSpace : IDispatch {
}
[
odl,
dual,
]
interface IShellNameSpace : IShellFavoritesNameSpace {
}
[
helpstring("Shell Name Space"),
progid("ShellNameSpace.ShellNameSpace.1"),
vi_progid("ShellNameSpace.ShellNameSpace"),
]
[default] interface IShellNameSpace;
}
[
helpstring("Shell Name Space"),
progid("ShellNameSpace.ShellNameSpace.1"),
vi_progid("ShellNameSpace.ShellNameSpace"),
]
[default] interface IShellNameSpace;
}
[
odl,
dual,
]
interface IScriptErrorList : IDispatch {
}
[
]
[default] interface IScriptErrorList;
}
[
odl,
dual,
]
}
[
odl,
dual,
]
}
[
odl,
dual,
]
interface ISearchAssistantOC : IDispatch {
}
[
odl,
dual,
]
interface ISearchAssistantOC2 : ISearchAssistantOC {
}
[
odl,
dual,
]
interface ISearchAssistantOC3 : ISearchAssistantOC2 {
}
[
]
}
[
helpstring("SearchAssistantOC"),
progid("SearchAssistantOC.SearchAssistantOC.1"),
vi_progid("SearchAssistantOC.SearchAssistantOC"),
]
[default] interface ISearchAssistantOC3;
}
[
progid("SearchAssistantOC.SearchAssistantOC.1"),
vi_progid("SearchAssistantOC.SearchAssistantOC"),
]
[default] interface ISearchAssistantOC3;
}
} /* library */