]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: include/wx/msw/webview_missing.h | |
3 | // Purpose: Defintions / classes commonly missing used by wxWebViewIE | |
4 | // Author: Steven Lamerton | |
5 | // Copyright: (c) 2012 Steven Lamerton | |
6 | // Licence: wxWindows licence | |
7 | ///////////////////////////////////////////////////////////////////////////// | |
8 | ||
9 | /* | |
10 | * Classes and definitions used by wxWebViewIE vary in their | |
11 | * completeness between compilers and versions of compilers. | |
12 | * We implement our own versions here which should work | |
13 | * for all compilers. The definitions are taken from the | |
14 | * mingw-w64 headers which are public domain. | |
15 | */ | |
16 | ||
17 | /* urlmon.h */ | |
18 | ||
19 | struct IHTMLElement; | |
20 | struct IHTMLDocument2; | |
21 | ||
22 | #ifndef REFRESH_NORMAL | |
23 | #define REFRESH_NORMAL 0 | |
24 | #endif | |
25 | ||
26 | #ifndef REFRESH_COMPLETELY | |
27 | #define REFRESH_COMPLETELY 3 | |
28 | #endif | |
29 | ||
30 | typedef enum __wxMIDL_IBindStatusCallback_0006 | |
31 | { | |
32 | wxBSCF_FIRSTDATANOTIFICATION = 0x1, | |
33 | wxBSCF_INTERMEDIATEDATANOTIFICATION = 0x2, | |
34 | wxBSCF_LASTDATANOTIFICATION = 0x4, | |
35 | wxBSCF_DATAFULLYAVAILABLE = 0x8, | |
36 | wxBSCF_AVAILABLEDATASIZEUNKNOWN = 0x10 | |
37 | } wxBSCF; | |
38 | ||
39 | EXTERN_C const IID CLSID_FileProtocol; | |
40 | ||
41 | typedef struct _tagwxBINDINFO | |
42 | { | |
43 | ULONG cbSize; | |
44 | LPWSTR szExtraInfo; | |
45 | STGMEDIUM stgmedData; | |
46 | DWORD grfBindInfoF; | |
47 | DWORD dwBindVerb; | |
48 | LPWSTR szCustomVerb; | |
49 | DWORD cbstgmedData; | |
50 | DWORD dwOptions; | |
51 | DWORD dwOptionsFlags; | |
52 | DWORD dwCodePage; | |
53 | SECURITY_ATTRIBUTES securityAttributes; | |
54 | IID iid; | |
55 | IUnknown *pUnk; | |
56 | DWORD dwReserved; | |
57 | } wxBINDINFO; | |
58 | ||
59 | typedef struct _tagwxPROTOCOLDATA | |
60 | { | |
61 | DWORD grfFlags; | |
62 | DWORD dwState; | |
63 | LPVOID pData; | |
64 | ULONG cbData; | |
65 | } wxPROTOCOLDATA; | |
66 | ||
67 | class wxIInternetBindInfo : public IUnknown | |
68 | { | |
69 | public: | |
70 | virtual HRESULT wxSTDCALL GetBindInfo(DWORD *grfBINDF, wxBINDINFO *pbindinfo) = 0; | |
71 | virtual HRESULT wxSTDCALL GetBindString(ULONG ulStringType, LPOLESTR *ppwzStr, | |
72 | ULONG cEl, ULONG *pcElFetched) = 0; | |
73 | }; | |
74 | ||
75 | class wxIInternetProtocolSink : public IUnknown | |
76 | { | |
77 | public: | |
78 | virtual HRESULT wxSTDCALL Switch(wxPROTOCOLDATA *pProtocolData) = 0; | |
79 | virtual HRESULT wxSTDCALL ReportProgress(ULONG ulStatusCode, | |
80 | LPCWSTR szStatusText) = 0; | |
81 | virtual HRESULT wxSTDCALL ReportData(DWORD grfBSCF, ULONG ulProgress, | |
82 | ULONG ulProgressMax) = 0; | |
83 | virtual HRESULT wxSTDCALL ReportResult(HRESULT hrResult, DWORD dwError, | |
84 | LPCWSTR szResult) = 0; | |
85 | }; | |
86 | ||
87 | class wxIInternetProtocolRoot : public IUnknown | |
88 | { | |
89 | public: | |
90 | virtual HRESULT wxSTDCALL Start(LPCWSTR szUrl, wxIInternetProtocolSink *pOIProtSink, | |
91 | wxIInternetBindInfo *pOIBindInfo, DWORD grfPI, | |
92 | HANDLE_PTR dwReserved) = 0; | |
93 | virtual HRESULT wxSTDCALL Continue(wxPROTOCOLDATA *pProtocolData) = 0; | |
94 | virtual HRESULT wxSTDCALL Abort(HRESULT hrReason, DWORD dwOptions) = 0; | |
95 | virtual HRESULT wxSTDCALL Terminate(DWORD dwOptions) = 0; | |
96 | virtual HRESULT wxSTDCALL Suspend(void) = 0; | |
97 | virtual HRESULT wxSTDCALL Resume(void) = 0; | |
98 | }; | |
99 | ||
100 | ||
101 | class wxIInternetProtocol : public wxIInternetProtocolRoot | |
102 | { | |
103 | public: | |
104 | virtual HRESULT wxSTDCALL Read(void *pv, ULONG cb, ULONG *pcbRead) = 0; | |
105 | virtual HRESULT wxSTDCALL Seek(LARGE_INTEGER dlibMove, DWORD dwOrigin, | |
106 | ULARGE_INTEGER *plibNewPosition) = 0; | |
107 | virtual HRESULT wxSTDCALL LockRequest(DWORD dwOptions) = 0; | |
108 | virtual HRESULT wxSTDCALL UnlockRequest(void) = 0; | |
109 | }; | |
110 | ||
111 | ||
112 | class wxIInternetSession : public IUnknown | |
113 | { | |
114 | public: | |
115 | virtual HRESULT wxSTDCALL RegisterNameSpace(IClassFactory *pCF, REFCLSID rclsid, | |
116 | LPCWSTR pwzProtocol, | |
117 | ULONG cPatterns, | |
118 | const LPCWSTR *ppwzPatterns, | |
119 | DWORD dwReserved) = 0; | |
120 | virtual HRESULT wxSTDCALL UnregisterNameSpace(IClassFactory *pCF, | |
121 | LPCWSTR pszProtocol) = 0; | |
122 | virtual HRESULT wxSTDCALL RegisterMimeFilter(IClassFactory *pCF, | |
123 | REFCLSID rclsid, | |
124 | LPCWSTR pwzType) = 0; | |
125 | virtual HRESULT wxSTDCALL UnregisterMimeFilter(IClassFactory *pCF, | |
126 | LPCWSTR pwzType) = 0; | |
127 | virtual HRESULT wxSTDCALL CreateBinding(LPBC pBC, LPCWSTR szUrl, | |
128 | IUnknown *pUnkOuter, IUnknown **ppUnk, | |
129 | wxIInternetProtocol **ppOInetProt, | |
130 | DWORD dwOption) = 0; | |
131 | virtual HRESULT wxSTDCALL SetSessionOption(DWORD dwOption, LPVOID pBuffer, | |
132 | DWORD dwBufferLength, | |
133 | DWORD dwReserved) = 0; | |
134 | virtual HRESULT wxSTDCALL GetSessionOption(DWORD dwOption, LPVOID pBuffer, | |
135 | DWORD *pdwBufferLength, | |
136 | DWORD dwReserved) = 0; | |
137 | }; | |
138 | ||
139 | /* end of urlmon.h */ | |
140 | ||
141 | /* mshtmhst.h */ | |
142 | ||
143 | typedef enum _tagwxDOCHOSTUIFLAG | |
144 | { | |
145 | DOCHOSTUIFLAG_DIALOG = 0x1, | |
146 | DOCHOSTUIFLAG_DISABLE_HELP_MENU = 0x2, | |
147 | DOCHOSTUIFLAG_NO3DBORDER = 0x4, | |
148 | DOCHOSTUIFLAG_SCROLL_NO = 0x8, | |
149 | DOCHOSTUIFLAG_DISABLE_SCRIPT_INACTIVE = 0x10, | |
150 | DOCHOSTUIFLAG_OPENNEWWIN = 0x20, | |
151 | DOCHOSTUIFLAG_DISABLE_OFFSCREEN = 0x40, | |
152 | DOCHOSTUIFLAG_FLAT_SCROLLBAR = 0x80, | |
153 | DOCHOSTUIFLAG_DIV_BLOCKDEFAULT = 0x100, | |
154 | DOCHOSTUIFLAG_ACTIVATE_CLIENTHIT_ONLY = 0x200, | |
155 | DOCHOSTUIFLAG_OVERRIDEBEHAVIORFACTORY = 0x400, | |
156 | DOCHOSTUIFLAG_CODEPAGELINKEDFONTS = 0x800, | |
157 | DOCHOSTUIFLAG_URL_ENCODING_DISABLE_UTF8 = 0x1000, | |
158 | DOCHOSTUIFLAG_URL_ENCODING_ENABLE_UTF8 = 0x2000, | |
159 | DOCHOSTUIFLAG_ENABLE_FORMS_AUTOCOMPLETE = 0x4000, | |
160 | DOCHOSTUIFLAG_ENABLE_INPLACE_NAVIGATION = 0x10000, | |
161 | DOCHOSTUIFLAG_IME_ENABLE_RECONVERSION = 0x20000, | |
162 | DOCHOSTUIFLAG_THEME = 0x40000, | |
163 | DOCHOSTUIFLAG_NOTHEME = 0x80000, | |
164 | DOCHOSTUIFLAG_NOPICS = 0x100000, | |
165 | DOCHOSTUIFLAG_NO3DOUTERBORDER = 0x200000, | |
166 | DOCHOSTUIFLAG_DISABLE_EDIT_NS_FIXUP = 0x400000, | |
167 | DOCHOSTUIFLAG_LOCAL_MACHINE_ACCESS_CHECK = 0x800000, | |
168 | DOCHOSTUIFLAG_DISABLE_UNTRUSTEDPROTOCOL = 0x1000000 | |
169 | } DOCHOSTUIFLAG; | |
170 | ||
171 | typedef struct _tagwxDOCHOSTUIINFO | |
172 | { | |
173 | ULONG cbSize; | |
174 | DWORD dwFlags; | |
175 | DWORD dwDoubleClick; | |
176 | OLECHAR *pchHostCss; | |
177 | OLECHAR *pchHostNS; | |
178 | } DOCHOSTUIINFO; | |
179 | ||
180 | class wxIDocHostUIHandler : public IUnknown | |
181 | { | |
182 | public: | |
183 | virtual HRESULT wxSTDCALL ShowContextMenu(DWORD dwID, POINT *ppt, | |
184 | IUnknown *pcmdtReserved, | |
185 | IDispatch *pdispReserved) = 0; | |
186 | ||
187 | virtual HRESULT wxSTDCALL GetHostInfo(DOCHOSTUIINFO *pInfo) = 0; | |
188 | ||
189 | virtual HRESULT wxSTDCALL ShowUI(DWORD dwID, | |
190 | IOleInPlaceActiveObject *pActiveObject, | |
191 | IOleCommandTarget *pCommandTarget, | |
192 | IOleInPlaceFrame *pFrame, | |
193 | IOleInPlaceUIWindow *pDoc) = 0; | |
194 | ||
195 | virtual HRESULT wxSTDCALL HideUI(void) = 0; | |
196 | ||
197 | virtual HRESULT wxSTDCALL UpdateUI(void) = 0; | |
198 | ||
199 | virtual HRESULT wxSTDCALL EnableModeless(BOOL fEnable) = 0; | |
200 | ||
201 | virtual HRESULT wxSTDCALL OnDocWindowActivate(BOOL fActivate) = 0; | |
202 | ||
203 | virtual HRESULT wxSTDCALL OnFrameWindowActivate(BOOL fActivate) = 0; | |
204 | ||
205 | virtual HRESULT wxSTDCALL ResizeBorder(LPCRECT prcBorder, | |
206 | IOleInPlaceUIWindow *pUIWindow, | |
207 | BOOL fRameWindow) = 0; | |
208 | ||
209 | virtual HRESULT wxSTDCALL TranslateAccelerator(LPMSG lpMsg, | |
210 | const GUID *pguidCmdGroup, | |
211 | DWORD nCmdID) = 0; | |
212 | ||
213 | virtual HRESULT wxSTDCALL GetOptionKeyPath(LPOLESTR *pchKey, | |
214 | DWORD dw) = 0; | |
215 | ||
216 | virtual HRESULT wxSTDCALL GetDropTarget(IDropTarget *pDropTarget, | |
217 | IDropTarget **ppDropTarget) = 0; | |
218 | ||
219 | virtual HRESULT wxSTDCALL GetExternal(IDispatch **ppDispatch) = 0; | |
220 | ||
221 | virtual HRESULT wxSTDCALL TranslateUrl(DWORD dwTranslate, | |
222 | OLECHAR *pchURLIn, | |
223 | OLECHAR **ppchURLOut) = 0; | |
224 | ||
225 | virtual HRESULT wxSTDCALL FilterDataObject(IDataObject *pDO, | |
226 | IDataObject **ppDORet) = 0; | |
227 | }; | |
228 | ||
229 | /* end of mshtmhst.h */ | |
230 | ||
231 | /* mshtml.h */ | |
232 | ||
233 | typedef enum _tagwxPOINTER_GRAVITY | |
234 | { | |
235 | wxPOINTER_GRAVITY_Left = 0, | |
236 | wxPOINTER_GRAVITY_Right = 1, | |
237 | wxPOINTER_GRAVITY_Max = 2147483647 | |
238 | } wxPOINTER_GRAVITY; | |
239 | ||
240 | typedef enum _tagwxELEMENT_ADJACENCY | |
241 | { | |
242 | wxELEM_ADJ_BeforeBegin = 0, | |
243 | wxELEM_ADJ_AfterBegin = 1, | |
244 | wxELEM_ADJ_BeforeEnd = 2, | |
245 | wxELEM_ADJ_AfterEnd = 3, | |
246 | wxELEMENT_ADJACENCY_Max = 2147483647 | |
247 | } wxELEMENT_ADJACENCY; | |
248 | ||
249 | typedef enum _tagwxMARKUP_CONTEXT_TYPE | |
250 | { | |
251 | wxCONTEXT_TYPE_None = 0, | |
252 | wxCONTEXT_TYPE_Text = 1, | |
253 | wxCONTEXT_TYPE_EnterScope = 2, | |
254 | wxCONTEXT_TYPE_ExitScope = 3, | |
255 | wxCONTEXT_TYPE_NoScope = 4, | |
256 | wxMARKUP_CONTEXT_TYPE_Max = 2147483647 | |
257 | } wxMARKUP_CONTEXT_TYPE; | |
258 | ||
259 | typedef enum _tagwxFINDTEXT_FLAGS | |
260 | { | |
261 | wxFINDTEXT_BACKWARDS = 0x1, | |
262 | wxFINDTEXT_WHOLEWORD = 0x2, | |
263 | wxFINDTEXT_MATCHCASE = 0x4, | |
264 | wxFINDTEXT_RAW = 0x20000, | |
265 | wxFINDTEXT_MATCHDIAC = 0x20000000, | |
266 | wxFINDTEXT_MATCHKASHIDA = 0x40000000, | |
267 | wxFINDTEXT_MATCHALEFHAMZA = 0x80000000, | |
268 | wxFINDTEXT_FLAGS_Max = 2147483647 | |
269 | } wxFINDTEXT_FLAGS; | |
270 | ||
271 | typedef enum _tagwxMOVEUNIT_ACTION | |
272 | { | |
273 | wxMOVEUNIT_PREVCHAR = 0, | |
274 | wxMOVEUNIT_NEXTCHAR = 1, | |
275 | wxMOVEUNIT_PREVCLUSTERBEGIN = 2, | |
276 | wxMOVEUNIT_NEXTCLUSTERBEGIN = 3, | |
277 | wxMOVEUNIT_PREVCLUSTEREND = 4, | |
278 | wxMOVEUNIT_NEXTCLUSTEREND = 5, | |
279 | wxMOVEUNIT_PREVWORDBEGIN = 6, | |
280 | wxMOVEUNIT_NEXTWORDBEGIN = 7, | |
281 | wxMOVEUNIT_PREVWORDEND = 8, | |
282 | wxMOVEUNIT_NEXTWORDEND = 9, | |
283 | wxMOVEUNIT_PREVPROOFWORD = 10, | |
284 | wxMOVEUNIT_NEXTPROOFWORD = 11, | |
285 | wxMOVEUNIT_NEXTURLBEGIN = 12, | |
286 | wxMOVEUNIT_PREVURLBEGIN = 13, | |
287 | wxMOVEUNIT_NEXTURLEND = 14, | |
288 | wxMOVEUNIT_PREVURLEND = 15, | |
289 | wxMOVEUNIT_PREVSENTENCE = 16, | |
290 | wxMOVEUNIT_NEXTSENTENCE = 17, | |
291 | wxMOVEUNIT_PREVBLOCK = 18, | |
292 | wxMOVEUNIT_NEXTBLOCK = 19, | |
293 | wxMOVEUNIT_ACTION_Max = 2147483647 | |
294 | } wxMOVEUNIT_ACTION; | |
295 | ||
296 | typedef enum _tagwxELEMENT_TAG_ID | |
297 | { | |
298 | wxTAGID_NULL = 0, wxTAGID_UNKNOWN = 1, wxTAGID_A = 2, wxTAGID_ACRONYM = 3, | |
299 | wxTAGID_ADDRESS = 4, wxTAGID_APPLET = 5, wxTAGID_AREA = 6, wxTAGID_B = 7, | |
300 | wxTAGID_BASE = 8, wxTAGID_BASEFONT = 9, wxTAGID_BDO = 10, | |
301 | wxTAGID_BGSOUND = 11, wxTAGID_BIG = 12, wxTAGID_BLINK = 13, | |
302 | wxTAGID_BLOCKQUOTE = 14, wxTAGID_BODY = 15, wxTAGID_BR = 16, | |
303 | wxTAGID_BUTTON = 17, wxTAGID_CAPTION = 18, wxTAGID_CENTER = 19, | |
304 | wxTAGID_CITE = 20, wxTAGID_CODE = 21, wxTAGID_COL = 22, | |
305 | wxTAGID_COLGROUP = 23, wxTAGID_COMMENT = 24, wxTAGID_COMMENT_RAW = 25, | |
306 | wxTAGID_DD = 26, wxTAGID_DEL = 27, wxTAGID_DFN = 28, wxTAGID_DIR = 29, | |
307 | wxTAGID_DIV = 30, wxTAGID_DL = 31, wxTAGID_DT = 32, wxTAGID_EM = 33, | |
308 | wxTAGID_EMBED = 34, wxTAGID_FIELDSET = 35, wxTAGID_FONT = 36, | |
309 | wxTAGID_FORM = 37, wxTAGID_FRAME = 38, wxTAGID_FRAMESET = 39, | |
310 | wxTAGID_GENERIC = 40, wxTAGID_H1 = 41, wxTAGID_H2 = 42, wxTAGID_H3 = 43, | |
311 | wxTAGID_H4 = 44, wxTAGID_H5 = 45, wxTAGID_H6 = 46, wxTAGID_HEAD = 47, | |
312 | wxTAGID_HR = 48, wxTAGID_HTML = 49, wxTAGID_I = 50, wxTAGID_IFRAME = 51, | |
313 | wxTAGID_IMG = 52, wxTAGID_INPUT = 53, wxTAGID_INS = 54, wxTAGID_KBD = 55, | |
314 | wxTAGID_LABEL = 56, wxTAGID_LEGEND = 57, wxTAGID_LI = 58, wxTAGID_LINK = 59, | |
315 | wxTAGID_LISTING = 60, wxTAGID_MAP = 61, wxTAGID_MARQUEE = 62, | |
316 | wxTAGID_MENU = 63, wxTAGID_META = 64, wxTAGID_NEXTID = 65, | |
317 | wxTAGID_NOBR = 66, wxTAGID_NOEMBED = 67, wxTAGID_NOFRAMES = 68, | |
318 | wxTAGID_NOSCRIPT = 69, wxTAGID_OBJECT = 70, wxTAGID_OL = 71, | |
319 | wxTAGID_OPTION = 72, wxTAGID_P = 73, wxTAGID_PARAM = 74, | |
320 | wxTAGID_PLAINTEXT = 75, wxTAGID_PRE = 76, wxTAGID_Q = 77, wxTAGID_RP = 78, | |
321 | wxTAGID_RT = 79, wxTAGID_RUBY = 80, wxTAGID_S = 81, wxTAGID_SAMP = 82, | |
322 | wxTAGID_SCRIPT = 83, wxTAGID_SELECT = 84, wxTAGID_SMALL = 85, | |
323 | wxTAGID_SPAN = 86, wxTAGID_STRIKE = 87, wxTAGID_STRONG = 88, | |
324 | wxTAGID_STYLE = 89, wxTAGID_SUB = 90, wxTAGID_SUP = 91, wxTAGID_TABLE = 92, | |
325 | wxTAGID_TBODY = 93, wxTAGID_TC = 94, wxTAGID_TD = 95, wxTAGID_TEXTAREA = 96, | |
326 | wxTAGID_TFOOT = 97, wxTAGID_TH = 98, wxTAGID_THEAD = 99, | |
327 | wxTAGID_TITLE = 100, wxTAGID_TR = 101, wxTAGID_TT = 102, wxTAGID_U = 103, | |
328 | wxTAGID_UL = 104, wxTAGID_VAR = 105, wxTAGID_WBR = 106, wxTAGID_XMP = 107, | |
329 | wxTAGID_ROOT = 108, wxTAGID_OPTGROUP = 109, wxTAGID_COUNT = 110, | |
330 | wxTAGID_LAST_PREDEFINED = 10000, wxELEMENT_TAG_ID_Max = 2147483647 | |
331 | } wxELEMENT_TAG_ID; | |
332 | ||
333 | struct wxIHTMLStyle : public IDispatch | |
334 | { | |
335 | public: | |
336 | virtual HRESULT wxSTDCALL put_fontFamily(BSTR v) = 0; | |
337 | virtual HRESULT wxSTDCALL get_fontFamily(BSTR *p) = 0; | |
338 | virtual HRESULT wxSTDCALL put_fontStyle(BSTR v) = 0; | |
339 | virtual HRESULT wxSTDCALL get_fontStyle(BSTR *p) = 0; | |
340 | virtual HRESULT wxSTDCALL put_fontVariant(BSTR v) = 0; | |
341 | virtual HRESULT wxSTDCALL get_fontVariant(BSTR *p) = 0; | |
342 | virtual HRESULT wxSTDCALL put_fontWeight(BSTR v) = 0; | |
343 | virtual HRESULT wxSTDCALL get_fontWeight(BSTR *p) = 0; | |
344 | virtual HRESULT wxSTDCALL put_fontSize(VARIANT v) = 0; | |
345 | virtual HRESULT wxSTDCALL get_fontSize(VARIANT *p) = 0; | |
346 | virtual HRESULT wxSTDCALL put_font(BSTR v) = 0; | |
347 | virtual HRESULT wxSTDCALL get_font(BSTR *p) = 0; | |
348 | virtual HRESULT wxSTDCALL put_color(VARIANT v) = 0; | |
349 | virtual HRESULT wxSTDCALL get_color(VARIANT *p) = 0; | |
350 | virtual HRESULT wxSTDCALL put_background(BSTR v) = 0; | |
351 | virtual HRESULT wxSTDCALL get_background(BSTR *p) = 0; | |
352 | virtual HRESULT wxSTDCALL put_backgroundColor(VARIANT v) = 0; | |
353 | virtual HRESULT wxSTDCALL get_backgroundColor(VARIANT *p) = 0; | |
354 | virtual HRESULT wxSTDCALL put_backgroundImage(BSTR v) = 0; | |
355 | virtual HRESULT wxSTDCALL get_backgroundImage(BSTR *p) = 0; | |
356 | virtual HRESULT wxSTDCALL put_backgroundRepeat(BSTR v) = 0; | |
357 | virtual HRESULT wxSTDCALL get_backgroundRepeat(BSTR *p) = 0; | |
358 | virtual HRESULT wxSTDCALL put_backgroundAttachment(BSTR v) = 0; | |
359 | virtual HRESULT wxSTDCALL get_backgroundAttachment(BSTR *p) = 0; | |
360 | virtual HRESULT wxSTDCALL put_backgroundPosition(BSTR v) = 0; | |
361 | virtual HRESULT wxSTDCALL get_backgroundPosition(BSTR *p) = 0; | |
362 | virtual HRESULT wxSTDCALL put_backgroundPositionX(VARIANT v) = 0; | |
363 | virtual HRESULT wxSTDCALL get_backgroundPositionX(VARIANT *p) = 0; | |
364 | virtual HRESULT wxSTDCALL put_backgroundPositionY(VARIANT v) = 0; | |
365 | virtual HRESULT wxSTDCALL get_backgroundPositionY(VARIANT *p) = 0; | |
366 | virtual HRESULT wxSTDCALL put_wordSpacing(VARIANT v) = 0; | |
367 | virtual HRESULT wxSTDCALL get_wordSpacing(VARIANT *p) = 0; | |
368 | virtual HRESULT wxSTDCALL put_letterSpacing(VARIANT v) = 0; | |
369 | virtual HRESULT wxSTDCALL get_letterSpacing(VARIANT *p) = 0; | |
370 | virtual HRESULT wxSTDCALL put_textDecoration(BSTR v) = 0; | |
371 | virtual HRESULT wxSTDCALL get_textDecoration(BSTR *p) = 0; | |
372 | virtual HRESULT wxSTDCALL put_textDecorationNone(VARIANT_BOOL v) = 0; | |
373 | virtual HRESULT wxSTDCALL get_textDecorationNone(VARIANT_BOOL *p) = 0; | |
374 | virtual HRESULT wxSTDCALL put_textDecorationUnderline(VARIANT_BOOL v) = 0; | |
375 | virtual HRESULT wxSTDCALL get_textDecorationUnderline(VARIANT_BOOL *p) = 0; | |
376 | virtual HRESULT wxSTDCALL put_textDecorationOverline(VARIANT_BOOL v) = 0; | |
377 | virtual HRESULT wxSTDCALL get_textDecorationOverline(VARIANT_BOOL *p) = 0; | |
378 | virtual HRESULT wxSTDCALL put_textDecorationLineThrough(VARIANT_BOOL v) = 0; | |
379 | virtual HRESULT wxSTDCALL get_textDecorationLineThrough(VARIANT_BOOL *p) = 0; | |
380 | virtual HRESULT wxSTDCALL put_textDecorationBlink(VARIANT_BOOL v) = 0; | |
381 | virtual HRESULT wxSTDCALL get_textDecorationBlink(VARIANT_BOOL *p) = 0; | |
382 | virtual HRESULT wxSTDCALL put_verticalAlign(VARIANT v) = 0; | |
383 | virtual HRESULT wxSTDCALL get_verticalAlign(VARIANT *p) = 0; | |
384 | virtual HRESULT wxSTDCALL put_textTransform(BSTR v) = 0; | |
385 | virtual HRESULT wxSTDCALL get_textTransform(BSTR *p) = 0; | |
386 | virtual HRESULT wxSTDCALL put_textAlign(BSTR v) = 0; | |
387 | virtual HRESULT wxSTDCALL get_textAlign(BSTR *p) = 0; | |
388 | virtual HRESULT wxSTDCALL put_textIndent(VARIANT v) = 0; | |
389 | virtual HRESULT wxSTDCALL get_textIndent(VARIANT *p) = 0; | |
390 | virtual HRESULT wxSTDCALL put_lineHeight(VARIANT v) = 0; | |
391 | virtual HRESULT wxSTDCALL get_lineHeight(VARIANT *p) = 0; | |
392 | virtual HRESULT wxSTDCALL put_marginTop(VARIANT v) = 0; | |
393 | virtual HRESULT wxSTDCALL get_marginTop(VARIANT *p) = 0; | |
394 | virtual HRESULT wxSTDCALL put_marginRight(VARIANT v) = 0; | |
395 | virtual HRESULT wxSTDCALL get_marginRight(VARIANT *p) = 0; | |
396 | virtual HRESULT wxSTDCALL put_marginBottom(VARIANT v) = 0; | |
397 | virtual HRESULT wxSTDCALL get_marginBottom(VARIANT *p) = 0; | |
398 | virtual HRESULT wxSTDCALL put_marginLeft(VARIANT v) = 0; | |
399 | virtual HRESULT wxSTDCALL get_marginLeft(VARIANT *p) = 0; | |
400 | virtual HRESULT wxSTDCALL put_margin(BSTR v) = 0; | |
401 | virtual HRESULT wxSTDCALL get_margin(BSTR *p) = 0; | |
402 | virtual HRESULT wxSTDCALL put_paddingTop(VARIANT v) = 0; | |
403 | virtual HRESULT wxSTDCALL get_paddingTop(VARIANT *p) = 0; | |
404 | virtual HRESULT wxSTDCALL put_paddingRight(VARIANT v) = 0; | |
405 | virtual HRESULT wxSTDCALL get_paddingRight(VARIANT *p) = 0; | |
406 | virtual HRESULT wxSTDCALL put_paddingBottom(VARIANT v) = 0; | |
407 | virtual HRESULT wxSTDCALL get_paddingBottom(VARIANT *p) = 0; | |
408 | virtual HRESULT wxSTDCALL put_paddingLeft(VARIANT v) = 0; | |
409 | virtual HRESULT wxSTDCALL get_paddingLeft(VARIANT *p) = 0; | |
410 | virtual HRESULT wxSTDCALL put_padding(BSTR v) = 0; | |
411 | virtual HRESULT wxSTDCALL get_padding(BSTR *p) = 0; | |
412 | virtual HRESULT wxSTDCALL put_border(BSTR v) = 0; | |
413 | virtual HRESULT wxSTDCALL get_border(BSTR *p) = 0; | |
414 | virtual HRESULT wxSTDCALL put_borderTop(BSTR v) = 0; | |
415 | virtual HRESULT wxSTDCALL get_borderTop(BSTR *p) = 0; | |
416 | virtual HRESULT wxSTDCALL put_borderRight(BSTR v) = 0; | |
417 | virtual HRESULT wxSTDCALL get_borderRight(BSTR *p) = 0; | |
418 | virtual HRESULT wxSTDCALL put_borderBottom(BSTR v) = 0; | |
419 | virtual HRESULT wxSTDCALL get_borderBottom(BSTR *p) = 0; | |
420 | virtual HRESULT wxSTDCALL put_borderLeft(BSTR v) = 0; | |
421 | virtual HRESULT wxSTDCALL get_borderLeft(BSTR *p) = 0; | |
422 | virtual HRESULT wxSTDCALL put_borderColor(BSTR v) = 0; | |
423 | virtual HRESULT wxSTDCALL get_borderColor(BSTR *p) = 0; | |
424 | virtual HRESULT wxSTDCALL put_borderTopColor(VARIANT v) = 0; | |
425 | virtual HRESULT wxSTDCALL get_borderTopColor(VARIANT *p) = 0; | |
426 | virtual HRESULT wxSTDCALL put_borderRightColor(VARIANT v) = 0; | |
427 | virtual HRESULT wxSTDCALL get_borderRightColor(VARIANT *p) = 0; | |
428 | virtual HRESULT wxSTDCALL put_borderBottomColor(VARIANT v) = 0; | |
429 | virtual HRESULT wxSTDCALL get_borderBottomColor(VARIANT *p) = 0; | |
430 | virtual HRESULT wxSTDCALL put_borderLeftColor(VARIANT v) = 0; | |
431 | virtual HRESULT wxSTDCALL get_borderLeftColor(VARIANT *p) = 0; | |
432 | virtual HRESULT wxSTDCALL put_borderWidth(BSTR v) = 0; | |
433 | virtual HRESULT wxSTDCALL get_borderWidth(BSTR *p) = 0; | |
434 | virtual HRESULT wxSTDCALL put_borderTopWidth(VARIANT v) = 0; | |
435 | virtual HRESULT wxSTDCALL get_borderTopWidth(VARIANT *p) = 0; | |
436 | virtual HRESULT wxSTDCALL put_borderRightWidth(VARIANT v) = 0; | |
437 | virtual HRESULT wxSTDCALL get_borderRightWidth(VARIANT *p) = 0; | |
438 | virtual HRESULT wxSTDCALL put_borderBottomWidth(VARIANT v) = 0; | |
439 | virtual HRESULT wxSTDCALL get_borderBottomWidth(VARIANT *p) = 0; | |
440 | virtual HRESULT wxSTDCALL put_borderLeftWidth(VARIANT v) = 0; | |
441 | virtual HRESULT wxSTDCALL get_borderLeftWidth(VARIANT *p) = 0; | |
442 | virtual HRESULT wxSTDCALL put_borderStyle(BSTR v) = 0; | |
443 | virtual HRESULT wxSTDCALL get_borderStyle(BSTR *p) = 0; | |
444 | virtual HRESULT wxSTDCALL put_borderTopStyle(BSTR v) = 0; | |
445 | virtual HRESULT wxSTDCALL get_borderTopStyle(BSTR *p) = 0; | |
446 | virtual HRESULT wxSTDCALL put_borderRightStyle(BSTR v) = 0; | |
447 | virtual HRESULT wxSTDCALL get_borderRightStyle(BSTR *p) = 0; | |
448 | virtual HRESULT wxSTDCALL put_borderBottomStyle(BSTR v) = 0; | |
449 | virtual HRESULT wxSTDCALL get_borderBottomStyle(BSTR *p) = 0; | |
450 | virtual HRESULT wxSTDCALL put_borderLeftStyle(BSTR v) = 0; | |
451 | virtual HRESULT wxSTDCALL get_borderLeftStyle(BSTR *p) = 0; | |
452 | virtual HRESULT wxSTDCALL put_width(VARIANT v) = 0; | |
453 | virtual HRESULT wxSTDCALL get_width(VARIANT *p) = 0; | |
454 | virtual HRESULT wxSTDCALL put_height(VARIANT v) = 0; | |
455 | virtual HRESULT wxSTDCALL get_height(VARIANT *p) = 0; | |
456 | virtual HRESULT wxSTDCALL put_styleFloat(BSTR v) = 0; | |
457 | virtual HRESULT wxSTDCALL get_styleFloat(BSTR *p) = 0; | |
458 | virtual HRESULT wxSTDCALL put_clear(BSTR v) = 0; | |
459 | virtual HRESULT wxSTDCALL get_clear(BSTR *p) = 0; | |
460 | virtual HRESULT wxSTDCALL put_display(BSTR v) = 0; | |
461 | virtual HRESULT wxSTDCALL get_display(BSTR *p) = 0; | |
462 | virtual HRESULT wxSTDCALL put_visibility(BSTR v) = 0; | |
463 | virtual HRESULT wxSTDCALL get_visibility(BSTR *p) = 0; | |
464 | virtual HRESULT wxSTDCALL put_listStyleType(BSTR v) = 0; | |
465 | virtual HRESULT wxSTDCALL get_listStyleType(BSTR *p) = 0; | |
466 | virtual HRESULT wxSTDCALL put_listStylePosition(BSTR v) = 0; | |
467 | virtual HRESULT wxSTDCALL get_listStylePosition(BSTR *p) = 0; | |
468 | virtual HRESULT wxSTDCALL put_listStyleImage(BSTR v) = 0; | |
469 | virtual HRESULT wxSTDCALL get_listStyleImage(BSTR *p) = 0; | |
470 | virtual HRESULT wxSTDCALL put_listStyle(BSTR v) = 0; | |
471 | virtual HRESULT wxSTDCALL get_listStyle(BSTR *p) = 0; | |
472 | virtual HRESULT wxSTDCALL put_whiteSpace(BSTR v) = 0; | |
473 | virtual HRESULT wxSTDCALL get_whiteSpace(BSTR *p) = 0; | |
474 | virtual HRESULT wxSTDCALL put_top(VARIANT v) = 0; | |
475 | virtual HRESULT wxSTDCALL get_top(VARIANT *p) = 0; | |
476 | virtual HRESULT wxSTDCALL put_left(VARIANT v) = 0; | |
477 | virtual HRESULT wxSTDCALL get_left(VARIANT *p) = 0; | |
478 | virtual HRESULT wxSTDCALL get_position(BSTR *p) = 0; | |
479 | virtual HRESULT wxSTDCALL put_zIndex(VARIANT v) = 0; | |
480 | virtual HRESULT wxSTDCALL get_zIndex(VARIANT *p) = 0; | |
481 | virtual HRESULT wxSTDCALL put_overflow(BSTR v) = 0; | |
482 | virtual HRESULT wxSTDCALL get_overflow(BSTR *p) = 0; | |
483 | virtual HRESULT wxSTDCALL put_pageBreakBefore(BSTR v) = 0; | |
484 | virtual HRESULT wxSTDCALL get_pageBreakBefore(BSTR *p) = 0; | |
485 | virtual HRESULT wxSTDCALL put_pageBreakAfter(BSTR v) = 0; | |
486 | virtual HRESULT wxSTDCALL get_pageBreakAfter(BSTR *p) = 0; | |
487 | virtual HRESULT wxSTDCALL put_cssText(BSTR v) = 0; | |
488 | virtual HRESULT wxSTDCALL get_cssText(BSTR *p) = 0; | |
489 | virtual HRESULT wxSTDCALL put_pixelTop(long v) = 0; | |
490 | virtual HRESULT wxSTDCALL get_pixelTop(long *p) = 0; | |
491 | virtual HRESULT wxSTDCALL put_pixelLeft(long v) = 0; | |
492 | virtual HRESULT wxSTDCALL get_pixelLeft(long *p) = 0; | |
493 | virtual HRESULT wxSTDCALL put_pixelWidth(long v) = 0; | |
494 | virtual HRESULT wxSTDCALL get_pixelWidth(long *p) = 0; | |
495 | virtual HRESULT wxSTDCALL put_pixelHeight(long v) = 0; | |
496 | virtual HRESULT wxSTDCALL get_pixelHeight(long *p) = 0; | |
497 | virtual HRESULT wxSTDCALL put_posTop(float v) = 0; | |
498 | virtual HRESULT wxSTDCALL get_posTop(float *p) = 0; | |
499 | virtual HRESULT wxSTDCALL put_posLeft(float v) = 0; | |
500 | virtual HRESULT wxSTDCALL get_posLeft(float *p) = 0; | |
501 | virtual HRESULT wxSTDCALL put_posWidth(float v) = 0; | |
502 | virtual HRESULT wxSTDCALL get_posWidth(float *p) = 0; | |
503 | virtual HRESULT wxSTDCALL put_posHeight(float v) = 0; | |
504 | virtual HRESULT wxSTDCALL get_posHeight(float *p) = 0; | |
505 | virtual HRESULT wxSTDCALL put_cursor(BSTR v) = 0; | |
506 | virtual HRESULT wxSTDCALL get_cursor(BSTR *p) = 0; | |
507 | virtual HRESULT wxSTDCALL put_clip(BSTR v) = 0; | |
508 | virtual HRESULT wxSTDCALL get_clip(BSTR *p) = 0; | |
509 | virtual HRESULT wxSTDCALL put_filter(BSTR v) = 0; | |
510 | virtual HRESULT wxSTDCALL get_filter(BSTR *p) = 0; | |
511 | virtual HRESULT wxSTDCALL setAttribute(BSTR strAttributeName, VARIANT AttributeValue, LONG lFlags = 1) = 0; | |
512 | virtual HRESULT wxSTDCALL getAttribute(BSTR strAttributeName, LONG lFlags, VARIANT *AttributeValue) = 0; | |
513 | virtual HRESULT wxSTDCALL removeAttribute(BSTR strAttributeName, LONG lFlags, VARIANT_BOOL *pfSuccess) = 0; | |
514 | virtual HRESULT wxSTDCALL toString(BSTR *String) = 0; | |
515 | }; | |
516 | ||
517 | struct wxIHTMLCurrentStyle : public IDispatch | |
518 | { | |
519 | public: | |
520 | virtual HRESULT wxSTDCALL get_position(BSTR *p) = 0; | |
521 | virtual HRESULT wxSTDCALL get_styleFloat(BSTR *p) = 0; | |
522 | virtual HRESULT wxSTDCALL get_color(VARIANT *p) = 0; | |
523 | virtual HRESULT wxSTDCALL get_backgroundColor(VARIANT *p) = 0; | |
524 | virtual HRESULT wxSTDCALL get_fontFamily(BSTR *p) = 0; | |
525 | virtual HRESULT wxSTDCALL get_fontStyle(BSTR *p) = 0; | |
526 | virtual HRESULT wxSTDCALL get_fontVariant(BSTR *p) = 0; | |
527 | virtual HRESULT wxSTDCALL get_fontWeight(VARIANT *p) = 0; | |
528 | virtual HRESULT wxSTDCALL get_fontSize(VARIANT *p) = 0; | |
529 | virtual HRESULT wxSTDCALL get_backgroundImage(BSTR *p) = 0; | |
530 | virtual HRESULT wxSTDCALL get_backgroundPositionX(VARIANT *p) = 0; | |
531 | virtual HRESULT wxSTDCALL get_backgroundPositionY(VARIANT *p) = 0; | |
532 | virtual HRESULT wxSTDCALL get_backgroundRepeat(BSTR *p) = 0; | |
533 | virtual HRESULT wxSTDCALL get_borderLeftColor(VARIANT *p) = 0; | |
534 | virtual HRESULT wxSTDCALL get_borderTopColor(VARIANT *p) = 0; | |
535 | virtual HRESULT wxSTDCALL get_borderRightColor(VARIANT *p) = 0; | |
536 | virtual HRESULT wxSTDCALL get_borderBottomColor(VARIANT *p) = 0; | |
537 | virtual HRESULT wxSTDCALL get_borderTopStyle(BSTR *p) = 0; | |
538 | virtual HRESULT wxSTDCALL get_borderRightStyle(BSTR *p) = 0; | |
539 | virtual HRESULT wxSTDCALL get_borderBottomStyle(BSTR *p) = 0; | |
540 | virtual HRESULT wxSTDCALL get_borderLeftStyle(BSTR *p) = 0; | |
541 | virtual HRESULT wxSTDCALL get_borderTopWidth(VARIANT *p) = 0; | |
542 | virtual HRESULT wxSTDCALL get_borderRightWidth(VARIANT *p) = 0; | |
543 | virtual HRESULT wxSTDCALL get_borderBottomWidth(VARIANT *p) = 0; | |
544 | virtual HRESULT wxSTDCALL get_borderLeftWidth(VARIANT *p) = 0; | |
545 | virtual HRESULT wxSTDCALL get_left(VARIANT *p) = 0; | |
546 | virtual HRESULT wxSTDCALL get_top(VARIANT *p) = 0; | |
547 | virtual HRESULT wxSTDCALL get_width(VARIANT *p) = 0; | |
548 | virtual HRESULT wxSTDCALL get_height(VARIANT *p) = 0; | |
549 | virtual HRESULT wxSTDCALL get_paddingLeft(VARIANT *p) = 0; | |
550 | virtual HRESULT wxSTDCALL get_paddingTop(VARIANT *p) = 0; | |
551 | virtual HRESULT wxSTDCALL get_paddingRight(VARIANT *p) = 0; | |
552 | virtual HRESULT wxSTDCALL get_paddingBottom(VARIANT *p) = 0; | |
553 | virtual HRESULT wxSTDCALL get_textAlign(BSTR *p) = 0; | |
554 | virtual HRESULT wxSTDCALL get_textDecoration(BSTR *p) = 0; | |
555 | virtual HRESULT wxSTDCALL get_display(BSTR *p) = 0; | |
556 | virtual HRESULT wxSTDCALL get_visibility(BSTR *p) = 0; | |
557 | virtual HRESULT wxSTDCALL get_zIndex(VARIANT *p) = 0; | |
558 | virtual HRESULT wxSTDCALL get_letterSpacing(VARIANT *p) = 0; | |
559 | virtual HRESULT wxSTDCALL get_lineHeight(VARIANT *p) = 0; | |
560 | virtual HRESULT wxSTDCALL get_textIndent(VARIANT *p) = 0; | |
561 | virtual HRESULT wxSTDCALL get_verticalAlign(VARIANT *p) = 0; | |
562 | virtual HRESULT wxSTDCALL get_backgroundAttachment(BSTR *p) = 0; | |
563 | virtual HRESULT wxSTDCALL get_marginTop(VARIANT *p) = 0; | |
564 | virtual HRESULT wxSTDCALL get_marginRight(VARIANT *p) = 0; | |
565 | virtual HRESULT wxSTDCALL get_marginBottom(VARIANT *p) = 0; | |
566 | virtual HRESULT wxSTDCALL get_marginLeft(VARIANT *p) = 0; | |
567 | virtual HRESULT wxSTDCALL get_clear(BSTR *p) = 0; | |
568 | virtual HRESULT wxSTDCALL get_listStyleType(BSTR *p) = 0; | |
569 | virtual HRESULT wxSTDCALL get_listStylePosition(BSTR *p) = 0; | |
570 | virtual HRESULT wxSTDCALL get_listStyleImage(BSTR *p) = 0; | |
571 | virtual HRESULT wxSTDCALL get_clipTop(VARIANT *p) = 0; | |
572 | virtual HRESULT wxSTDCALL get_clipRight(VARIANT *p) = 0; | |
573 | virtual HRESULT wxSTDCALL get_clipBottom(VARIANT *p) = 0; | |
574 | virtual HRESULT wxSTDCALL get_clipLeft(VARIANT *p) = 0; | |
575 | virtual HRESULT wxSTDCALL get_overflow(BSTR *p) = 0; | |
576 | virtual HRESULT wxSTDCALL get_pageBreakBefore(BSTR *p) = 0; | |
577 | virtual HRESULT wxSTDCALL get_pageBreakAfter(BSTR *p) = 0; | |
578 | virtual HRESULT wxSTDCALL get_cursor(BSTR *p) = 0; | |
579 | virtual HRESULT wxSTDCALL get_tableLayout(BSTR *p) = 0; | |
580 | virtual HRESULT wxSTDCALL get_borderCollapse(BSTR *p) = 0; | |
581 | virtual HRESULT wxSTDCALL get_direction(BSTR *p) = 0; | |
582 | virtual HRESULT wxSTDCALL get_behavior(BSTR *p) = 0; | |
583 | virtual HRESULT wxSTDCALL getAttribute(BSTR strAttributeName, LONG lFlags, VARIANT *AttributeValue) = 0; | |
584 | virtual HRESULT wxSTDCALL get_unicodeBidi(BSTR *p) = 0; | |
585 | virtual HRESULT wxSTDCALL get_right(VARIANT *p) = 0; | |
586 | virtual HRESULT wxSTDCALL get_bottom(VARIANT *p) = 0; | |
587 | virtual HRESULT wxSTDCALL get_imeMode(BSTR *p) = 0; | |
588 | virtual HRESULT wxSTDCALL get_rubyAlign(BSTR *p) = 0; | |
589 | virtual HRESULT wxSTDCALL get_rubyPosition(BSTR *p) = 0; | |
590 | virtual HRESULT wxSTDCALL get_rubyOverhang(BSTR *p) = 0; | |
591 | virtual HRESULT wxSTDCALL get_textAutospace(BSTR *p) = 0; | |
592 | virtual HRESULT wxSTDCALL get_lineBreak(BSTR *p) = 0; | |
593 | virtual HRESULT wxSTDCALL get_wordBreak(BSTR *p) = 0; | |
594 | virtual HRESULT wxSTDCALL get_textJustify(BSTR *p) = 0; | |
595 | virtual HRESULT wxSTDCALL get_textJustifyTrim(BSTR *p) = 0; | |
596 | virtual HRESULT wxSTDCALL get_textKashida(VARIANT *p) = 0; | |
597 | virtual HRESULT wxSTDCALL get_blockDirection(BSTR *p) = 0; | |
598 | virtual HRESULT wxSTDCALL get_layoutGridChar(VARIANT *p) = 0; | |
599 | virtual HRESULT wxSTDCALL get_layoutGridLine(VARIANT *p) = 0; | |
600 | virtual HRESULT wxSTDCALL get_layoutGridMode(BSTR *p) = 0; | |
601 | virtual HRESULT wxSTDCALL get_layoutGridType(BSTR *p) = 0; | |
602 | virtual HRESULT wxSTDCALL get_borderStyle(BSTR *p) = 0; | |
603 | virtual HRESULT wxSTDCALL get_borderColor(BSTR *p) = 0; | |
604 | virtual HRESULT wxSTDCALL get_borderWidth(BSTR *p) = 0; | |
605 | virtual HRESULT wxSTDCALL get_padding(BSTR *p) = 0; | |
606 | virtual HRESULT wxSTDCALL get_margin(BSTR *p) = 0; | |
607 | virtual HRESULT wxSTDCALL get_accelerator(BSTR *p) = 0; | |
608 | virtual HRESULT wxSTDCALL get_overflowX(BSTR *p) = 0; | |
609 | virtual HRESULT wxSTDCALL get_overflowY(BSTR *p) = 0; | |
610 | virtual HRESULT wxSTDCALL get_textTransform(BSTR *p) = 0; | |
611 | }; | |
612 | ||
613 | ||
614 | struct wxIHTMLRect : public IDispatch | |
615 | { | |
616 | public: | |
617 | virtual HRESULT wxSTDCALL put_left(long v) = 0; | |
618 | virtual HRESULT wxSTDCALL get_left(long *p) = 0; | |
619 | virtual HRESULT wxSTDCALL put_top(long v) = 0; | |
620 | virtual HRESULT wxSTDCALL get_top(long *p) = 0; | |
621 | virtual HRESULT wxSTDCALL put_right(long v) = 0; | |
622 | virtual HRESULT wxSTDCALL get_right(long *p) = 0; | |
623 | virtual HRESULT wxSTDCALL put_bottom(long v) = 0; | |
624 | virtual HRESULT wxSTDCALL get_bottom(long *p) = 0; | |
625 | }; | |
626 | ||
627 | struct wxIHTMLRectCollection : public IDispatch | |
628 | { | |
629 | public: | |
630 | virtual HRESULT wxSTDCALL get_length(long *p) = 0; | |
631 | virtual HRESULT wxSTDCALL get__newEnum(IUnknown **p) = 0; | |
632 | virtual HRESULT wxSTDCALL item(VARIANT *pvarIndex, VARIANT *pvarResult) = 0; | |
633 | }; | |
634 | ||
635 | struct wxIHTMLFiltersCollection : public IDispatch | |
636 | { | |
637 | public: | |
638 | virtual HRESULT wxSTDCALL get_length(long *p) = 0; | |
639 | virtual HRESULT wxSTDCALL get__newEnum(IUnknown **p) = 0; | |
640 | virtual HRESULT wxSTDCALL item(VARIANT *pvarIndex, VARIANT *pvarResult) = 0; | |
641 | }; | |
642 | ||
643 | struct wxIHTMLElementCollection : public IDispatch | |
644 | { | |
645 | public: | |
646 | virtual HRESULT wxSTDCALL toString(BSTR *String) = 0; | |
647 | virtual HRESULT wxSTDCALL put_length(long v) = 0; | |
648 | virtual HRESULT wxSTDCALL get_length(long *p) = 0; | |
649 | virtual HRESULT wxSTDCALL get__newEnum(IUnknown **p) = 0; | |
650 | virtual HRESULT wxSTDCALL item(VARIANT name, VARIANT index, IDispatch **pdisp) = 0; | |
651 | virtual HRESULT wxSTDCALL tags(VARIANT tagName, IDispatch **pdisp) = 0; | |
652 | }; | |
653 | ||
654 | struct wxIHTMLElement2 : public IDispatch | |
655 | { | |
656 | public: | |
657 | virtual HRESULT wxSTDCALL get_scopeName(BSTR *p) = 0; | |
658 | virtual HRESULT wxSTDCALL setCapture(VARIANT_BOOL containerCapture = -1) = 0; | |
659 | virtual HRESULT wxSTDCALL releaseCapture(void) = 0; | |
660 | virtual HRESULT wxSTDCALL put_onlosecapture(VARIANT v) = 0; | |
661 | virtual HRESULT wxSTDCALL get_onlosecapture(VARIANT *p) = 0; | |
662 | virtual HRESULT wxSTDCALL componentFromPoint(long x, long y, BSTR *component) = 0; | |
663 | virtual HRESULT wxSTDCALL doScroll(VARIANT component) = 0; | |
664 | virtual HRESULT wxSTDCALL put_onscroll(VARIANT v) = 0; | |
665 | virtual HRESULT wxSTDCALL get_onscroll(VARIANT *p) = 0; | |
666 | virtual HRESULT wxSTDCALL put_ondrag(VARIANT v) = 0; | |
667 | virtual HRESULT wxSTDCALL get_ondrag(VARIANT *p) = 0; | |
668 | virtual HRESULT wxSTDCALL put_ondragend(VARIANT v) = 0; | |
669 | virtual HRESULT wxSTDCALL get_ondragend(VARIANT *p) = 0; | |
670 | virtual HRESULT wxSTDCALL put_ondragenter(VARIANT v) = 0; | |
671 | virtual HRESULT wxSTDCALL get_ondragenter(VARIANT *p) = 0; | |
672 | virtual HRESULT wxSTDCALL put_ondragover(VARIANT v) = 0; | |
673 | virtual HRESULT wxSTDCALL get_ondragover(VARIANT *p) = 0; | |
674 | virtual HRESULT wxSTDCALL put_ondragleave(VARIANT v) = 0; | |
675 | virtual HRESULT wxSTDCALL get_ondragleave(VARIANT *p) = 0; | |
676 | virtual HRESULT wxSTDCALL put_ondrop(VARIANT v) = 0; | |
677 | virtual HRESULT wxSTDCALL get_ondrop(VARIANT *p) = 0; | |
678 | virtual HRESULT wxSTDCALL put_onbeforecut(VARIANT v) = 0; | |
679 | virtual HRESULT wxSTDCALL get_onbeforecut(VARIANT *p) = 0; | |
680 | virtual HRESULT wxSTDCALL put_oncut(VARIANT v) = 0; | |
681 | virtual HRESULT wxSTDCALL get_oncut(VARIANT *p) = 0; | |
682 | virtual HRESULT wxSTDCALL put_onbeforecopy(VARIANT v) = 0; | |
683 | virtual HRESULT wxSTDCALL get_onbeforecopy(VARIANT *p) = 0; | |
684 | virtual HRESULT wxSTDCALL put_oncopy(VARIANT v) = 0; | |
685 | virtual HRESULT wxSTDCALL get_oncopy(VARIANT *p) = 0; | |
686 | virtual HRESULT wxSTDCALL put_onbeforepaste(VARIANT v) = 0; | |
687 | virtual HRESULT wxSTDCALL get_onbeforepaste(VARIANT *p) = 0; | |
688 | virtual HRESULT wxSTDCALL put_onpaste(VARIANT v) = 0; | |
689 | virtual HRESULT wxSTDCALL get_onpaste(VARIANT *p) = 0; | |
690 | virtual HRESULT wxSTDCALL get_currentStyle(wxIHTMLCurrentStyle **p) = 0; | |
691 | virtual HRESULT wxSTDCALL put_onpropertychange(VARIANT v) = 0; | |
692 | virtual HRESULT wxSTDCALL get_onpropertychange(VARIANT *p) = 0; | |
693 | virtual HRESULT wxSTDCALL getClientRects(wxIHTMLRectCollection **pRectCol) = 0; | |
694 | virtual HRESULT wxSTDCALL getBoundingClientRect(wxIHTMLRect **pRect) = 0; | |
695 | virtual HRESULT wxSTDCALL setExpression(BSTR propname, BSTR expression, BSTR language = L"") = 0; | |
696 | virtual HRESULT wxSTDCALL getExpression(BSTR propname, VARIANT *expression) = 0; | |
697 | virtual HRESULT wxSTDCALL removeExpression(BSTR propname, VARIANT_BOOL *pfSuccess) = 0; | |
698 | virtual HRESULT wxSTDCALL put_tabIndex(short v) = 0; | |
699 | virtual HRESULT wxSTDCALL get_tabIndex(short *p) = 0; | |
700 | virtual HRESULT wxSTDCALL focus(void) = 0; | |
701 | virtual HRESULT wxSTDCALL put_accessKey(BSTR v) = 0; | |
702 | virtual HRESULT wxSTDCALL get_accessKey(BSTR *p) = 0; | |
703 | virtual HRESULT wxSTDCALL put_onblur(VARIANT v) = 0; | |
704 | virtual HRESULT wxSTDCALL get_onblur(VARIANT *p) = 0; | |
705 | virtual HRESULT wxSTDCALL put_onfocus(VARIANT v) = 0; | |
706 | virtual HRESULT wxSTDCALL get_onfocus(VARIANT *p) = 0; | |
707 | virtual HRESULT wxSTDCALL put_onresize(VARIANT v) = 0; | |
708 | virtual HRESULT wxSTDCALL get_onresize(VARIANT *p) = 0; | |
709 | virtual HRESULT wxSTDCALL blur(void) = 0; | |
710 | virtual HRESULT wxSTDCALL addFilter(IUnknown *pUnk) = 0; | |
711 | virtual HRESULT wxSTDCALL removeFilter(IUnknown *pUnk) = 0; | |
712 | virtual HRESULT wxSTDCALL get_clientHeight(long *p) = 0; | |
713 | virtual HRESULT wxSTDCALL get_clientWidth(long *p) = 0; | |
714 | virtual HRESULT wxSTDCALL get_clientTop(long *p) = 0; | |
715 | virtual HRESULT wxSTDCALL get_clientLeft(long *p) = 0; | |
716 | virtual HRESULT wxSTDCALL attachEvent(BSTR event, IDispatch *pDisp, VARIANT_BOOL *pfResult) = 0; | |
717 | virtual HRESULT wxSTDCALL detachEvent(BSTR event, IDispatch *pDisp) = 0; | |
718 | virtual HRESULT wxSTDCALL get_readyState(VARIANT *p) = 0; | |
719 | virtual HRESULT wxSTDCALL put_onreadystatechange(VARIANT v) = 0; | |
720 | virtual HRESULT wxSTDCALL get_onreadystatechange(VARIANT *p) = 0; | |
721 | virtual HRESULT wxSTDCALL put_onrowsdelete(VARIANT v) = 0; | |
722 | virtual HRESULT wxSTDCALL get_onrowsdelete(VARIANT *p) = 0; | |
723 | virtual HRESULT wxSTDCALL put_onrowsinserted(VARIANT v) = 0; | |
724 | virtual HRESULT wxSTDCALL get_onrowsinserted(VARIANT *p) = 0; | |
725 | virtual HRESULT wxSTDCALL put_oncellchange(VARIANT v) = 0; | |
726 | virtual HRESULT wxSTDCALL get_oncellchange(VARIANT *p) = 0; | |
727 | virtual HRESULT wxSTDCALL put_dir(BSTR v) = 0; | |
728 | virtual HRESULT wxSTDCALL get_dir(BSTR *p) = 0; | |
729 | virtual HRESULT wxSTDCALL createControlRange(IDispatch **range) = 0; | |
730 | virtual HRESULT wxSTDCALL get_scrollHeight(long *p) = 0; | |
731 | virtual HRESULT wxSTDCALL get_scrollWidth(long *p) = 0; | |
732 | virtual HRESULT wxSTDCALL put_scrollTop(long v) = 0; | |
733 | virtual HRESULT wxSTDCALL get_scrollTop(long *p) = 0; | |
734 | virtual HRESULT wxSTDCALL put_scrollLeft(long v) = 0; | |
735 | virtual HRESULT wxSTDCALL get_scrollLeft(long *p) = 0; | |
736 | virtual HRESULT wxSTDCALL clearAttributes(void) = 0; | |
737 | virtual HRESULT wxSTDCALL mergeAttributes(IHTMLElement *mergeThis) = 0; | |
738 | virtual HRESULT wxSTDCALL put_oncontextmenu(VARIANT v) = 0; | |
739 | virtual HRESULT wxSTDCALL get_oncontextmenu(VARIANT *p) = 0; | |
740 | virtual HRESULT wxSTDCALL insertAdjacentElement(BSTR where, IHTMLElement *insertedElement, IHTMLElement **inserted) = 0; | |
741 | virtual HRESULT wxSTDCALL applyElement(IHTMLElement *apply, BSTR where, IHTMLElement **applied) = 0; | |
742 | virtual HRESULT wxSTDCALL getAdjacentText(BSTR where, BSTR *text) = 0; | |
743 | virtual HRESULT wxSTDCALL replaceAdjacentText(BSTR where, BSTR newText, BSTR *oldText) = 0; | |
744 | virtual HRESULT wxSTDCALL get_canHaveChildren(VARIANT_BOOL *p) = 0; | |
745 | virtual HRESULT wxSTDCALL addBehavior(BSTR bstrUrl, VARIANT *pvarFactory, long *pCookie) = 0; | |
746 | virtual HRESULT wxSTDCALL removeBehavior(long cookie, VARIANT_BOOL *pfResult) = 0; | |
747 | virtual HRESULT wxSTDCALL get_runtimeStyle(wxIHTMLStyle **p) = 0; | |
748 | virtual HRESULT wxSTDCALL get_behaviorUrns(IDispatch **p) = 0; | |
749 | virtual HRESULT wxSTDCALL put_tagUrn(BSTR v) = 0; | |
750 | virtual HRESULT wxSTDCALL get_tagUrn(BSTR *p) = 0; | |
751 | virtual HRESULT wxSTDCALL put_onbeforeeditfocus(VARIANT v) = 0; | |
752 | virtual HRESULT wxSTDCALL get_onbeforeeditfocus(VARIANT *p) = 0; | |
753 | virtual HRESULT wxSTDCALL get_readyStateValue(long *p) = 0; | |
754 | virtual HRESULT wxSTDCALL getElementsByTagName(BSTR v, | |
755 | wxIHTMLElementCollection **pelColl) = 0; | |
756 | }; | |
757 | ||
758 | struct wxIHTMLTxtRange : public IDispatch | |
759 | { | |
760 | public: | |
761 | virtual HRESULT wxSTDCALL get_htmlText(BSTR *p) = 0; | |
762 | virtual HRESULT wxSTDCALL put_text(BSTR v) = 0; | |
763 | virtual HRESULT wxSTDCALL get_text(BSTR *p) = 0; | |
764 | virtual HRESULT wxSTDCALL parentElement(IHTMLElement **parent) = 0; | |
765 | virtual HRESULT wxSTDCALL duplicate(wxIHTMLTxtRange **Duplicate) = 0; | |
766 | virtual HRESULT wxSTDCALL inRange(wxIHTMLTxtRange *Range, VARIANT_BOOL *InRange) = 0; | |
767 | virtual HRESULT wxSTDCALL isEqual(wxIHTMLTxtRange *Range, VARIANT_BOOL *IsEqual) = 0; | |
768 | virtual HRESULT wxSTDCALL scrollIntoView(VARIANT_BOOL fStart = -1) = 0; | |
769 | virtual HRESULT wxSTDCALL collapse(VARIANT_BOOL Start = -1) = 0; | |
770 | virtual HRESULT wxSTDCALL expand(BSTR Unit, VARIANT_BOOL *Success) = 0; | |
771 | virtual HRESULT wxSTDCALL move(BSTR Unit, long Count, long *ActualCount) = 0; | |
772 | virtual HRESULT wxSTDCALL moveStart(BSTR Unit, long Count, long *ActualCount) = 0; | |
773 | virtual HRESULT wxSTDCALL moveEnd(BSTR Unit, long Count, long *ActualCount) = 0; | |
774 | virtual HRESULT wxSTDCALL select(void) = 0; | |
775 | virtual HRESULT wxSTDCALL pasteHTML(BSTR html) = 0; | |
776 | virtual HRESULT wxSTDCALL moveToElementText(IHTMLElement *element) = 0; | |
777 | virtual HRESULT wxSTDCALL setEndPoint(BSTR how, wxIHTMLTxtRange *SourceRange) = 0; | |
778 | virtual HRESULT wxSTDCALL compareEndPoints(BSTR how, wxIHTMLTxtRange *SourceRange, long *ret) = 0; | |
779 | virtual HRESULT wxSTDCALL findText(BSTR String, long count, long Flags, VARIANT_BOOL *Success) = 0; | |
780 | virtual HRESULT wxSTDCALL moveToPoint(long x, long y) = 0; | |
781 | virtual HRESULT wxSTDCALL getBookmark(BSTR *Boolmark) = 0; | |
782 | virtual HRESULT wxSTDCALL moveToBookmark(BSTR Bookmark, VARIANT_BOOL *Success) = 0; | |
783 | virtual HRESULT wxSTDCALL queryCommandSupported(BSTR cmdID, VARIANT_BOOL *pfRet) = 0; | |
784 | virtual HRESULT wxSTDCALL queryCommandEnabled(BSTR cmdID, VARIANT_BOOL *pfRet) = 0; | |
785 | virtual HRESULT wxSTDCALL queryCommandState(BSTR cmdID, VARIANT_BOOL *pfRet) = 0; | |
786 | virtual HRESULT wxSTDCALL queryCommandIndeterm(BSTR cmdID, VARIANT_BOOL *pfRet) = 0; | |
787 | virtual HRESULT wxSTDCALL queryCommandText(BSTR cmdID, BSTR *pcmdText) = 0; | |
788 | virtual HRESULT wxSTDCALL queryCommandValue(BSTR cmdID, VARIANT *pcmdValue) = 0; | |
789 | virtual HRESULT wxSTDCALL execCommand(BSTR cmdID, VARIANT_BOOL showUI, VARIANT value, VARIANT_BOOL *pfRet) = 0; | |
790 | virtual HRESULT wxSTDCALL execCommandShowHelp(BSTR cmdID, VARIANT_BOOL *pfRet) = 0; | |
791 | }; | |
792 | ||
793 | struct wxIMarkupContainer : public IUnknown | |
794 | { | |
795 | public: | |
796 | virtual HRESULT wxSTDCALL OwningDoc(IHTMLDocument2 **ppDoc) = 0; | |
797 | }; | |
798 | ||
799 | struct wxIMarkupPointer : public IUnknown | |
800 | { | |
801 | public: | |
802 | virtual HRESULT wxSTDCALL OwningDoc(IHTMLDocument2 **ppDoc) = 0; | |
803 | virtual HRESULT wxSTDCALL Gravity(wxPOINTER_GRAVITY *pGravity) = 0; | |
804 | virtual HRESULT wxSTDCALL SetGravity(wxPOINTER_GRAVITY Gravity) = 0; | |
805 | virtual HRESULT wxSTDCALL Cling(BOOL *pfCling) = 0; | |
806 | virtual HRESULT wxSTDCALL SetCling(BOOL fCLing) = 0; | |
807 | virtual HRESULT wxSTDCALL Unposition(void) = 0; | |
808 | virtual HRESULT wxSTDCALL IsPositioned(BOOL *pfPositioned) = 0; | |
809 | virtual HRESULT wxSTDCALL GetContainer(wxIMarkupContainer **ppContainer) = 0; | |
810 | virtual HRESULT wxSTDCALL MoveAdjacentToElement(IHTMLElement *pElement, wxELEMENT_ADJACENCY eAdj) = 0; | |
811 | virtual HRESULT wxSTDCALL MoveToPointer(wxIMarkupPointer *pPointer) = 0; | |
812 | virtual HRESULT wxSTDCALL MoveToContainer(wxIMarkupContainer *pContainer, BOOL fAtStart) = 0; | |
813 | virtual HRESULT wxSTDCALL Left(BOOL fMove, wxMARKUP_CONTEXT_TYPE *pContext, IHTMLElement **ppElement, long *pcch, OLECHAR *pchText) = 0; | |
814 | virtual HRESULT wxSTDCALL Right(BOOL fMove, wxMARKUP_CONTEXT_TYPE *pContext, IHTMLElement **ppElement, long *pcch, OLECHAR *pchText) = 0; | |
815 | virtual HRESULT wxSTDCALL CurrentScope(IHTMLElement **ppElemCurrent) = 0; | |
816 | virtual HRESULT wxSTDCALL IsLeftOf(wxIMarkupPointer *pPointerThat, BOOL *pfResult) = 0; | |
817 | virtual HRESULT wxSTDCALL IsLeftOfOrEqualTo(wxIMarkupPointer *pPointerThat, BOOL *pfResult) = 0; | |
818 | virtual HRESULT wxSTDCALL IsRightOf(wxIMarkupPointer *pPointerThat, BOOL *pfResult) = 0; | |
819 | virtual HRESULT wxSTDCALL IsRightOfOrEqualTo(wxIMarkupPointer *pPointerThat, BOOL *pfResult) = 0; | |
820 | virtual HRESULT wxSTDCALL IsEqualTo(wxIMarkupPointer *pPointerThat, BOOL *pfAreEqual) = 0; | |
821 | virtual HRESULT wxSTDCALL MoveUnit(wxMOVEUNIT_ACTION muAction) = 0; | |
822 | virtual HRESULT wxSTDCALL FindText(OLECHAR *pchFindText, DWORD dwFlags, wxIMarkupPointer *pIEndMatch, wxIMarkupPointer *pIEndSearch) = 0; | |
823 | }; | |
824 | ||
825 | struct wxIMarkupServices : public IUnknown | |
826 | { | |
827 | public: | |
828 | virtual HRESULT wxSTDCALL CreateMarkupPointer(wxIMarkupPointer **ppPointer) = 0; | |
829 | virtual HRESULT wxSTDCALL CreateMarkupContainer(wxIMarkupContainer **ppMarkupContainer) = 0; | |
830 | virtual HRESULT wxSTDCALL CreateElement(wxELEMENT_TAG_ID tagID, OLECHAR *pchAttributes, IHTMLElement **ppElement) = 0; | |
831 | virtual HRESULT wxSTDCALL CloneElement(IHTMLElement *pElemCloneThis, IHTMLElement **ppElementTheClone) = 0; | |
832 | virtual HRESULT wxSTDCALL InsertElement(IHTMLElement *pElementInsert, wxIMarkupPointer *pPointerStart, wxIMarkupPointer *pPointerFinish) = 0; | |
833 | virtual HRESULT wxSTDCALL RemoveElement(IHTMLElement *pElementRemove) = 0; | |
834 | virtual HRESULT wxSTDCALL Remove(wxIMarkupPointer *pPointerStart, wxIMarkupPointer *pPointerFinish) = 0; | |
835 | virtual HRESULT wxSTDCALL Copy(wxIMarkupPointer *pPointerSourceStart, wxIMarkupPointer *pPointerSourceFinish, wxIMarkupPointer *pPointerTarget) = 0; | |
836 | virtual HRESULT wxSTDCALL Move(wxIMarkupPointer *pPointerSourceStart, wxIMarkupPointer *pPointerSourceFinish, wxIMarkupPointer *pPointerTarget) = 0; | |
837 | virtual HRESULT wxSTDCALL InsertText(OLECHAR *pchText, long cch, wxIMarkupPointer *pPointerTarget) = 0; | |
838 | virtual HRESULT wxSTDCALL ParseString(OLECHAR *pchHTML, DWORD dwFlags, wxIMarkupContainer **ppContainerResult, wxIMarkupPointer *ppPointerStart, wxIMarkupPointer *ppPointerFinish) = 0; | |
839 | virtual HRESULT wxSTDCALL ParseGlobal(HGLOBAL hglobalHTML, DWORD dwFlags, wxIMarkupContainer **ppContainerResult, wxIMarkupPointer *pPointerStart, wxIMarkupPointer *pPointerFinish) = 0; | |
840 | virtual HRESULT wxSTDCALL IsScopedElement(IHTMLElement *pElement, BOOL *pfScoped) = 0; | |
841 | virtual HRESULT wxSTDCALL GetElementTagId(IHTMLElement *pElement, wxELEMENT_TAG_ID *ptagId) = 0; | |
842 | virtual HRESULT wxSTDCALL GetTagIDForName(BSTR bstrName, wxELEMENT_TAG_ID *ptagId) = 0; | |
843 | virtual HRESULT wxSTDCALL GetNameForTagID(wxELEMENT_TAG_ID tagId, BSTR *pbstrName) = 0; | |
844 | virtual HRESULT wxSTDCALL MovePointersToRange(wxIHTMLTxtRange *pIRange, wxIMarkupPointer *pPointerStart, wxIMarkupPointer *pPointerFinish) = 0; | |
845 | virtual HRESULT wxSTDCALL MoveRangeToPointers(wxIMarkupPointer *pPointerStart, wxIMarkupPointer *pPointerFinish, wxIHTMLTxtRange *pIRange) = 0; | |
846 | virtual HRESULT wxSTDCALL BeginUndoUnit(OLECHAR *pchTitle) = 0; | |
847 | virtual HRESULT wxSTDCALL EndUndoUnit(void) = 0; | |
848 | }; | |
849 | ||
850 | /* end of mshtml.h */ | |
851 | ||
852 | /* WinInet.h */ | |
853 | ||
854 | #ifndef HTTP_STATUS_BAD_REQUEST | |
855 | #define HTTP_STATUS_BAD_REQUEST 400 | |
856 | #endif | |
857 | ||
858 | #ifndef HTTP_STATUS_DENIED | |
859 | #define HTTP_STATUS_DENIED 401 | |
860 | #endif | |
861 | ||
862 | #ifndef HTTP_STATUS_PAYMENT_REQ | |
863 | #define HTTP_STATUS_PAYMENT_REQ 402 | |
864 | #endif | |
865 | ||
866 | #ifndef HTTP_STATUS_FORBIDDEN | |
867 | #define HTTP_STATUS_FORBIDDEN 403 | |
868 | #endif | |
869 | ||
870 | #ifndef HTTP_STATUS_NOT_FOUND | |
871 | #define HTTP_STATUS_NOT_FOUND 404 | |
872 | #endif | |
873 | ||
874 | #ifndef HTTP_STATUS_BAD_METHOD | |
875 | #define HTTP_STATUS_BAD_METHOD 405 | |
876 | #endif | |
877 | ||
878 | #ifndef HTTP_STATUS_NONE_ACCEPTABLE | |
879 | #define HTTP_STATUS_NONE_ACCEPTABLE 406 | |
880 | #endif | |
881 | ||
882 | #ifndef HTTP_STATUS_PROXY_AUTH_REQ | |
883 | #define HTTP_STATUS_PROXY_AUTH_REQ 407 | |
884 | #endif | |
885 | ||
886 | #ifndef HTTP_STATUS_REQUEST_TIMEOUT | |
887 | #define HTTP_STATUS_REQUEST_TIMEOUT 408 | |
888 | #endif | |
889 | ||
890 | #ifndef HTTP_STATUS_CONFLICT | |
891 | #define HTTP_STATUS_CONFLICT 409 | |
892 | #endif | |
893 | ||
894 | #ifndef HTTP_STATUS_GONE | |
895 | #define HTTP_STATUS_GONE 410 | |
896 | #endif | |
897 | ||
898 | #ifndef HTTP_STATUS_LENGTH_REQUIRED | |
899 | #define HTTP_STATUS_LENGTH_REQUIRED 411 | |
900 | #endif | |
901 | ||
902 | #ifndef HTTP_STATUS_PRECOND_FAILED | |
903 | #define HTTP_STATUS_PRECOND_FAILED 412 | |
904 | #endif | |
905 | ||
906 | #ifndef HTTP_STATUS_REQUEST_TOO_LARGE | |
907 | #define HTTP_STATUS_REQUEST_TOO_LARGE 413 | |
908 | #endif | |
909 | ||
910 | #ifndef HTTP_STATUS_URI_TOO_LONG | |
911 | #define HTTP_STATUS_URI_TOO_LONG 414 | |
912 | #endif | |
913 | ||
914 | #ifndef HTTP_STATUS_UNSUPPORTED_MEDIA | |
915 | #define HTTP_STATUS_UNSUPPORTED_MEDIA 415 | |
916 | #endif | |
917 | ||
918 | #ifndef HTTP_STATUS_RETRY_WITH | |
919 | #define HTTP_STATUS_RETRY_WITH 449 | |
920 | #endif | |
921 | ||
922 | #ifndef HTTP_STATUS_SERVER_ERROR | |
923 | #define HTTP_STATUS_SERVER_ERROR 500 | |
924 | #endif | |
925 | ||
926 | #ifndef HTTP_STATUS_NOT_SUPPORTED | |
927 | #define HTTP_STATUS_NOT_SUPPORTED 501 | |
928 | #endif | |
929 | ||
930 | #ifndef HTTP_STATUS_BAD_GATEWAY | |
931 | #define HTTP_STATUS_BAD_GATEWAY 502 | |
932 | #endif | |
933 | ||
934 | #ifndef HTTP_STATUS_SERVICE_UNAVAIL | |
935 | #define HTTP_STATUS_SERVICE_UNAVAIL 503 | |
936 | #endif | |
937 | ||
938 | #ifndef HTTP_STATUS_GATEWAY_TIMEOUT | |
939 | #define HTTP_STATUS_GATEWAY_TIMEOUT 504 | |
940 | #endif | |
941 | ||
942 | #ifndef HTTP_STATUS_VERSION_NOT_SUP | |
943 | #define HTTP_STATUS_VERSION_NOT_SUP 505 | |
944 | #endif | |
945 | ||
946 | /* end of WinInet.h */ | |
947 |