home *** CD-ROM | disk | FTP | other *** search
- // 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 "msess.h"
-
- /////////////////////////////////////////////////////////////////////////////
- // CMSess
-
- IMPLEMENT_DYNCREATE(CMSess, CWnd)
-
- /////////////////////////////////////////////////////////////////////////////
- // CMSess properties
-
- BOOL CMSess::GetLogonUI()
- {
- BOOL result;
- GetProperty(0x1, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CMSess::SetLogonUI(BOOL propVal)
- {
- SetProperty(0x1, VT_BOOL, propVal);
- }
-
- CString CMSess::GetUser()
- {
- CString result;
- GetProperty(0x2, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CMSess::SetUser(LPCTSTR propVal)
- {
- SetProperty(0x2, VT_BSTR, propVal);
- }
-
- CString CMSess::GetPassword()
- {
- CString result;
- GetProperty(0x3, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CMSess::SetPassword(LPCTSTR propVal)
- {
- SetProperty(0x3, VT_BSTR, propVal);
- }
-
- BOOL CMSess::GetNewSession()
- {
- BOOL result;
- GetProperty(0x4, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CMSess::SetNewSession(BOOL propVal)
- {
- SetProperty(0x4, VT_BOOL, propVal);
- }
-
- BOOL CMSess::GetDisplayErrors()
- {
- BOOL result;
- GetProperty(0x5, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CMSess::SetDisplayErrors(BOOL propVal)
- {
- SetProperty(0x5, VT_BOOL, propVal);
- }
-
- BOOL CMSess::GetDownLoadMsg()
- {
- BOOL result;
- GetProperty(0x6, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CMSess::SetDownLoadMsg(BOOL propVal)
- {
- SetProperty(0x6, VT_BOOL, propVal);
- }
-
- short CMSess::GetMail_Type()
- {
- short result;
- GetProperty(0x9, VT_I2, (void*)&result);
- return result;
- }
-
- void CMSess::SetMail_Type(short propVal)
- {
- SetProperty(0x9, VT_I2, propVal);
- }
-
- BOOL CMSess::GetLogon()
- {
- BOOL result;
- GetProperty(0xa, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CMSess::SetLogon(BOOL propVal)
- {
- SetProperty(0xa, VT_BOOL, propVal);
- }
-
- CString CMSess::GetErrorText()
- {
- CString result;
- GetProperty(0xb, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CMSess::SetErrorText(LPCTSTR propVal)
- {
- SetProperty(0xb, VT_BSTR, propVal);
- }
-
- short CMSess::GetErrorNum()
- {
- short result;
- GetProperty(0xc, VT_I2, (void*)&result);
- return result;
- }
-
- void CMSess::SetErrorNum(short propVal)
- {
- SetProperty(0xc, VT_I2, propVal);
- }
-
- CString CMSess::GetDefaultPath()
- {
- CString result;
- GetProperty(0x7, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CMSess::SetDefaultPath(LPCTSTR propVal)
- {
- SetProperty(0x7, VT_BSTR, propVal);
- }
-
- CString CMSess::GetPOPath()
- {
- CString result;
- GetProperty(0xd, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CMSess::SetPOPath(LPCTSTR propVal)
- {
- SetProperty(0xd, VT_BSTR, propVal);
- }
-
- CString CMSess::GetCurrentFolder()
- {
- CString result;
- GetProperty(0xe, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CMSess::SetCurrentFolder(LPCTSTR propVal)
- {
- SetProperty(0xe, VT_BSTR, propVal);
- }
-
- CString CMSess::GetChangePassword()
- {
- CString result;
- GetProperty(0xf, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CMSess::SetChangePassword(LPCTSTR propVal)
- {
- SetProperty(0xf, VT_BSTR, propVal);
- }
-
- CString CMSess::GetReturnAddress()
- {
- CString result;
- GetProperty(0x10, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CMSess::SetReturnAddress(LPCTSTR propVal)
- {
- SetProperty(0x10, VT_BSTR, propVal);
- }
-
- CString CMSess::GetSMTPServer()
- {
- CString result;
- GetProperty(0x11, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CMSess::SetSMTPServer(LPCTSTR propVal)
- {
- SetProperty(0x11, VT_BSTR, propVal);
- }
-
- BOOL CMSess::GetLeaveMailOnServer()
- {
- BOOL result;
- GetProperty(0x12, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CMSess::SetLeaveMailOnServer(BOOL propVal)
- {
- SetProperty(0x12, VT_BOOL, propVal);
- }
-
- CString CMSess::GetPOPServer()
- {
- CString result;
- GetProperty(0x13, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CMSess::SetPOPServer(LPCTSTR propVal)
- {
- SetProperty(0x13, VT_BSTR, propVal);
- }
-
- CString CMSess::GetRealName()
- {
- CString result;
- GetProperty(0x14, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CMSess::SetRealName(LPCTSTR propVal)
- {
- SetProperty(0x14, VT_BSTR, propVal);
- }
-
- short CMSess::GetAction()
- {
- short result;
- GetProperty(0x15, VT_I2, (void*)&result);
- return result;
- }
-
- void CMSess::SetAction(short propVal)
- {
- SetProperty(0x15, VT_I2, propVal);
- }
-
- CString CMSess::GetMapiCustomLibName()
- {
- CString result;
- GetProperty(0x8, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CMSess::SetMapiCustomLibName(LPCTSTR propVal)
- {
- SetProperty(0x8, VT_BSTR, propVal);
- }
-
- long CMSess::GetFolderCount()
- {
- long result;
- GetProperty(0x16, VT_I4, (void*)&result);
- return result;
- }
-
- void CMSess::SetFolderCount(long propVal)
- {
- SetProperty(0x16, VT_I4, propVal);
- }
-
- long CMSess::GetFolderNum()
- {
- long result;
- GetProperty(0x17, VT_I4, (void*)&result);
- return result;
- }
-
- void CMSess::SetFolderNum(long propVal)
- {
- SetProperty(0x17, VT_I4, propVal);
- }
-
- long CMSess::GetObjRef()
- {
- long result;
- GetProperty(0x18, VT_I4, (void*)&result);
- return result;
- }
-
- void CMSess::SetObjRef(long propVal)
- {
- SetProperty(0x18, VT_I4, propVal);
- }
-
- CString CMSess::GetCurrentUser()
- {
- CString result;
- GetProperty(0x19, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CMSess::SetCurrentUser(LPCTSTR propVal)
- {
- SetProperty(0x19, VT_BSTR, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // CMSess operations
-
- BOOL CMSess::MailLogon(BOOL bAction)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x1a, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- bAction);
- return result;
- }
-
- BOOL CMSess::IsLogon()
- {
- BOOL result;
- InvokeHelper(0x1b, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
- return result;
- }
-
- BOOL CMSess::InvokeDialogConfig()
- {
- BOOL result;
- InvokeHelper(0x1c, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
- return result;
- }
-
- BOOL CMSess::NewMessages()
- {
- BOOL result;
- InvokeHelper(0x1d, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
- return result;
- }
-
- void CMSess::AboutBox()
- {
- InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-