wined3d: Break the lighting state out of the vertex decl.
[wine.git] / dlls / hhctrl.ocx / webbrowser.h
blobeaa2218d6dea661f58769446062e2cb91397d9b4
1 /*
2 * WebBrowser Include
4 * Copyright 2005 James Hawkins
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __WINE_WEBBROWSER_H
22 #define __WINE_WEBBROWSER_H
24 #include "exdisp.h"
25 #include "mshtml.h"
26 #include "mshtmhst.h"
28 #define WB_GOBACK 0
29 #define WB_GOFORWARD 1
30 #define WB_GOHOME 2
31 #define WB_SEARCH 3
32 #define WB_REFRESH 4
33 #define WB_STOP 5
35 typedef struct WBInfo
37 IOleClientSite *pOleClientSite;
38 IWebBrowser2 *pWebBrowser2;
39 IOleObject *pBrowserObject;
40 HWND hwndParent;
41 } WBInfo;
43 BOOL WB_EmbedBrowser(WBInfo *pWBInfo, HWND hwndParent);
44 void WB_UnEmbedBrowser(WBInfo *pWBInfo);
45 BOOL WB_Navigate(WBInfo *pWBInfo, LPCWSTR szUrl);
46 void WB_ResizeBrowser(WBInfo *pWBInfo, DWORD dwWidth, DWORD dwHeight);
47 void WB_DoPageAction(WBInfo *pWBInfo, DWORD dwAction);
49 #endif /* __WINE_WEBBROWSER_H */