1 // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
3 // NOTE: Do not modify the contents of this file. If this class is regenerated by
4 // Microsoft Visual C++, your modifications will be overwritten.
8 #include "webbrowser2.h"
10 /////////////////////////////////////////////////////////////////////////////
13 IMPLEMENT_DYNCREATE(CWebBrowser2
, CWnd
)
15 /////////////////////////////////////////////////////////////////////////////
16 // CWebBrowser2 properties
18 /////////////////////////////////////////////////////////////////////////////
19 // CWebBrowser2 operations
21 void CWebBrowser2::GoBack()
23 InvokeHelper(0x64, DISPATCH_METHOD
, VT_EMPTY
, NULL
, NULL
);
26 void CWebBrowser2::GoForward()
28 InvokeHelper(0x65, DISPATCH_METHOD
, VT_EMPTY
, NULL
, NULL
);
31 void CWebBrowser2::GoHome()
33 InvokeHelper(0x66, DISPATCH_METHOD
, VT_EMPTY
, NULL
, NULL
);
36 void CWebBrowser2::GoSearch()
38 InvokeHelper(0x67, DISPATCH_METHOD
, VT_EMPTY
, NULL
, NULL
);
41 void CWebBrowser2::Navigate(LPCTSTR URL
, VARIANT
* Flags
, VARIANT
* TargetFrameName
, VARIANT
* PostData
, VARIANT
* Headers
)
44 VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT
;
45 InvokeHelper(0x68, DISPATCH_METHOD
, VT_EMPTY
, NULL
, parms
,
46 URL
, Flags
, TargetFrameName
, PostData
, Headers
);
49 void CWebBrowser2::Refresh()
51 InvokeHelper(DISPID_REFRESH
, DISPATCH_METHOD
, VT_EMPTY
, NULL
, NULL
);
54 void CWebBrowser2::Refresh2(VARIANT
* Level
)
58 InvokeHelper(0x69, DISPATCH_METHOD
, VT_EMPTY
, NULL
, parms
,
62 void CWebBrowser2::Stop()
64 InvokeHelper(0x6a, DISPATCH_METHOD
, VT_EMPTY
, NULL
, NULL
);
67 LPDISPATCH
CWebBrowser2::GetApplication()
70 InvokeHelper(0xc8, DISPATCH_PROPERTYGET
, VT_DISPATCH
, (void*)&result
, NULL
);
74 LPDISPATCH
CWebBrowser2::GetParent()
77 InvokeHelper(0xc9, DISPATCH_PROPERTYGET
, VT_DISPATCH
, (void*)&result
, NULL
);
81 LPDISPATCH
CWebBrowser2::GetContainer()
84 InvokeHelper(0xca, DISPATCH_PROPERTYGET
, VT_DISPATCH
, (void*)&result
, NULL
);
88 LPDISPATCH
CWebBrowser2::GetDocument()
91 InvokeHelper(0xcb, DISPATCH_PROPERTYGET
, VT_DISPATCH
, (void*)&result
, NULL
);
95 BOOL
CWebBrowser2::GetTopLevelContainer()
98 InvokeHelper(0xcc, DISPATCH_PROPERTYGET
, VT_BOOL
, (void*)&result
, NULL
);
102 CString
CWebBrowser2::GetType()
105 InvokeHelper(0xcd, DISPATCH_PROPERTYGET
, VT_BSTR
, (void*)&result
, NULL
);
109 long CWebBrowser2::GetLeft()
112 InvokeHelper(0xce, DISPATCH_PROPERTYGET
, VT_I4
, (void*)&result
, NULL
);
116 void CWebBrowser2::SetLeft(long nNewValue
)
118 static BYTE parms
[] =
120 InvokeHelper(0xce, DISPATCH_PROPERTYPUT
, VT_EMPTY
, NULL
, parms
,
124 long CWebBrowser2::GetTop()
127 InvokeHelper(0xcf, DISPATCH_PROPERTYGET
, VT_I4
, (void*)&result
, NULL
);
131 void CWebBrowser2::SetTop(long nNewValue
)
133 static BYTE parms
[] =
135 InvokeHelper(0xcf, DISPATCH_PROPERTYPUT
, VT_EMPTY
, NULL
, parms
,
139 long CWebBrowser2::GetWidth()
142 InvokeHelper(0xd0, DISPATCH_PROPERTYGET
, VT_I4
, (void*)&result
, NULL
);
146 void CWebBrowser2::SetWidth(long nNewValue
)
148 static BYTE parms
[] =
150 InvokeHelper(0xd0, DISPATCH_PROPERTYPUT
, VT_EMPTY
, NULL
, parms
,
154 long CWebBrowser2::GetHeight()
157 InvokeHelper(0xd1, DISPATCH_PROPERTYGET
, VT_I4
, (void*)&result
, NULL
);
161 void CWebBrowser2::SetHeight(long nNewValue
)
163 static BYTE parms
[] =
165 InvokeHelper(0xd1, DISPATCH_PROPERTYPUT
, VT_EMPTY
, NULL
, parms
,
169 CString
CWebBrowser2::GetLocationName()
172 InvokeHelper(0xd2, DISPATCH_PROPERTYGET
, VT_BSTR
, (void*)&result
, NULL
);
176 CString
CWebBrowser2::GetLocationURL()
179 InvokeHelper(0xd3, DISPATCH_PROPERTYGET
, VT_BSTR
, (void*)&result
, NULL
);
183 BOOL
CWebBrowser2::GetBusy()
186 InvokeHelper(0xd4, DISPATCH_PROPERTYGET
, VT_BOOL
, (void*)&result
, NULL
);
190 void CWebBrowser2::Quit()
192 InvokeHelper(0x12c, DISPATCH_METHOD
, VT_EMPTY
, NULL
, NULL
);
195 void CWebBrowser2::ClientToWindow(long* pcx
, long* pcy
)
197 static BYTE parms
[] =
199 InvokeHelper(0x12d, DISPATCH_METHOD
, VT_EMPTY
, NULL
, parms
,
203 void CWebBrowser2::PutProperty(LPCTSTR Property_
, const VARIANT
& vtValue
)
205 static BYTE parms
[] =
206 VTS_BSTR VTS_VARIANT
;
207 InvokeHelper(0x12e, DISPATCH_METHOD
, VT_EMPTY
, NULL
, parms
,
208 Property_
, &vtValue
);
211 VARIANT
CWebBrowser2::GetProperty_(LPCTSTR Property_
)
214 static BYTE parms
[] =
216 InvokeHelper(0x12f, DISPATCH_METHOD
, VT_VARIANT
, (void*)&result
, parms
,
221 CString
CWebBrowser2::GetName()
224 InvokeHelper(0x0, DISPATCH_PROPERTYGET
, VT_BSTR
, (void*)&result
, NULL
);
228 long CWebBrowser2::GetHwnd()
231 InvokeHelper(DISPID_HWND
, DISPATCH_PROPERTYGET
, VT_I4
, (void*)&result
, NULL
);
235 CString
CWebBrowser2::GetFullName()
238 InvokeHelper(0x190, DISPATCH_PROPERTYGET
, VT_BSTR
, (void*)&result
, NULL
);
242 CString
CWebBrowser2::GetPath()
245 InvokeHelper(0x191, DISPATCH_PROPERTYGET
, VT_BSTR
, (void*)&result
, NULL
);
249 BOOL
CWebBrowser2::GetVisible()
252 InvokeHelper(0x192, DISPATCH_PROPERTYGET
, VT_BOOL
, (void*)&result
, NULL
);
256 void CWebBrowser2::SetVisible(BOOL bNewValue
)
258 static BYTE parms
[] =
260 InvokeHelper(0x192, DISPATCH_PROPERTYPUT
, VT_EMPTY
, NULL
, parms
,
264 BOOL
CWebBrowser2::GetStatusBar()
267 InvokeHelper(0x193, DISPATCH_PROPERTYGET
, VT_BOOL
, (void*)&result
, NULL
);
271 void CWebBrowser2::SetStatusBar(BOOL bNewValue
)
273 static BYTE parms
[] =
275 InvokeHelper(0x193, DISPATCH_PROPERTYPUT
, VT_EMPTY
, NULL
, parms
,
279 CString
CWebBrowser2::GetStatusText()
282 InvokeHelper(0x194, DISPATCH_PROPERTYGET
, VT_BSTR
, (void*)&result
, NULL
);
286 void CWebBrowser2::SetStatusText(LPCTSTR lpszNewValue
)
288 static BYTE parms
[] =
290 InvokeHelper(0x194, DISPATCH_PROPERTYPUT
, VT_EMPTY
, NULL
, parms
,
294 long CWebBrowser2::GetToolBar()
297 InvokeHelper(0x195, DISPATCH_PROPERTYGET
, VT_I4
, (void*)&result
, NULL
);
301 void CWebBrowser2::SetToolBar(long nNewValue
)
303 static BYTE parms
[] =
305 InvokeHelper(0x195, DISPATCH_PROPERTYPUT
, VT_EMPTY
, NULL
, parms
,
309 BOOL
CWebBrowser2::GetMenuBar()
312 InvokeHelper(0x196, DISPATCH_PROPERTYGET
, VT_BOOL
, (void*)&result
, NULL
);
316 void CWebBrowser2::SetMenuBar(BOOL bNewValue
)
318 static BYTE parms
[] =
320 InvokeHelper(0x196, DISPATCH_PROPERTYPUT
, VT_EMPTY
, NULL
, parms
,
324 BOOL
CWebBrowser2::GetFullScreen()
327 InvokeHelper(0x197, DISPATCH_PROPERTYGET
, VT_BOOL
, (void*)&result
, NULL
);
331 void CWebBrowser2::SetFullScreen(BOOL bNewValue
)
333 static BYTE parms
[] =
335 InvokeHelper(0x197, DISPATCH_PROPERTYPUT
, VT_EMPTY
, NULL
, parms
,
339 void CWebBrowser2::Navigate2(VARIANT
* URL
, VARIANT
* Flags
, VARIANT
* TargetFrameName
, VARIANT
* PostData
, VARIANT
* Headers
)
341 static BYTE parms
[] =
342 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT
;
343 InvokeHelper(0x1f4, DISPATCH_METHOD
, VT_EMPTY
, NULL
, parms
,
344 URL
, Flags
, TargetFrameName
, PostData
, Headers
);
347 long CWebBrowser2::QueryStatusWB(long cmdID
)
350 static BYTE parms
[] =
352 InvokeHelper(0x1f5, DISPATCH_METHOD
, VT_I4
, (void*)&result
, parms
,
357 void CWebBrowser2::ExecWB(long cmdID
, long cmdexecopt
, VARIANT
* pvaIn
, VARIANT
* pvaOut
)
359 static BYTE parms
[] =
360 VTS_I4 VTS_I4 VTS_PVARIANT VTS_PVARIANT
;
361 InvokeHelper(0x1f6, DISPATCH_METHOD
, VT_EMPTY
, NULL
, parms
,
362 cmdID
, cmdexecopt
, pvaIn
, pvaOut
);
365 void CWebBrowser2::ShowBrowserBar(VARIANT
* pvaClsid
, VARIANT
* pvarShow
, VARIANT
* pvarSize
)
367 static BYTE parms
[] =
368 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT
;
369 InvokeHelper(0x1f7, DISPATCH_METHOD
, VT_EMPTY
, NULL
, parms
,
370 pvaClsid
, pvarShow
, pvarSize
);
373 long CWebBrowser2::GetReadyState()
376 InvokeHelper(DISPID_READYSTATE
, DISPATCH_PROPERTYGET
, VT_I4
, (void*)&result
, NULL
);
380 BOOL
CWebBrowser2::GetOffline()
383 InvokeHelper(0x226, DISPATCH_PROPERTYGET
, VT_BOOL
, (void*)&result
, NULL
);
387 void CWebBrowser2::SetOffline(BOOL bNewValue
)
389 static BYTE parms
[] =
391 InvokeHelper(0x226, DISPATCH_PROPERTYPUT
, VT_EMPTY
, NULL
, parms
,
395 BOOL
CWebBrowser2::GetSilent()
398 InvokeHelper(0x227, DISPATCH_PROPERTYGET
, VT_BOOL
, (void*)&result
, NULL
);
402 void CWebBrowser2::SetSilent(BOOL bNewValue
)
404 static BYTE parms
[] =
406 InvokeHelper(0x227, DISPATCH_PROPERTYPUT
, VT_EMPTY
, NULL
, parms
,
410 BOOL
CWebBrowser2::GetRegisterAsBrowser()
413 InvokeHelper(0x228, DISPATCH_PROPERTYGET
, VT_BOOL
, (void*)&result
, NULL
);
417 void CWebBrowser2::SetRegisterAsBrowser(BOOL bNewValue
)
419 static BYTE parms
[] =
421 InvokeHelper(0x228, DISPATCH_PROPERTYPUT
, VT_EMPTY
, NULL
, parms
,
425 BOOL
CWebBrowser2::GetRegisterAsDropTarget()
428 InvokeHelper(0x229, DISPATCH_PROPERTYGET
, VT_BOOL
, (void*)&result
, NULL
);
432 void CWebBrowser2::SetRegisterAsDropTarget(BOOL bNewValue
)
434 static BYTE parms
[] =
436 InvokeHelper(0x229, DISPATCH_PROPERTYPUT
, VT_EMPTY
, NULL
, parms
,
440 BOOL
CWebBrowser2::GetTheaterMode()
443 InvokeHelper(0x22a, DISPATCH_PROPERTYGET
, VT_BOOL
, (void*)&result
, NULL
);
447 void CWebBrowser2::SetTheaterMode(BOOL bNewValue
)
449 static BYTE parms
[] =
451 InvokeHelper(0x22a, DISPATCH_PROPERTYPUT
, VT_EMPTY
, NULL
, parms
,
455 BOOL
CWebBrowser2::GetAddressBar()
458 InvokeHelper(0x22b, DISPATCH_PROPERTYGET
, VT_BOOL
, (void*)&result
, NULL
);
462 void CWebBrowser2::SetAddressBar(BOOL bNewValue
)
464 static BYTE parms
[] =
466 InvokeHelper(0x22b, DISPATCH_PROPERTYPUT
, VT_EMPTY
, NULL
, parms
,
470 BOOL
CWebBrowser2::GetResizable()
473 InvokeHelper(0x22c, DISPATCH_PROPERTYGET
, VT_BOOL
, (void*)&result
, NULL
);
477 void CWebBrowser2::SetResizable(BOOL bNewValue
)
479 static BYTE parms
[] =
481 InvokeHelper(0x22c, DISPATCH_PROPERTYPUT
, VT_EMPTY
, NULL
, parms
,