Korean: Use SUBLANG_NEUTRAL in Korean resources.
[wine] / dlls / hhctrl.ocx / webbrowser.h
1 /*
2  * WebBrowser Include
3  *
4  * Copyright 2005 James Hawkins
5  *
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.
10  *
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.
15  *
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
19  */
20
21 #ifndef __WINE_WEBBROWSER_H
22 #define __WINE_WEBBROWSER_H
23
24 #include "exdisp.h"
25 #include "mshtml.h"
26 #include "mshtmhst.h"
27
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
34
35 typedef struct WBInfo
36 {
37     IOleClientSite *pOleClientSite;
38     IWebBrowser2 *pWebBrowser2;
39     IOleObject *pBrowserObject;
40     HWND hwndParent;
41 } WBInfo;
42
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);
48
49 #endif /* __WINE_WEBBROWSER_H */