// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++ // NOTE: Do not modify the contents of this file. If this class is regenerated by // Microsoft Visual C++, your modifications will be overwritten. #include "stdafx.h" #include "webbrwsr.h" ///////////////////////////////////////////////////////////////////////////// // CWebBrowser IMPLEMENT_DYNCREATE(CWebBrowser, CWnd) ///////////////////////////////////////////////////////////////////////////// // CWebBrowser properties ///////////////////////////////////////////////////////////////////////////// // CWebBrowser operations void CWebBrowser::GoBack() { InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); } void CWebBrowser::GoForward() { InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); } void CWebBrowser::GoHome() { InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); } void CWebBrowser::GoSearch() { InvokeHelper(0x67, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); } void CWebBrowser::Navigate(LPCTSTR URL, VARIANT* Flags, VARIANT* TargetFrameName, VARIANT* PostData, VARIANT* Headers) { static BYTE parms[] = VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; InvokeHelper(0x68, DISPATCH_METHOD, VT_EMPTY, NULL, parms, URL, Flags, TargetFrameName, PostData, Headers); } void CWebBrowser::Refresh() { InvokeHelper(DISPID_REFRESH, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); } void CWebBrowser::Refresh2(VARIANT* Level) { static BYTE parms[] = VTS_PVARIANT; InvokeHelper(0x69, DISPATCH_METHOD, VT_EMPTY, NULL, parms, Level); } void CWebBrowser::Stop() { InvokeHelper(0x6a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); } LPDISPATCH CWebBrowser::GetApplication() { LPDISPATCH result; InvokeHelper(0xc8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); return result; } LPDISPATCH CWebBrowser::GetParent() { LPDISPATCH result; InvokeHelper(0xc9, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); return result; } LPDISPATCH CWebBrowser::GetContainer() { LPDISPATCH result; InvokeHelper(0xca, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); return result; } LPDISPATCH CWebBrowser::GetDocument() { LPDISPATCH result; InvokeHelper(0xcb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); return result; } BOOL CWebBrowser::GetTopLevelContainer() { BOOL result; InvokeHelper(0xcc, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); return result; } CString CWebBrowser::GetType() { CString result; InvokeHelper(0xcd, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); return result; } long CWebBrowser::GetLeft() { long result; InvokeHelper(0xce, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); return result; } void CWebBrowser::SetLeft(long nNewValue) { static BYTE parms[] = VTS_I4; InvokeHelper(0xce, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, nNewValue); } long CWebBrowser::GetTop() { long result; InvokeHelper(0xcf, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); return result; } void CWebBrowser::SetTop(long nNewValue) { static BYTE parms[] = VTS_I4; InvokeHelper(0xcf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, nNewValue); } long CWebBrowser::GetWidth() { long result; InvokeHelper(0xd0, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); return result; } void CWebBrowser::SetWidth(long nNewValue) { static BYTE parms[] = VTS_I4; InvokeHelper(0xd0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, nNewValue); } long CWebBrowser::GetHeight() { long result; InvokeHelper(0xd1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); return result; } void CWebBrowser::SetHeight(long nNewValue) { static BYTE parms[] = VTS_I4; InvokeHelper(0xd1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, nNewValue); } CString CWebBrowser::GetLocationName() { CString result; InvokeHelper(0xd2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); return result; } CString CWebBrowser::GetLocationURL() { CString result; InvokeHelper(0xd3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); return result; } BOOL CWebBrowser::GetBusy() { BOOL result; InvokeHelper(0xd4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); return result; } void CWebBrowser::Quit() { InvokeHelper(0x12c, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); } void CWebBrowser::ClientToWindow(long* pcx, long* pcy) { static BYTE parms[] = VTS_PI4 VTS_PI4; InvokeHelper(0x12d, DISPATCH_METHOD, VT_EMPTY, NULL, parms, pcx, pcy); } void CWebBrowser::PutProperty(LPCTSTR szProperty, const VARIANT& vtValue) { static BYTE parms[] = VTS_BSTR VTS_VARIANT; InvokeHelper(0x12e, DISPATCH_METHOD, VT_EMPTY, NULL, parms, szProperty, &vtValue); } VARIANT CWebBrowser::GetProperty_(LPCTSTR szProperty) { VARIANT result; static BYTE parms[] = VTS_BSTR; InvokeHelper(0x12f, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, szProperty); return result; } CString CWebBrowser::GetName() { CString result; InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); return result; } long CWebBrowser::GetHwnd() { long result; InvokeHelper(DISPID_HWND, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); return result; } CString CWebBrowser::GetFullName() { CString result; InvokeHelper(0x190, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); return result; } CString CWebBrowser::GetPath() { CString result; InvokeHelper(0x191, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); return result; } BOOL CWebBrowser::GetVisible() { BOOL result; InvokeHelper(0x192, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); return result; } void CWebBrowser::SetVisible(BOOL bNewValue) { static BYTE parms[] = VTS_BOOL; InvokeHelper(0x192, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, bNewValue); } BOOL CWebBrowser::GetStatusBar() { BOOL result; InvokeHelper(0x193, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); return result; } void CWebBrowser::SetStatusBar(BOOL bNewValue) { static BYTE parms[] = VTS_BOOL; InvokeHelper(0x193, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, bNewValue); } CString CWebBrowser::GetStatusText() { CString result; InvokeHelper(0x194, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); return result; } void CWebBrowser::SetStatusText(LPCTSTR lpszNewValue) { static BYTE parms[] = VTS_BSTR; InvokeHelper(0x194, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, lpszNewValue); } long CWebBrowser::GetToolBar() { long result; InvokeHelper(0x195, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); return result; } void CWebBrowser::SetToolBar(long nNewValue) { static BYTE parms[] = VTS_I4; InvokeHelper(0x195, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, nNewValue); } BOOL CWebBrowser::GetMenuBar() { BOOL result; InvokeHelper(0x196, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); return result; } void CWebBrowser::SetMenuBar(BOOL bNewValue) { static BYTE parms[] = VTS_BOOL; InvokeHelper(0x196, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, bNewValue); } BOOL CWebBrowser::GetFullScreen() { BOOL result; InvokeHelper(0x197, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); return result; } void CWebBrowser::SetFullScreen(BOOL bNewValue) { static BYTE parms[] = VTS_BOOL; InvokeHelper(0x197, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, bNewValue); } void CWebBrowser::Navigate2(VARIANT* URL, VARIANT* Flags, VARIANT* TargetFrameName, VARIANT* PostData, VARIANT* Headers) { static BYTE parms[] = VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; InvokeHelper(0x1f4, DISPATCH_METHOD, VT_EMPTY, NULL, parms, URL, Flags, TargetFrameName, PostData, Headers); } long CWebBrowser::QueryStatusWB(long cmdID) { long result; static BYTE parms[] = VTS_I4; InvokeHelper(0x1f5, DISPATCH_METHOD, VT_I4, (void*)&result, parms, cmdID); return result; } void CWebBrowser::ExecWB(long cmdID, long cmdexecopt, VARIANT* pvaIn, VARIANT* pvaOut) { static BYTE parms[] = VTS_I4 VTS_I4 VTS_PVARIANT VTS_PVARIANT; InvokeHelper(0x1f6, DISPATCH_METHOD, VT_EMPTY, NULL, parms, cmdID, cmdexecopt, pvaIn, pvaOut); } void CWebBrowser::ShowBrowserBar(VARIANT* pvaClsid, VARIANT* pvarShow, VARIANT* pvarSize) { static BYTE parms[] = VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; InvokeHelper(0x1f7, DISPATCH_METHOD, VT_EMPTY, NULL, parms, pvaClsid, pvarShow, pvarSize); } long CWebBrowser::GetReadyState() { long result; InvokeHelper(DISPID_READYSTATE, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); return result; } BOOL CWebBrowser::GetOffline() { BOOL result; InvokeHelper(0x226, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); return result; } void CWebBrowser::SetOffline(BOOL bNewValue) { static BYTE parms[] = VTS_BOOL; InvokeHelper(0x226, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, bNewValue); } BOOL CWebBrowser::GetSilent() { BOOL result; InvokeHelper(0x227, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); return result; } void CWebBrowser::SetSilent(BOOL bNewValue) { static BYTE parms[] = VTS_BOOL; InvokeHelper(0x227, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, bNewValue); } BOOL CWebBrowser::GetRegisterAsBrowser() { BOOL result; InvokeHelper(0x228, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); return result; } void CWebBrowser::SetRegisterAsBrowser(BOOL bNewValue) { static BYTE parms[] = VTS_BOOL; InvokeHelper(0x228, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, bNewValue); } BOOL CWebBrowser::GetRegisterAsDropTarget() { BOOL result; InvokeHelper(0x229, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); return result; } void CWebBrowser::SetRegisterAsDropTarget(BOOL bNewValue) { static BYTE parms[] = VTS_BOOL; InvokeHelper(0x229, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, bNewValue); } BOOL CWebBrowser::GetTheaterMode() { BOOL result; InvokeHelper(0x22a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); return result; } void CWebBrowser::SetTheaterMode(BOOL bNewValue) { static BYTE parms[] = VTS_BOOL; InvokeHelper(0x22a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, bNewValue); }