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 "mmsg.h"
-
- /////////////////////////////////////////////////////////////////////////////
- // CMMsg
-
- IMPLEMENT_DYNCREATE(CMMsg, CWnd)
-
- /////////////////////////////////////////////////////////////////////////////
- // CMMsg properties
-
- BOOL CMMsg::GetSortMsg()
- {
- BOOL result;
- GetProperty(0x1, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CMMsg::SetSortMsg(BOOL propVal)
- {
- SetProperty(0x1, VT_BOOL, propVal);
- }
-
- BOOL CMMsg::GetUnreadOnly()
- {
- BOOL result;
- GetProperty(0x2, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CMMsg::SetUnreadOnly(BOOL propVal)
- {
- SetProperty(0x2, VT_BOOL, propVal);
- }
-
- BOOL CMMsg::GetEnvelopeOnly()
- {
- BOOL result;
- GetProperty(0x3, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CMMsg::SetEnvelopeOnly(BOOL propVal)
- {
- SetProperty(0x3, VT_BOOL, propVal);
- }
-
- BOOL CMMsg::GetMarkAsRead()
- {
- BOOL result;
- GetProperty(0x4, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CMMsg::SetMarkAsRead(BOOL propVal)
- {
- SetProperty(0x4, VT_BOOL, propVal);
- }
-
- BOOL CMMsg::GetSuppressAttach()
- {
- BOOL result;
- GetProperty(0x5, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CMMsg::SetSuppressAttach(BOOL propVal)
- {
- SetProperty(0x5, VT_BOOL, propVal);
- }
-
- BOOL CMMsg::GetBodyAsFile()
- {
- BOOL result;
- GetProperty(0x6, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CMMsg::SetBodyAsFile(BOOL propVal)
- {
- SetProperty(0x6, VT_BOOL, propVal);
- }
-
- BOOL CMMsg::GetDisplaySendDialog()
- {
- BOOL result;
- GetProperty(0x7, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CMMsg::SetDisplaySendDialog(BOOL propVal)
- {
- SetProperty(0x7, VT_BOOL, propVal);
- }
-
- BOOL CMMsg::GetDisplayErrors()
- {
- BOOL result;
- GetProperty(0x8, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CMMsg::SetDisplayErrors(BOOL propVal)
- {
- SetProperty(0x8, VT_BOOL, propVal);
- }
-
- CString CMMsg::GetFetchMsgType()
- {
- CString result;
- GetProperty(0x9, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CMMsg::SetFetchMsgType(LPCTSTR propVal)
- {
- SetProperty(0x9, VT_BSTR, propVal);
- }
-
- CString CMMsg::GetTimeFormat()
- {
- CString result;
- GetProperty(0xa, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CMMsg::SetTimeFormat(LPCTSTR propVal)
- {
- SetProperty(0xa, VT_BSTR, propVal);
- }
-
- short CMMsg::GetWorkingMsg()
- {
- short result;
- GetProperty(0xb, VT_I2, (void*)&result);
- return result;
- }
-
- void CMMsg::SetWorkingMsg(short propVal)
- {
- SetProperty(0xb, VT_I2, propVal);
- }
-
- CString CMMsg::GetBindString()
- {
- CString result;
- GetProperty(0xc, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CMMsg::SetBindString(LPCTSTR propVal)
- {
- SetProperty(0xc, VT_BSTR, propVal);
- }
-
- BOOL CMMsg::GetIsBinded()
- {
- BOOL result;
- GetProperty(0xd, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CMMsg::SetIsBinded(BOOL propVal)
- {
- SetProperty(0xd, VT_BOOL, propVal);
- }
-
- long CMMsg::GetMsgCount()
- {
- long result;
- GetProperty(0xe, VT_I4, (void*)&result);
- return result;
- }
-
- void CMMsg::SetMsgCount(long propVal)
- {
- SetProperty(0xe, VT_I4, propVal);
- }
-
- CString CMMsg::GetSubject()
- {
- CString result;
- GetProperty(0xf, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CMMsg::SetSubject(LPCTSTR propVal)
- {
- SetProperty(0xf, VT_BSTR, propVal);
- }
-
- CString CMMsg::GetNoteText()
- {
- CString result;
- GetProperty(0x10, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CMMsg::SetNoteText(LPCTSTR propVal)
- {
- SetProperty(0x10, VT_BSTR, propVal);
- }
-
- CString CMMsg::GetMsgType()
- {
- CString result;
- GetProperty(0x11, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CMMsg::SetMsgType(LPCTSTR propVal)
- {
- SetProperty(0x11, VT_BSTR, propVal);
- }
-
- CString CMMsg::GetConversationID()
- {
- CString result;
- GetProperty(0x12, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CMMsg::SetConversationID(LPCTSTR propVal)
- {
- SetProperty(0x12, VT_BSTR, propVal);
- }
-
- CString CMMsg::GetTimeReceived()
- {
- CString result;
- GetProperty(0x13, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CMMsg::SetTimeReceived(LPCTSTR propVal)
- {
- SetProperty(0x13, VT_BSTR, propVal);
- }
-
- long CMMsg::GetFetchMsg()
- {
- long result;
- GetProperty(0x14, VT_I4, (void*)&result);
- return result;
- }
-
- void CMMsg::SetFetchMsg(long propVal)
- {
- SetProperty(0x14, VT_I4, propVal);
- }
-
- BOOL CMMsg::GetUnreadMsg()
- {
- BOOL result;
- GetProperty(0x15, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CMMsg::SetUnreadMsg(BOOL propVal)
- {
- SetProperty(0x15, VT_BOOL, propVal);
- }
-
- BOOL CMMsg::GetSentMsg()
- {
- BOOL result;
- GetProperty(0x16, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CMMsg::SetSentMsg(BOOL propVal)
- {
- SetProperty(0x16, VT_BOOL, propVal);
- }
-
- BOOL CMMsg::GetReceiptRequested()
- {
- BOOL result;
- GetProperty(0x17, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CMMsg::SetReceiptRequested(BOOL propVal)
- {
- SetProperty(0x17, VT_BOOL, propVal);
- }
-
- short CMMsg::GetAction()
- {
- short result;
- GetProperty(0x18, VT_I2, (void*)&result);
- return result;
- }
-
- void CMMsg::SetAction(short propVal)
- {
- SetProperty(0x18, VT_I2, propVal);
- }
-
- CString CMMsg::GetMsgID()
- {
- CString result;
- GetProperty(0x19, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CMMsg::SetMsgID(LPCTSTR propVal)
- {
- SetProperty(0x19, VT_BSTR, propVal);
- }
-
- CString CMMsg::GetErrorText()
- {
- CString result;
- GetProperty(0x1a, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CMMsg::SetErrorText(LPCTSTR propVal)
- {
- SetProperty(0x1a, VT_BSTR, propVal);
- }
-
- short CMMsg::GetErrorNum()
- {
- short result;
- GetProperty(0x1b, VT_I2, (void*)&result);
- return result;
- }
-
- void CMMsg::SetErrorNum(short propVal)
- {
- SetProperty(0x1b, VT_I2, propVal);
- }
-
- long CMMsg::GetGetPointer()
- {
- long result;
- GetProperty(0x1c, VT_I4, (void*)&result);
- return result;
- }
-
- void CMMsg::SetGetPointer(long propVal)
- {
- SetProperty(0x1c, VT_I4, propVal);
- }
-
- long CMMsg::GetObjRef()
- {
- long result;
- GetProperty(0x1d, VT_I4, (void*)&result);
- return result;
- }
-
- void CMMsg::SetObjRef(long propVal)
- {
- SetProperty(0x1d, VT_I4, propVal);
- }
-
- BOOL CMMsg::GetFastFetch()
- {
- BOOL result;
- GetProperty(0x1e, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CMMsg::SetFastFetch(BOOL propVal)
- {
- SetProperty(0x1e, VT_BOOL, propVal);
- }
-
- short CMMsg::GetPriority()
- {
- short result;
- GetProperty(0x1f, VT_I2, (void*)&result);
- return result;
- }
-
- void CMMsg::SetPriority(short propVal)
- {
- SetProperty(0x1f, VT_I2, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // CMMsg operations
-
- void CMMsg::Clear()
- {
- InvokeHelper(0x20, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- BOOL CMMsg::RemoveItem(short sIndex)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x21, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- sIndex);
- return result;
- }
-
- BOOL CMMsg::AddItem(LPCTSTR szSubject, short iIndex)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_BSTR VTS_I2;
- InvokeHelper(0x22, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- szSubject, iIndex);
- return result;
- }
-
- BOOL CMMsg::MoveToFolder(LPCTSTR FolderName)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x23, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- FolderName);
- return result;
- }
-
- BOOL CMMsg::RemoveFromFolder(LPCTSTR FolderName)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x24, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- FolderName);
- return result;
- }
-
- BOOL CMMsg::BindWith(long ObjRef)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x25, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- ObjRef);
- return result;
- }
-
- void CMMsg::AboutBox()
- {
- InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-