home *** CD-ROM | disk | FTP | other *** search
- // Machine generated IDispatch wrapper class(es) created with ClassWizard
-
- #include "stdafx.h"
- #include "webster.h"
-
-
- /////////////////////////////////////////////////////////////////////////////
- // _DWebster properties
-
- short _DWebster::GetBorderStyle()
- {
- short result;
- GetProperty(0xfffffe08, VT_I2, (void*)&result);
- return result;
- }
-
- void _DWebster::SetBorderStyle(short propVal)
- {
- SetProperty(0xfffffe08, VT_I2, propVal);
- }
-
- LPDISPATCH _DWebster::GetFont()
- {
- LPDISPATCH result;
- GetProperty(0xfffffe00, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DWebster::SetFont(LPDISPATCH propVal)
- {
- SetProperty(0xfffffe00, VT_DISPATCH, propVal);
- }
-
- short _DWebster::GetHWnd()
- {
- short result;
- GetProperty(0xfffffdfd, VT_I2, (void*)&result);
- return result;
- }
-
- void _DWebster::SetHWnd(short propVal)
- {
- SetProperty(0xfffffdfd, VT_I2, propVal);
- }
-
- BOOL _DWebster::GetEnabled()
- {
- BOOL result;
- GetProperty(0xfffffdfe, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DWebster::SetEnabled(BOOL propVal)
- {
- SetProperty(0xfffffdfe, VT_BOOL, propVal);
- }
-
- short _DWebster::GetBevelStyleInner()
- {
- short result;
- GetProperty(0x1, VT_I2, (void*)&result);
- return result;
- }
-
- void _DWebster::SetBevelStyleInner(short propVal)
- {
- SetProperty(0x1, VT_I2, propVal);
- }
-
- short _DWebster::GetBevelStyleOuter()
- {
- short result;
- GetProperty(0x2, VT_I2, (void*)&result);
- return result;
- }
-
- void _DWebster::SetBevelStyleOuter(short propVal)
- {
- SetProperty(0x2, VT_I2, propVal);
- }
-
- long _DWebster::GetBevelWidth()
- {
- long result;
- GetProperty(0x3, VT_I4, (void*)&result);
- return result;
- }
-
- void _DWebster::SetBevelWidth(long propVal)
- {
- SetProperty(0x3, VT_I4, propVal);
- }
-
- LPDISPATCH _DWebster::GetFontHeading1()
- {
- LPDISPATCH result;
- GetProperty(0x1d, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DWebster::SetFontHeading1(LPDISPATCH propVal)
- {
- SetProperty(0x1d, VT_DISPATCH, propVal);
- }
-
- LPDISPATCH _DWebster::GetFontHeading2()
- {
- LPDISPATCH result;
- GetProperty(0x1e, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DWebster::SetFontHeading2(LPDISPATCH propVal)
- {
- SetProperty(0x1e, VT_DISPATCH, propVal);
- }
-
- LPDISPATCH _DWebster::GetFontHeading3()
- {
- LPDISPATCH result;
- GetProperty(0x1f, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DWebster::SetFontHeading3(LPDISPATCH propVal)
- {
- SetProperty(0x1f, VT_DISPATCH, propVal);
- }
-
- LPDISPATCH _DWebster::GetFontHeading4()
- {
- LPDISPATCH result;
- GetProperty(0x20, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DWebster::SetFontHeading4(LPDISPATCH propVal)
- {
- SetProperty(0x20, VT_DISPATCH, propVal);
- }
-
- LPDISPATCH _DWebster::GetFontHeading5()
- {
- LPDISPATCH result;
- GetProperty(0x21, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DWebster::SetFontHeading5(LPDISPATCH propVal)
- {
- SetProperty(0x21, VT_DISPATCH, propVal);
- }
-
- LPDISPATCH _DWebster::GetFontHeading6()
- {
- LPDISPATCH result;
- GetProperty(0x22, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DWebster::SetFontHeading6(LPDISPATCH propVal)
- {
- SetProperty(0x22, VT_DISPATCH, propVal);
- }
-
- LPDISPATCH _DWebster::GetFontMenu()
- {
- LPDISPATCH result;
- GetProperty(0x23, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DWebster::SetFontMenu(LPDISPATCH propVal)
- {
- SetProperty(0x23, VT_DISPATCH, propVal);
- }
-
- LPDISPATCH _DWebster::GetFontDir()
- {
- LPDISPATCH result;
- GetProperty(0x24, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DWebster::SetFontDir(LPDISPATCH propVal)
- {
- SetProperty(0x24, VT_DISPATCH, propVal);
- }
-
- LPDISPATCH _DWebster::GetFontBlockQuote()
- {
- LPDISPATCH result;
- GetProperty(0x25, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DWebster::SetFontBlockQuote(LPDISPATCH propVal)
- {
- SetProperty(0x25, VT_DISPATCH, propVal);
- }
-
- LPDISPATCH _DWebster::GetFontExample()
- {
- LPDISPATCH result;
- GetProperty(0x26, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DWebster::SetFontExample(LPDISPATCH propVal)
- {
- SetProperty(0x26, VT_DISPATCH, propVal);
- }
-
- LPDISPATCH _DWebster::GetFontPreformatted()
- {
- LPDISPATCH result;
- GetProperty(0x27, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DWebster::SetFontPreformatted(LPDISPATCH propVal)
- {
- SetProperty(0x27, VT_DISPATCH, propVal);
- }
-
- LPDISPATCH _DWebster::GetFontListing()
- {
- LPDISPATCH result;
- GetProperty(0x28, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DWebster::SetFontListing(LPDISPATCH propVal)
- {
- SetProperty(0x28, VT_DISPATCH, propVal);
- }
-
- LPDISPATCH _DWebster::GetFontNormal()
- {
- LPDISPATCH result;
- GetProperty(0x29, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DWebster::SetFontNormal(LPDISPATCH propVal)
- {
- SetProperty(0x29, VT_DISPATCH, propVal);
- }
-
- LPDISPATCH _DWebster::GetFontAddress()
- {
- LPDISPATCH result;
- GetProperty(0x2a, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DWebster::SetFontAddress(LPDISPATCH propVal)
- {
- SetProperty(0x2a, VT_DISPATCH, propVal);
- }
-
- short _DWebster::GetUrlWindowStyle()
- {
- short result;
- GetProperty(0x7, VT_I2, (void*)&result);
- return result;
- }
-
- void _DWebster::SetUrlWindowStyle(short propVal)
- {
- SetProperty(0x7, VT_I2, propVal);
- }
-
- short _DWebster::GetTitleWindowStyle()
- {
- short result;
- GetProperty(0x8, VT_I2, (void*)&result);
- return result;
- }
-
- void _DWebster::SetTitleWindowStyle(short propVal)
- {
- SetProperty(0x8, VT_I2, propVal);
- }
-
- CString _DWebster::GetPageURL()
- {
- CString result;
- GetProperty(0x9, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DWebster::SetPageURL(LPCTSTR propVal)
- {
- SetProperty(0x9, VT_BSTR, propVal);
- }
-
- CString _DWebster::GetPageTitle()
- {
- CString result;
- GetProperty(0xa, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DWebster::SetPageTitle(LPCTSTR propVal)
- {
- SetProperty(0xa, VT_BSTR, propVal);
- }
-
- CString _DWebster::GetHomePage()
- {
- CString result;
- GetProperty(0xc, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DWebster::SetHomePage(LPCTSTR propVal)
- {
- SetProperty(0xc, VT_BSTR, propVal);
- }
-
- CString _DWebster::GetDownloadDir()
- {
- CString result;
- GetProperty(0xd, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DWebster::SetDownloadDir(LPCTSTR propVal)
- {
- SetProperty(0xd, VT_BSTR, propVal);
- }
-
- long _DWebster::GetPagesToCache()
- {
- long result;
- GetProperty(0xe, VT_I4, (void*)&result);
- return result;
- }
-
- void _DWebster::SetPagesToCache(long propVal)
- {
- SetProperty(0xe, VT_I4, propVal);
- }
-
- BOOL _DWebster::GetIgnoreBaseInFile()
- {
- BOOL result;
- GetProperty(0xf, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DWebster::SetIgnoreBaseInFile(BOOL propVal)
- {
- SetProperty(0xf, VT_BOOL, propVal);
- }
-
- short _DWebster::GetLoadStatus()
- {
- short result;
- GetProperty(0x2b, VT_I2, (void*)&result);
- return result;
- }
-
- void _DWebster::SetLoadStatus(short propVal)
- {
- SetProperty(0x2b, VT_I2, propVal);
- }
-
- long _DWebster::GetMaxSockets()
- {
- long result;
- GetProperty(0x10, VT_I4, (void*)&result);
- return result;
- }
-
- void _DWebster::SetMaxSockets(long propVal)
- {
- SetProperty(0x10, VT_I4, propVal);
- }
-
- long _DWebster::GetMaxPageLoads()
- {
- long result;
- GetProperty(0x11, VT_I4, (void*)&result);
- return result;
- }
-
- void _DWebster::SetMaxPageLoads(long propVal)
- {
- SetProperty(0x11, VT_I4, propVal);
- }
-
- long _DWebster::GetMarginHorizontal()
- {
- long result;
- GetProperty(0x12, VT_I4, (void*)&result);
- return result;
- }
-
- void _DWebster::SetMarginHorizontal(long propVal)
- {
- SetProperty(0x12, VT_I4, propVal);
- }
-
- long _DWebster::GetMarginVertical()
- {
- long result;
- GetProperty(0x13, VT_I4, (void*)&result);
- return result;
- }
-
- void _DWebster::SetMarginVertical(long propVal)
- {
- SetProperty(0x13, VT_I4, propVal);
- }
-
- BOOL _DWebster::GetLoadImages()
- {
- BOOL result;
- GetProperty(0x14, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DWebster::SetLoadImages(BOOL propVal)
- {
- SetProperty(0x14, VT_BOOL, propVal);
- }
-
- BOOL _DWebster::GetShowReferer()
- {
- BOOL result;
- GetProperty(0x15, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DWebster::SetShowReferer(BOOL propVal)
- {
- SetProperty(0x15, VT_BOOL, propVal);
- }
-
- CString _DWebster::GetAuthenticName()
- {
- CString result;
- GetProperty(0x16, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DWebster::SetAuthenticName(LPCTSTR propVal)
- {
- SetProperty(0x16, VT_BSTR, propVal);
- }
-
- CString _DWebster::GetAuthenticPassword()
- {
- CString result;
- GetProperty(0x17, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DWebster::SetAuthenticPassword(LPCTSTR propVal)
- {
- SetProperty(0x17, VT_BSTR, propVal);
- }
-
- CString _DWebster::GetFromName()
- {
- CString result;
- GetProperty(0x18, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DWebster::SetFromName(LPCTSTR propVal)
- {
- SetProperty(0x18, VT_BSTR, propVal);
- }
-
- CString _DWebster::GetBrowserName()
- {
- CString result;
- GetProperty(0x19, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DWebster::SetBrowserName(LPCTSTR propVal)
- {
- SetProperty(0x19, VT_BSTR, propVal);
- }
-
- long _DWebster::GetButtonMask()
- {
- long result;
- GetProperty(0x1a, VT_I4, (void*)&result);
- return result;
- }
-
- void _DWebster::SetButtonMask(long propVal)
- {
- SetProperty(0x1a, VT_I4, propVal);
- }
-
- CString _DWebster::GetProxyServerHTTP()
- {
- CString result;
- GetProperty(0x1b, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DWebster::SetProxyServerHTTP(LPCTSTR propVal)
- {
- SetProperty(0x1b, VT_BSTR, propVal);
- }
-
- long _DWebster::GetProxyPortHTTP()
- {
- long result;
- GetProperty(0x1c, VT_I4, (void*)&result);
- return result;
- }
-
- void _DWebster::SetProxyPortHTTP(long propVal)
- {
- SetProperty(0x1c, VT_I4, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // _DWebster operations
-
- void _DWebster::Refresh()
- {
- InvokeHelper(0xfffffdda, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- short _DWebster::SaveToDisk(LPCTSTR FileName)
- {
- short result;
- static BYTE BASED_CODE parms[] =
- VTS_BSTR;
- InvokeHelper(0x2c, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- FileName);
- return result;
- }
-
- short _DWebster::Cancel()
- {
- short result;
- InvokeHelper(0x2d, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- long _DWebster::GetContentSize(LPCTSTR URL)
- {
- long result;
- static BYTE BASED_CODE parms[] =
- VTS_BSTR;
- InvokeHelper(0x2e, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- URL);
- return result;
- }
-
- long _DWebster::GetContentSizeRead(LPCTSTR URL)
- {
- long result;
- static BYTE BASED_CODE parms[] =
- VTS_BSTR;
- InvokeHelper(0x2f, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- URL);
- return result;
- }
-
- CString _DWebster::GetContentType(LPCTSTR URL)
- {
- CString result;
- static BYTE BASED_CODE parms[] =
- VTS_BSTR;
- InvokeHelper(0x30, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
- URL);
- return result;
- }
-
- CString _DWebster::GetRedirectedURL(LPCTSTR URL)
- {
- CString result;
- static BYTE BASED_CODE parms[] =
- VTS_BSTR;
- InvokeHelper(0x31, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
- URL);
- return result;
- }
-
- short _DWebster::GetHiddenFlag(LPCTSTR URL)
- {
- short result;
- static BYTE BASED_CODE parms[] =
- VTS_BSTR;
- InvokeHelper(0x32, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- URL);
- return result;
- }
-
- short _DWebster::SetHiddenFlag(LPCTSTR URL, BOOL Hidden)
- {
- short result;
- static BYTE BASED_CODE parms[] =
- VTS_BSTR VTS_BOOL;
- InvokeHelper(0x33, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- URL, Hidden);
- return result;
- }
-
- short _DWebster::DismissPage(LPCTSTR URL)
- {
- short result;
- static BYTE BASED_CODE parms[] =
- VTS_BSTR;
- InvokeHelper(0x34, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- URL);
- return result;
- }
-
- long _DWebster::GetLinkCount(LPCTSTR URL)
- {
- long result;
- static BYTE BASED_CODE parms[] =
- VTS_BSTR;
- InvokeHelper(0x35, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- URL);
- return result;
- }
-
- CString _DWebster::GetLinkURL(LPCTSTR URL, long Index)
- {
- CString result;
- static BYTE BASED_CODE parms[] =
- VTS_BSTR VTS_I4;
- InvokeHelper(0x36, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
- URL, Index);
- return result;
- }
-
- CString _DWebster::GetContent(LPCTSTR URL, long StartOffset, long Length)
- {
- CString result;
- static BYTE BASED_CODE parms[] =
- VTS_BSTR VTS_I4 VTS_I4;
- InvokeHelper(0x37, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
- URL, StartOffset, Length);
- return result;
- }
-
- short _DWebster::GetStatus(LPCTSTR URL)
- {
- short result;
- static BYTE BASED_CODE parms[] =
- VTS_BSTR;
- InvokeHelper(0x38, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- URL);
- return result;
- }
-
- CString _DWebster::GetTitle(LPCTSTR URL)
- {
- CString result;
- static BYTE BASED_CODE parms[] =
- VTS_BSTR;
- InvokeHelper(0x39, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
- URL);
- return result;
- }
-
- CString _DWebster::GetText(LPCTSTR URL, long StartOffset, long Length)
- {
- CString result;
- static BYTE BASED_CODE parms[] =
- VTS_BSTR VTS_I4 VTS_I4;
- InvokeHelper(0x3a, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
- URL, StartOffset, Length);
- return result;
- }
-
- short _DWebster::LoadPage(LPCTSTR URL, short Hidden)
- {
- short result;
- static BYTE BASED_CODE parms[] =
- VTS_BSTR VTS_I2;
- InvokeHelper(0x3b, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- URL, Hidden);
- return result;
- }
-
- long _DWebster::GetTextSize(LPCTSTR URL)
- {
- long result;
- static BYTE BASED_CODE parms[] =
- VTS_BSTR;
- InvokeHelper(0x3c, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- URL);
- return result;
- }
-
- void _DWebster::AboutBox()
- {
- InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
-
- /////////////////////////////////////////////////////////////////////////////
- // _DWebsterEvents properties
-
- /////////////////////////////////////////////////////////////////////////////
- // _DWebsterEvents operations
-
- void _DWebsterEvents::DoClickURL(BSTR* SelectedURL, BOOL* Cancel)
- {
- static BYTE BASED_CODE parms[] =
- VTS_PBSTR VTS_PBOOL;
- InvokeHelper(0x1, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- SelectedURL, Cancel);
- }
-
- void _DWebsterEvents::KeyDown(short* KeyCode, short Shift)
- {
- static BYTE BASED_CODE parms[] =
- VTS_PI2 VTS_I2;
- InvokeHelper(0xfffffda6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- KeyCode, Shift);
- }
-
- void _DWebsterEvents::LoadComplete(BSTR* URL, short Status)
- {
- static BYTE BASED_CODE parms[] =
- VTS_PBSTR VTS_I2;
- InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- URL, Status);
- }
-