author | zautrix <zautrix> | 2004-07-09 23:40:14 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-07-09 23:40:14 (UTC) |
commit | adaa664ac87d6b78e9431d3376f7a24461edf469 (patch) (side-by-side diff) | |
tree | f82b471f0db80aa7836059441e5c3b943166ac84 | |
parent | 5135d0b47efac71ecb7a98d7d66314c868133021 (diff) | |
download | kdepimpi-adaa664ac87d6b78e9431d3376f7a24461edf469.zip kdepimpi-adaa664ac87d6b78e9431d3376f7a24461edf469.tar.gz kdepimpi-adaa664ac87d6b78e9431d3376f7a24461edf469.tar.bz2 |
Added files for OLE import on wintendo
-rw-r--r-- | Makefile | 265 | ||||
-rw-r--r-- | korganizer/koimportoldialog.cpp | 466 | ||||
-rw-r--r-- | korganizer/koimportoldialog.h | 83 | ||||
-rw-r--r-- | korganizer/korganizer.pro | 23 | ||||
-rw-r--r-- | korganizer/mainwindow.cpp | 22 | ||||
-rw-r--r-- | korganizer/mainwindow.h | 1 | ||||
-rw-r--r-- | outport/StdAfx.h | 60 | ||||
-rw-r--r-- | outport/msoutl9.cpp | 8214 | ||||
-rw-r--r-- | outport/msoutl9.h | 1526 | ||||
-rw-r--r-- | version | 2 |
10 files changed, 10537 insertions, 125 deletions
@@ -1,122 +1,145 @@ -DISTPATH = $(shell pwd) -DISTDIR = $(shell basename $(DISTPATH)) - -SUBDIRS = libical/src/libical libical/src/libicalss qtcompat microkde \ - libkcal libkdepim kabc kabc/converter/opie kabc/formats/binary kabc/plugins/file kabc/plugins/dir \ - kabc/plugins/opie kaddressbook/xxport/opie \ - korganizer kalarmd kaddressbook kmicromail/libetpan kmicromail/libmailwrapper kmicromail -all: tmake - for i in $(SUBDIRS); do pushd $$i; \ - make -f Makefile$(PLATFORM) || exit 1; popd; \ - done - -objects: - for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done - for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done - mkdir -p libical/lib/$(PLATFORM) - -clean: - rm -f libical/lib/$(PLATFORM)/*; - for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ - rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ - done -install: - cd bin/kdepim; make install - cp db2file/db2file $(QPEDIR)/bin/db2file - cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop - cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop - cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop - -dist: - @echo Dont forget to do "make install" before "make dist" - rm -f *arm.ipk - rm -f *~ - cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim - mkipks kmicrokdelibs.control - mkipks korganizer.control - mkipks kaddressbook.control - mkipks kopiemail.control - mkipks korganizer-alarm.control - -tmake: objects qtcompat/Makefile$(PLATFORM) microkde/Makefile$(PLATFORM) \ - libkcal/Makefile$(PLATFORM) \ - libkdepim/Makefile$(PLATFORM) korganizer/Makefile$(PLATFORM) \ - kalarmd/Makefile$(PLATFORM) \ - libical/src/libical/Makefile$(PLATFORM) \ - libical/src/libicalss/Makefile$(PLATFORM) \ - kabc/Makefile$(PLATFORM) \ - kabc/converter/opie/Makefile$(PLATFORM) \ - kaddressbook/xxport/opie/Makefile$(PLATFORM) \ - kabc/formats/binary/Makefile$(PLATFORM) \ - kabc/plugins/file/Makefile$(PLATFORM) \ - kabc/plugins/dir/Makefile$(PLATFORM) \ - kabc/plugins/ldap/Makefile$(PLATFORM) \ - kabc/plugins/opie/Makefile$(PLATFORM) \ - kaddressbook/Makefile$(PLATFORM) \ - kmicromail/Makefile$(PLATFORM) \ - kmicromail/libetpan/Makefile$(PLATFORM) \ - kmicromail/libmailwrapper/Makefile$(PLATFORM) - - - -qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro - cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) - -microkde/Makefile$(PLATFORM): microkde/microkdeE.pro - cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) - -libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro - cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) - - -libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro - cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) - -kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro - cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) - -korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro - cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) - -libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro - cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) - -libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro - cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) - -kabc/Makefile$(PLATFORM): kabc/kabcE.pro - cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) - -kabc/converter/opie/Makefile$(PLATFORM): kabc/converter/opie/opieconverterE.pro - cd kabc/converter/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieconverterE.pro -o Makefile$(PLATFORM) - -kaddressbook/xxport/opie/Makefile$(PLATFORM): kaddressbook/xxport/opie/opieE.pro - cd kaddressbook/xxport/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieE.pro -o Makefile$(PLATFORM) - -kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro - cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) - -kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/kabc_fileE.pro - cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_fileE.pro -o Makefile$(PLATFORM) - -kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/kabc_dirE.pro - cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_dirE.pro -o Makefile$(PLATFORM) - -kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/kabc_ldapE.pro - cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_ldapE.pro -o Makefile$(PLATFORM) - -kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/kabc_opieE.pro - cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_opieE.pro -o Makefile$(PLATFORM) - - -kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro - cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) - - -kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro - cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM) -kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro - cd kmicromail/libetpan; tmake "CONFIG+=$(RELEASE_DEBUG)" libetpanE.pro -o Makefile$(PLATFORM) -kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro - cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" libmailwrapperE.pro -o Makefile$(PLATFORM) +############################################################################# +# Makefile for building: kopi-desktop +# Generated by qmake (1.07a) (Qt 3.3.1) on: Sat Jul 10 00:50:39 2004 +# Project: kopi-desktop.pro +# Template: subdirs +# Command: $(QMAKE) -o Makefile kopi-desktop.pro +############################################################################# + +MAKEFILE = Makefile +QMAKE = qmake +DEL_FILE = rm -f +CHK_DIR_EXISTS= test -d +MKDIR = mkdir -p +SUBTARGETS = \ + sub-libical \ + sub-libkcal \ + sub-microkde \ + sub-libkdepim \ + sub-kabc \ + sub-korganizer \ + sub-kaddressbook \ + sub-kabc-plugins-file \ + sub-kabc-plugins-dir + +first: all + +all: Makefile $(SUBTARGETS) + +libical/$(MAKEFILE): + @$(CHK_DIR_EXISTS) "libical" || $(MKDIR) "libical" + cd libical && $(QMAKE) libical.pro -o $(MAKEFILE) +sub-libical: libical/$(MAKEFILE) FORCE + cd libical && $(MAKE) -f $(MAKEFILE) + +libkcal/$(MAKEFILE): + @$(CHK_DIR_EXISTS) "libkcal" || $(MKDIR) "libkcal" + cd libkcal && $(QMAKE) libkcal.pro -o $(MAKEFILE) +sub-libkcal: libkcal/$(MAKEFILE) FORCE + cd libkcal && $(MAKE) -f $(MAKEFILE) + +microkde/$(MAKEFILE): + @$(CHK_DIR_EXISTS) "microkde" || $(MKDIR) "microkde" + cd microkde && $(QMAKE) microkde.pro -o $(MAKEFILE) +sub-microkde: microkde/$(MAKEFILE) FORCE + cd microkde && $(MAKE) -f $(MAKEFILE) + +libkdepim/$(MAKEFILE): + @$(CHK_DIR_EXISTS) "libkdepim" || $(MKDIR) "libkdepim" + cd libkdepim && $(QMAKE) libkdepim.pro -o $(MAKEFILE) +sub-libkdepim: libkdepim/$(MAKEFILE) FORCE + cd libkdepim && $(MAKE) -f $(MAKEFILE) + +kabc/$(MAKEFILE): + @$(CHK_DIR_EXISTS) "kabc" || $(MKDIR) "kabc" + cd kabc && $(QMAKE) kabc.pro -o $(MAKEFILE) +sub-kabc: kabc/$(MAKEFILE) FORCE + cd kabc && $(MAKE) -f $(MAKEFILE) + +korganizer/$(MAKEFILE): + @$(CHK_DIR_EXISTS) "korganizer" || $(MKDIR) "korganizer" + cd korganizer && $(QMAKE) korganizer.pro -o $(MAKEFILE) +sub-korganizer: korganizer/$(MAKEFILE) FORCE + cd korganizer && $(MAKE) -f $(MAKEFILE) + +kaddressbook/$(MAKEFILE): + @$(CHK_DIR_EXISTS) "kaddressbook" || $(MKDIR) "kaddressbook" + cd kaddressbook && $(QMAKE) kaddressbook.pro -o $(MAKEFILE) +sub-kaddressbook: kaddressbook/$(MAKEFILE) FORCE + cd kaddressbook && $(MAKE) -f $(MAKEFILE) + +kabc/plugins/file/$(MAKEFILE): + @$(CHK_DIR_EXISTS) "kabc/plugins/file" || $(MKDIR) "kabc/plugins/file" + cd kabc/plugins/file && $(QMAKE) file.pro -o $(MAKEFILE) +sub-kabc-plugins-file: kabc/plugins/file/$(MAKEFILE) FORCE + cd kabc/plugins/file && $(MAKE) -f $(MAKEFILE) + +kabc/plugins/dir/$(MAKEFILE): + @$(CHK_DIR_EXISTS) "kabc/plugins/dir" || $(MKDIR) "kabc/plugins/dir" + cd kabc/plugins/dir && $(QMAKE) dir.pro -o $(MAKEFILE) +sub-kabc-plugins-dir: kabc/plugins/dir/$(MAKEFILE) FORCE + cd kabc/plugins/dir && $(MAKE) -f $(MAKEFILE) + +Makefile: kopi-desktop.pro /usr/lib/qt3/mkspecs/default/qmake.conf + $(QMAKE) -o Makefile kopi-desktop.pro +qmake: qmake_all + @$(QMAKE) -o Makefile kopi-desktop.pro + +all: $(SUBTARGETS) +qmake_all: libical/$(MAKEFILE) libkcal/$(MAKEFILE) microkde/$(MAKEFILE) libkdepim/$(MAKEFILE) kabc/$(MAKEFILE) korganizer/$(MAKEFILE) kaddressbook/$(MAKEFILE) kabc/plugins/file/$(MAKEFILE) kabc/plugins/dir/$(MAKEFILE) + ( [ -d libical ] && cd libical ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true + ( [ -d libkcal ] && cd libkcal ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true + ( [ -d microkde ] && cd microkde ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true + ( [ -d libkdepim ] && cd libkdepim ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true + ( [ -d kabc ] && cd kabc ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true + ( [ -d korganizer ] && cd korganizer ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true + ( [ -d kaddressbook ] && cd kaddressbook ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true + ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true + ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true +clean uicables mocables uiclean mocclean lexclean yaccclean : qmake_all FORCE + ( [ -d libical ] && cd libical ; $(MAKE) -f $(MAKEFILE) $@; ) || true + ( [ -d libkcal ] && cd libkcal ; $(MAKE) -f $(MAKEFILE) $@; ) || true + ( [ -d microkde ] && cd microkde ; $(MAKE) -f $(MAKEFILE) $@; ) || true + ( [ -d libkdepim ] && cd libkdepim ; $(MAKE) -f $(MAKEFILE) $@; ) || true + ( [ -d kabc ] && cd kabc ; $(MAKE) -f $(MAKEFILE) $@; ) || true + ( [ -d korganizer ] && cd korganizer ; $(MAKE) -f $(MAKEFILE) $@; ) || true + ( [ -d kaddressbook ] && cd kaddressbook ; $(MAKE) -f $(MAKEFILE) $@; ) || true + ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) $@; ) || true + ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) $@; ) || true +uninstall_subdirs: qmake_all FORCE + ( [ -d libical ] && cd libical ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true + ( [ -d libkcal ] && cd libkcal ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true + ( [ -d microkde ] && cd microkde ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true + ( [ -d libkdepim ] && cd libkdepim ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true + ( [ -d kabc ] && cd kabc ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true + ( [ -d korganizer ] && cd korganizer ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true + ( [ -d kaddressbook ] && cd kaddressbook ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true + ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true + ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true +install_subdirs: qmake_all FORCE + ( [ -d libical ] && cd libical ; $(MAKE) -f $(MAKEFILE) install; ) || true + ( [ -d libkcal ] && cd libkcal ; $(MAKE) -f $(MAKEFILE) install; ) || true + ( [ -d microkde ] && cd microkde ; $(MAKE) -f $(MAKEFILE) install; ) || true + ( [ -d libkdepim ] && cd libkdepim ; $(MAKE) -f $(MAKEFILE) install; ) || true + ( [ -d kabc ] && cd kabc ; $(MAKE) -f $(MAKEFILE) install; ) || true + ( [ -d korganizer ] && cd korganizer ; $(MAKE) -f $(MAKEFILE) install; ) || true + ( [ -d kaddressbook ] && cd kaddressbook ; $(MAKE) -f $(MAKEFILE) install; ) || true + ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) install; ) || true + ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) install; ) || true +distclean: qmake_all FORCE + ( [ -d libical ] && cd libical ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true + ( [ -d libkcal ] && cd libkcal ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true + ( [ -d microkde ] && cd microkde ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true + ( [ -d libkdepim ] && cd libkdepim ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true + ( [ -d kabc ] && cd kabc ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true + ( [ -d korganizer ] && cd korganizer ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true + ( [ -d kaddressbook ] && cd kaddressbook ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true + ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true + ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true + +install: install_subdirs + +uninstall: uninstall_subdirs + +FORCE: diff --git a/korganizer/koimportoldialog.cpp b/korganizer/koimportoldialog.cpp new file mode 100644 index 0000000..36363e5 --- a/dev/null +++ b/korganizer/koimportoldialog.cpp @@ -0,0 +1,466 @@ +/* + This file is part of KOrganizer. + Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + As a special exception, permission is given to link this program + with any edition of Qt, and distribute the resulting executable, + without including the source code for Qt in the source distribution. +*/ + +#include <qtooltip.h> +#include <qframe.h> +#include <qpixmap.h> +#include <qlayout.h> +#include <qprogressbar.h> +#include <qwidgetstack.h> +#include <qdatetime.h> +#include <qdir.h> +#include <qapplication.h> +#include <qhbox.h> +#include <qheader.h> +#include <qdatetime.h> +#include <qlistview.h> + +#include <kdebug.h> +#include <klocale.h> +#include <kstandarddirs.h> +#include <kmessagebox.h> +#include <kfiledialog.h> + +#include <libkdepim/categoryselectdialog.h> +#include <libkdepim/kinputdialog.h> + +#include <libkcal/calendarlocal.h> +#include <libkcal/icalformat.h> + +#include "koprefs.h" +#include "koglobals.h" + +#include "koimportoldialog.h" + +#include "../outport/msoutl9.h" +#include <ole2.h> +#include <comutil.h> +_Application gOlApp; + +QDateTime mDdate2Qdtr( DATE dt) +{ + COleDateTime odt; + SYSTEMTIME st; + odt = dt; + odt.GetAsSystemTime(st); + QDateTime qdt (QDate(st.wYear, st.wMonth,st.wDay ),QTime( st.wHour, st.wMinute,st.wSecond ) ); + return qdt; +} + +class OLEListViewItem : public QCheckListItem +{ + public: + OLEListViewItem( QListView *parent, QString text ) : + QCheckListItem( parent, text, QCheckListItem::CheckBox ) { ; }; + OLEListViewItem( QListViewItem *after, QString text ) : + QCheckListItem( after, text, QCheckListItem::CheckBox ) { ; }; + ~OLEListViewItem() {}; + void setData( DWORD data ) {mData= data; }; + DWORD data() { return mData ;}; + private: + DWORD mData; +}; + +KOImportOLdialog::KOImportOLdialog( const QString &caption, + Calendar *calendar, QWidget *parent ) : + KDialogBase( Plain, caption, User1 | Close, Ok, + parent, caption, true, false, i18n("Import!") ) +{ + QHBox * mw = new QHBox( this ); + setMainWidget( mw ); + mListView = new QListView( mw ); + mListView->addColumn(i18n("Select Folder to import")); + mListView->addColumn(i18n("Content Type")); + mCalendar = calendar; + connect( this, SIGNAL( user1Clicked() ),SLOT ( slotApply())); + setupFolderView(); + resize( sizeHint().width()+50, sizeHint().height()+50 ); +} + +KOImportOLdialog::~KOImportOLdialog() +{ + +} + + +void KOImportOLdialog::setupFolderView() +{ + SCODE sc = ::OleInitialize(NULL); + if ( FAILED ( sc ) ) { + KMessageBox::information(this,"OLE initialisation failed"); + return; + } + + if(!gOlApp.CreateDispatch(_T("Outlook.Application"),NULL)){ + KMessageBox::information(this,"Sorry, cannot access Outlook"); + return ; + } + MAPIFolder mfInbox; + MAPIFolder mfRoot; + CString szName; + _NameSpace olNS; + olNS = gOlApp.GetNamespace(_T("MAPI")); + mfInbox = olNS.GetDefaultFolder(6); + mfRoot = mfInbox.GetParent(); + szName = mfRoot.GetName(); + long iType = mfRoot.GetDefaultItemType(); + QString mes; + mes = QString::fromUcs2( szName.GetBuffer() ); + OLEListViewItem * root = new OLEListViewItem( mListView, mes ); + mfRoot.m_lpDispatch->AddRef(); + addFolder( root, mfRoot.m_lpDispatch ); + root->setOpen( true ); + mListView->setSortColumn( 0 ); + mListView->sort( ); +} + + +void KOImportOLdialog::addFolder(OLEListViewItem* iParent, LPDISPATCH dispParent) +{ + MAPIFolder mfParent(dispParent), mfChild; + _Folders folders; + _variant_t fndx((long)0); + CString szName; + long iType; + OLEListViewItem* hChild; + + folders = mfParent.GetFolders(); + for(int i=1; i <= folders.GetCount(); ++i) + { + fndx = (long)i; + mfChild = folders.Item(fndx.Detach()); + mfChild.m_lpDispatch->AddRef(); + szName = mfChild.GetName(); + iType = mfChild.GetDefaultItemType(); + hChild = new OLEListViewItem( iParent , QString::fromUcs2( szName.GetBuffer() ) ); + if ( iType != 1) + hChild->setEnabled( false ); + QString ts; + switch( iType ) { + case 0: + ts = i18n("Mail"); + break; + case 1: + ts = i18n("Calendar"); + break; + case 2: + ts = i18n("Contacts"); + break; + case 3: + ts = i18n("Todos"); + break; + case 4: + ts = i18n("Journals"); + break; + case 5: + ts = i18n("Notes"); + break; + default: + ts = i18n("Unknown"); + } + hChild->setText( 1,ts); + hChild->setData( (DWORD) mfChild.m_lpDispatch ); + mfChild.m_lpDispatch->AddRef(); + addFolder(hChild, mfChild.m_lpDispatch); + } +} + +void KOImportOLdialog::slotApply() +{ + importedItems = 0; + OLEListViewItem* child = (OLEListViewItem*) mListView->firstChild(); + while ( child ) { + if ( child->isOn() ) + readCalendarData( child->data() ); + child = (OLEListViewItem*) child->itemBelow(); + } + QString mes = i18n("Importing complete.\n\n%1 items imported.").arg( importedItems); + KMessageBox::information(this,mes); +} +void KOImportOLdialog::readCalendarData( DWORD folder ) +{ + + LPDISPATCH dispItem = (LPDISPATCH)folder; + dispItem->AddRef(); + MAPIFolder mf(dispItem); + mf.m_lpDispatch->AddRef(); + _Items folderItems; + _variant_t indx((long)0); + LPDISPATCH itm; + int i; + folderItems = mf.GetItems(); + QProgressBar bar( folderItems.GetCount(),0 ); + bar.setCaption (i18n("Importing - close to abort!") ); + int h = bar.sizeHint().height() ; + int w = 300; + int dw = QApplication::desktop()->width(); + int dh = QApplication::desktop()->height(); + bar.setGeometry( (dw-w)/2, (dh - h )/2 ,w,h ); + bar.show(); + for(i=1; i <= folderItems.GetCount(); ++i) + { + qApp->processEvents(); + if ( ! bar.isVisible() ) + return ; + bar.setProgress( i ); + indx = (long)i; + itm = folderItems.Item(indx.Detach()); + _AppointmentItem * pItem = (_AppointmentItem *)&itm; + ol2kopiCalendar( pItem ); + itm->Release(); + } +} +void KOImportOLdialog::slotOk() +{ + QDialog::accept(); +} + +void KOImportOLdialog::ol2kopiCalendar( _AppointmentItem * aItem, bool computeRecurrence ) +{ + KCal::Event* event = new KCal::Event(); + if ( aItem->GetAllDayEvent() ){ + event->setDtStart( QDateTime( mDdate2Qdtr( aItem->GetStart()).date(),QTime(0,0,0 ) )); + event->setDtEnd( QDateTime( mDdate2Qdtr( aItem->GetEnd()) .date(),QTime(0,0,0 )).addDays(-1)); + event->setFloats( true ); + } else { + event->setDtStart( mDdate2Qdtr( aItem->GetStart()) ); + event->setDtEnd( mDdate2Qdtr( aItem->GetEnd()) ); + event->setFloats( false ); + } + event->setSummary( QString::fromUcs2( aItem->GetSubject().GetBuffer()) ); + event->setLocation( QString::fromUcs2( aItem->GetLocation().GetBuffer()) ); + event->setDescription( QString::fromUcs2( aItem->GetBody().GetBuffer()) ); + QString cat = QString::fromUcs2( aItem->GetCategories().GetBuffer()); + event->setCategories( QStringList::split( ";", cat )); + if ( aItem->GetReminderSet() ) { + event->clearAlarms(); + Alarm* alarm = event->newAlarm(); + alarm->setStartOffset( -aItem->GetReminderMinutesBeforeStart()*60 ); + alarm->setEnabled( true ); + if ( aItem->GetReminderPlaySound() ) { + alarm->setType( Alarm::Audio ); + alarm->setAudioFile( QString::fromUcs2( aItem->GetReminderSoundFile().GetBuffer())); + } + else + alarm->setType( Alarm::Display ); + alarm->setRepeatCount( aItem->GetReplyTime() ); + } + // OL :pub 0 - pers 1 - priv 2 - conf 3 + // KO : pub 0 - priv 1 - conf 2 + int sec = aItem->GetSensitivity() ; + if ( sec > 1 )// mapping pers -> private + --sec; + event->setSecrecy( sec ); + if ( aItem->GetBusyStatus() == 0 ) + event->setTransparency( Event::Transparent);// OL free + else + event->setTransparency( Event::Opaque);//OL all other + + if ( aItem->GetIsRecurring() && computeRecurrence ) { //recur + + RecurrencePattern recpat = aItem->GetRecurrencePattern(); + + QDate startDate = mDdate2Qdtr(recpat.GetPatternStartDate()).date(); + int freq = recpat.GetInterval(); + + bool hasEndDate = !recpat.GetNoEndDate(); + QDate endDate = mDdate2Qdtr(recpat.GetPatternEndDate()).date(); + QBitArray weekDays( 7 ); + weekDays.fill(false ); + uint weekDaysNum = recpat.GetDayOfWeekMask(); + int i; + int bb = 2; + for( i = 1; i <= 6; ++i ) { + weekDays.setBit( i - 1, ( bb & weekDaysNum )); + bb = 4 << (i-1); + //qDebug(" %d bit %d ",i-1,weekDays.at(i-1) ); + } + if ( 1 & weekDaysNum) + weekDays.setBit( 6 ); + // int pos = 1;// pending + + Recurrence *r = event->recurrence(); + int rtype = recpat.GetRecurrenceType(); + //recurrence types are: + /* + olRecursDaily(0) + olRecursWeekly(1) + olRecursMonthly(2) + olRecursMonthNth(3) + olRecursYearly(5) + olRecursYearNth(6) + */ + + int duration = recpat.GetOccurrences(); + if ( !hasEndDate ) + duration = -1; + + //LPDISPATCH RecurrencePattern::GetExceptions() + //long RecurrencePattern::GetMonthOfYear() + if ( rtype == 0 ) { + if ( hasEndDate ) r->setDaily( freq, endDate ); + else r->setDaily( freq, duration ); + } else if ( rtype == 1 ) { + if ( hasEndDate ) r->setWeekly( freq, weekDays, endDate ); + else r->setWeekly( freq, weekDays, duration ); + } else if ( rtype == 2 ) { + if ( hasEndDate ) + r->setMonthly( Recurrence::rMonthlyDay, freq, endDate ); + else + r->setMonthly( Recurrence::rMonthlyDay, freq, duration ); + //r->addMonthlyDay( startDate.day() ); + r->addMonthlyDay( recpat.GetDayOfMonth() ); + } else if ( rtype == 3 ) { + if ( hasEndDate ) + r->setMonthly( Recurrence::rMonthlyPos, freq, endDate ); + else + r->setMonthly( Recurrence::rMonthlyPos, freq, duration ); + QBitArray days( 7 ); + days.fill( false ); + days.setBit( startDate.dayOfWeek() - 1 ); + int pos = (startDate.day()/7)+1; + r->addMonthlyPos( pos, days ); + //QString mes = i18n("Importing monthlypos.\n\npos: %1 , day: %2").arg( pos).arg( startDate.dayOfWeek() - 1); + //KMessageBox::information(this,mes); + } else if ( rtype == 5 ) { + freq = 1; + if ( hasEndDate ) + r->setYearly( Recurrence::rYearlyMonth, freq, endDate ); + else + r->setYearly( Recurrence::rYearlyMonth, freq, duration ); + r->addYearlyNum( startDate.month() ); + } else if ( true /*rtype == 6*/ ) { + // KOganizer cannot handle this in the GUI + // we are mapping this to monthly - every 12. month + freq = 12; + if ( hasEndDate ) + r->setMonthly( Recurrence::rMonthlyPos, freq, endDate ); + else + r->setMonthly( Recurrence::rMonthlyPos, freq, duration ); + QBitArray days( 7 ); + days.fill( false ); + days.setBit( startDate.dayOfWeek() - 1 ); + int pos = (startDate.day()/7)+1; + r->addMonthlyPos( pos, days ); + } + // recurrence exceptions + LPDISPATCH dispItem = recpat.GetExceptions(); + dispItem->AddRef(); + Exceptions ex(dispItem); + _variant_t indx((long)0); + LPDISPATCH itm; + for(i=1; i <= ex.GetCount(); ++i) { + indx = (long)i; + itm = ex.Item( indx.Detach() ); + ::Exception * pItem = (::Exception *)&itm; + event->addExDate( QDateTime( mDdate2Qdtr( pItem->GetOriginalDate())).date() ); + if ( !pItem->GetDeleted() ) { + LPDISPATCH appIt = pItem->GetAppointmentItem(); + _AppointmentItem * paItem = (_AppointmentItem *)&appIt; + ol2kopiCalendar( paItem, false ); + } + itm->Release(); + } + } + // recurrence ENTE + event->setOrganizer( QString::fromUcs2( aItem->GetOrganizer().GetBuffer())); + + //GetOptionalAttendees() + //GetRequiredAttendees() + LPDISPATCH dispItem = aItem->GetRecipients(); + dispItem->AddRef(); + _Folders mf(dispItem); + mf.m_lpDispatch->AddRef(); + _variant_t indx((long)0); + LPDISPATCH itm; + int i; + QString optAtt = QString::fromUcs2( aItem->GetOptionalAttendees().GetBuffer()); + QString reqAtt = QString::fromUcs2( aItem->GetRequiredAttendees().GetBuffer()); + //GetRequiredAttendees() + for(i=1; i <= mf.GetCount(); ++i) { + indx = (long)i; + itm = mf.Item( indx.Detach() ); + Recipient * pItem = (Recipient *)&itm; + + //a = new KCal::Attendee( (*it).realName(), (*it).preferredEmail(),false,KCal::Attendee::NeedsAction,KCal::Attendee::ReqParticipant,(*it).uid()) ; + QString name = QString::fromUcs2( pItem->GetName().GetBuffer()); + KCal::Attendee::PartStat stat; + bool rsvp = false; + switch ( pItem->GetMeetingResponseStatus() ) { + case 0: //not answered + rsvp = true; + case 5: //not answered + stat = Attendee::NeedsAction; + break; + case 1: //organizer + stat = Attendee::Delegated ; + break; + case 2: //tentative + stat = Attendee::Tentative ; + break; + case 3: //accepted + stat = Attendee::Accepted; + break; + case 4: //declined + stat =Attendee::Declined ; + break; + default: + stat = Attendee::NeedsAction ; + + } + KCal::Attendee::Role role; + if ( event->organizer() == name ) + role = KCal::Attendee::Chair; + else if ( reqAtt.find( name ) >= 0 ) + role = KCal::Attendee::ReqParticipant; + else if ( optAtt.find( name ) >= 0 ) + role = KCal::Attendee::OptParticipant; + else + role = KCal::Attendee::NonParticipant; + QString mail = QString::fromUcs2(pItem->GetAddress().GetBuffer()); + if( mail.isEmpty() && name.find("@") > 0 ) + mail = name; + QString uid; + if ( mail.isEmpty() ) + uid = QString::fromUcs2( pItem->GetEntryID().GetBuffer()); + else + uid = mail; + mail = mail.stripWhiteSpace(); + KCal::Attendee * a = new KCal::Attendee( name, mail,rsvp,stat,role,uid) ; + event->addAttendee( a , false ); + itm->Release(); + } + + + if ( !mCalendar->addEventNoDup( event )) + delete event; + else { + // QString mes = i18n("Importing %1.\n date: %2 date: %3").arg( event->summary()).arg( event->dtStart().toString()).arg( event->dtEnd().toString()); + //KMessageBox::information(this,mes); + ++importedItems; + } +} +void KOImportOLdialog::slotCancel() +{ + reject(); +} diff --git a/korganizer/koimportoldialog.h b/korganizer/koimportoldialog.h new file mode 100644 index 0000000..f6a753d --- a/dev/null +++ b/korganizer/koimportoldialog.h @@ -0,0 +1,83 @@ +/* + This file is part of KOrganizer. + Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + As a special exception, permission is given to link this program + with any edition of Qt, and distribute the resulting executable, + without including the source code for Qt in the source distribution. +*/ +#ifndef KOINCIDENCEEDITOR_H +#define KOINCIDENCEEDITOR_H + +#include <kdialogbase.h> + +#include <afxdisp.h> +#include <libkcal/calendar.h> +#include <libkcal/event.h> + + +class QDateTime; +class QListView; +class OLEListViewItem; +class _AppointmentItem; +namespace KPIM { class CategorySelectDialog; } + +using namespace KCal; + +/** + This is the base class for the calendar component editors. +*/ +class KOImportOLdialog : public KDialogBase +{ + Q_OBJECT + public: + /** + Construct new IncidenceEditor. + */ + KOImportOLdialog( const QString &caption, Calendar *calendar, + QWidget *parent ); + virtual ~KOImportOLdialog(); + + /** Initialize editor. This function creates the tab widgets. */ + void init(); + + public slots: + + + signals: + + protected slots: + void slotApply(); + void slotOk(); + void slotCancel(); + + protected: + void setupFolderView(); + void addFolder(OLEListViewItem* iParent, LPDISPATCH dispParent); + void readCalendarData( DWORD folder ); + void ol2kopiCalendar( _AppointmentItem * , bool computeRecurrence = true ); + + Calendar *mCalendar; + QListView * mListView; + + private: + int importedItems; +}; + +#endif + + diff --git a/korganizer/korganizer.pro b/korganizer/korganizer.pro index fe2250e..4e8ce11 100644 --- a/korganizer/korganizer.pro +++ b/korganizer/korganizer.pro @@ -11,40 +11,44 @@ INCLUDEPATH += ../microkde ../ interfaces ../microkde/kdecore ../microkde/kdeui #../qtcompat DEFINES += KORG_NODND KORG_NOPLUGINS KORG_NOARCHIVE KORG_NOMAIL DEFINES += KORG_NODCOP KORG_NOKALARMD KORG_NORESOURCEVIEW KORG_NOSPLITTER #KORG_NOPRINTER KORG_NOKABC DEFINES += KORG_NOLVALTERNATION DEFINES += DESKTOP_VERSION unix : { LIBS += ../bin/libmicrokdepim.so LIBS += ../bin/libmicrokcal.so LIBS += ../bin/libmicrokde.so LIBS += ../bin/libmicrokabc.so LIBS += -lldap OBJECTS_DIR = obj/unix MOC_DIR = moc/unix } win32: { -DEFINES += _WIN32_ +DEFINES += _WIN32_ LIBS += ../bin/microkdepim.lib LIBS += ../bin/microkcal.lib LIBS += ../bin/microkde.lib LIBS += ../bin/microkabc.lib LIBS += ../libical/lib/ical.lib LIBS += ../libical/lib/icalss.lib +#LIBS += atls.lib +LIBS += mfc71u.lib QMAKE_LINK += /NODEFAULTLIB:LIBC +#QMAKE_LINK += /NODEFAULTLIB:MSVCRT +#QMAKE_LINK += /NODEFAULTLIB:uafxcw.lib OBJECTS_DIR = obj/win MOC_DIR = moc/win } INTERFACES = kofilterview_base.ui # filteredit_base.ui # kdateedit.h \ HEADERS = \ filteredit_base.h \ alarmclient.h \ calendarview.h \ customlistviewitem.h \ datenavigator.h \ @@ -90,33 +94,34 @@ HEADERS = \ kowhatsnextview.h \ ktimeedit.h \ lineview.h \ mainwindow.h \ navigatorbar.h \ outgoingdialog.h \ outgoingdialog_base.h \ publishdialog.h \ publishdialog_base.h \ savetemplatedialog.h \ searchdialog.h \ simplealarmclient.h \ statusdialog.h \ timeline.h \ timespanview.h \ version.h \ - ../kalarmd/alarmdialog.h + ../kalarmd/alarmdialog.h \ + SOURCES = \ filteredit_base.cpp \ calendarview.cpp \ datenavigator.cpp \ docprefs.cpp \ filtereditdialog.cpp \ incomingdialog.cpp \ incomingdialog_base.cpp \ journalentry.cpp \ kdatenavigator.cpp \ koagenda.cpp \ koagendaitem.cpp \ koagendaview.cpp \ kocounterdialog.cpp \ kodaymatrix.cpp \ @@ -157,16 +162,30 @@ filteredit_base.cpp \ publishdialog.cpp \ publishdialog_base.cpp \ savetemplatedialog.cpp \ searchdialog.cpp \ simplealarmclient.cpp \ statusdialog.cpp \ timeline.cpp \ timespanview.cpp \ ../kalarmd/alarmdialog.cpp HEADERS += calprintbase.h calprinter.h calprintplugins.h cellitem.h INTERFACES += calprintdayconfig_base.ui \ calprintmonthconfig_base.ui \ calprinttodoconfig_base.ui \ calprintweekconfig_base.ui SOURCES += calprintbase.cpp calprinter.cpp calprintplugins.cpp cellitem.cpp + + + +win32: { +HEADERS += ../outport/msoutl9.h \ + koimportoldialog.h + + +SOURCES += ../outport/msoutl9.cpp \ + koimportoldialog.cpp + + +} + diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 40f2cf4..be69be7 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -36,36 +36,37 @@ #include "calendarview.h" #include "koviewmanager.h" #include "datenavigator.h" #include "koagendaview.h" #include "koagenda.h" #include "kodialogmanager.h" #include "kdialogbase.h" #include "kstandarddirs.h" #include "koprefs.h" #include "kfiledialog.h" #include "koglobals.h" #include "kglobal.h" #include "klocale.h" #include "kconfig.h" #include "simplealarmclient.h" - using namespace KCal; #ifndef _WIN32_ #include <unistd.h> +#else +#include "koimportoldialog.h" #endif #include "mainwindow.h" int globalFlagBlockStartup; MainWindow::MainWindow( QWidget *parent, const char *name, QString msg) : QMainWindow( parent, name ) { #ifdef DESKTOP_VERSION setFont( QFont("Arial"), 14 ); #endif //QString confFile = KStandardDirs::appDir() + "config/korganizerrc"; QString confFile = locateLocal("config","korganizerrc"); QFileInfo finf ( confFile ); bool showWarning = !finf.exists(); @@ -571,32 +572,40 @@ void MainWindow::initActions() connect( action, SIGNAL( activated() ), SLOT( importIcal() ) ); action = new QAction( "import_quick", i18n("Import last file"), 0, this ); action->addTo( importMenu ); connect( action, SIGNAL( activated() ), SLOT( quickImportIcal() ) ); importMenu->insertSeparator(); action = new QAction( "import_bday", i18n("Import Birthdays (KA/Pi)"), 0, this ); action->addTo( importMenu ); connect( action, SIGNAL( activated() ), SLOT( importBday() ) ); #ifndef DESKTOP_VERSION importMenu->insertSeparator(); action = new QAction( "import_qtopia", i18n("Import Opie/Qtopia Cal."), 0, this ); action->addTo( importMenu ); connect( action, SIGNAL( activated() ), SLOT( importQtopia() ) ); +#else +#ifdef _WIN32_ + importMenu->insertSeparator(); + action = new QAction( "import_ol", i18n("Import from OL"), 0, + this ); + action->addTo( importMenu ); + connect( action, SIGNAL( activated() ), SLOT( importOL() ) ); +#endif #endif importMenu->insertSeparator(); action = new QAction( "load_cal", i18n("Load Calendar Backup"), 0, this ); action->addTo( importMenu ); connect( action, SIGNAL( activated() ), SLOT( loadCalendar() ) ); action = new QAction( "save_cal", i18n("Save Calendar Backup"), 0, this ); action->addTo( importMenu ); connect( action, SIGNAL( activated() ), SLOT( saveCalendar() ) ); importMenu->insertSeparator(); action = new QAction( "import_qtopia", i18n("Export VCalendar"), 0, this ); @@ -917,33 +926,35 @@ void MainWindow::multiSync( bool askforPrefs ) int num = ringSync() ; if ( num > 1 ) ringSync(); mBlockSaveFlag = false; if ( num ) save(); if ( num ) setCaption(i18n("%1 profiles synced. Multiple sync completed!").arg(num) ); else setCaption(i18n("Nothing synced! No profiles defined for multisync!")); return; } void MainWindow::slotSyncMenu( int action ) { //qDebug("syncaction %d ", action); if ( action == 0 ) { + confSync(); + return; } if ( action == 1 ) { multiSync( true ); return; } if (mBlockSaveFlag) return; mBlockSaveFlag = true; mCurrentSyncProfile = action - 1000 ; mView->setSyncDevice(KOPrefs::instance()->mSyncProfileNames[mCurrentSyncProfile] ); mView->setSyncName( KOPrefs::instance()->mLocalMachineName ); KConfig *config = KOGlobals::config(); KSyncProfile* temp = new KSyncProfile (); temp->setName(KOPrefs::instance()->mSyncProfileNames[mCurrentSyncProfile]); @@ -1206,32 +1217,41 @@ void MainWindow::processIncidenceSelection( Incidence *incidence ) } else { mShowAction->setText( i18n("Show...") ); mShowAction->setText( i18n("Edit...") ); mShowAction->setText( i18n("Delete...") ); mNewSubTodoAction->setEnabled( false ); } } void MainWindow::enableIncidenceActions( bool enabled ) { mShowAction->setEnabled( enabled ); mEditAction->setEnabled( enabled ); mDeleteAction->setEnabled( enabled ); } +void MainWindow::importOL() +{ +#ifdef _WIN32_ + KOImportOLdialog *id = new KOImportOLdialog("Import from OL - select folder!" , mView->calendar(),this ); + id->exec(); + delete id; + mView->updateView(); +#endif +} void MainWindow::importBday() { int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"), i18n("When importing birthdays twice\nduplicated events will be ignored,\nif the event has not been\nchanged in KO/Pi!\n"), i18n("Import!"), i18n("Cancel"), 0, 0, 1 ); if ( result == 0 ) { mView->importBday(); } } void MainWindow::importQtopia() { #ifndef DESKTOP_VERSION diff --git a/korganizer/mainwindow.h b/korganizer/mainwindow.h index ee4aaa6..a681f42 100644 --- a/korganizer/mainwindow.h +++ b/korganizer/mainwindow.h @@ -40,32 +40,33 @@ class MainWindow : public QMainWindow int ringSync(); void multiSync( bool askforPrefs = false ); void about(); void faq(); void usertrans(); void features(); void synchowto(); void whatsNew(); void keyBindings(); void aboutAutoSaving();; void aboutKnownBugs(); void processIncidenceSelection( Incidence * ); void importQtopia(); void importBday(); + void importOL(); void importIcal(); void importFile( QString, bool ); void quickImportIcal(); void slotModifiedChanged( bool ); void save(); void configureToolBar( int ); void printSel(); void printCal(); void saveCalendar(); void loadCalendar(); void exportVCalendar(); void slotSyncMenu( int ); void syncSSH(); diff --git a/outport/StdAfx.h b/outport/StdAfx.h new file mode 100644 index 0000000..c28b0d9 --- a/dev/null +++ b/outport/StdAfx.h @@ -0,0 +1,60 @@ +/*
+ Copyright 2001 Justin Kirby
+ This file is part of Outport.
+
+ Outport is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ Outport is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with olexp; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+*/
+// stdafx.h : include file for standard system include files,
+// or project specific include files that are used frequently, but
+// are changed infrequently
+//
+
+#ifndef OLEXP_STDAFX_H
+#define OLEXP_STDAFX_H
+
+#if _MSC_VER > 1000
+#pragma once
+#endif // _MSC_VER > 1000
+
+#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
+
+//#include <afxwin.h> // MFC core and standard components
+#include <afxext.h> // MFC extensions
+#include <atlbase.h>
+//CComModule _Module;
+#include <atlcom.h>
+#include <afxdisp.h> // MFC Automation classes
+#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
+#ifndef _AFX_NO_AFXCMN_SUPPORT
+#include <afxcmn.h> // MFC support for Windows Common Controls
+#include <comdef.h>
+#endif // _AFX_NO_AFXCMN_SUPPORT
+
+#include <afxtempl.h>
+#include "resource.h"
+
+#ifndef IMPLEMENT_OLECREATE2
+#define IMPLEMENT_OLECREATE2(class_name, external_name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
+ AFX_DATADEF COleObjectFactory class_name::factory(class_name::guid, \
+ RUNTIME_CLASS(class_name), TRUE, _T(external_name)); \
+ const AFX_DATADEF GUID class_name::guid = \
+ { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } };
+#endif // IMPLEMENT_OLECREATE2
+
+//{{AFX_INSERT_LOCATION}}
+// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
+
+#endif // !defined(AFX_STDAFX_H__62F25EC8_1510_4268_9D06_BF10E2FCCC70__INCLUDED_)
diff --git a/outport/msoutl9.cpp b/outport/msoutl9.cpp new file mode 100644 index 0000000..987009c --- a/dev/null +++ b/outport/msoutl9.cpp @@ -0,0 +1,8214 @@ +/*
+ Copyright 2001 Justin Kirby
+ This file is part of Outport.
+
+ Outport is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ Outport is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with olexp; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+*/
+// Machine generated IDispatch wrapper class(es) created with ClassWizard
+
+#include "stdafx.h"
+#include "msoutl9.h"
+
+#ifdef _DEBUG
+#define new DEBUG_NEW
+#undef THIS_FILE
+static char THIS_FILE[] = __FILE__;
+#endif
+
+
+
+/////////////////////////////////////////////////////////////////////////////
+// _Application properties
+
+/////////////////////////////////////////////////////////////////////////////
+// _Application operations
+
+LPDISPATCH _Application::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long _Application::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Application::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Application::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Application::GetAssistant()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x114, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+CString _Application::GetName()
+{
+ CString result;
+ InvokeHelper(0x3001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _Application::GetVersion()
+{
+ CString result;
+ InvokeHelper(0x116, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Application::ActiveExplorer()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x111, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Application::ActiveInspector()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x112, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Application::CreateItem(long ItemType)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x10a, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ ItemType);
+ return result;
+}
+
+LPDISPATCH _Application::CreateItemFromTemplate(LPCTSTR TemplatePath, const VARIANT& InFolder)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_BSTR VTS_VARIANT;
+ InvokeHelper(0x10b, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ TemplatePath, &InFolder);
+ return result;
+}
+
+LPDISPATCH _Application::CreateObject(LPCTSTR ObjectName)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x115, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ ObjectName);
+ return result;
+}
+
+LPDISPATCH _Application::GetNamespace(LPCTSTR Type)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x110, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ Type);
+ return result;
+}
+
+void _Application::Quit()
+{
+ InvokeHelper(0x113, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+LPDISPATCH _Application::GetCOMAddIns()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x118, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Application::GetExplorers()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x119, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Application::GetInspectors()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x11a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Application::GetLanguageSettings()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x11b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+CString _Application::GetProductCode()
+{
+ CString result;
+ InvokeHelper(0x11c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Application::GetAnswerWizard()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x11d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Application::ActiveWindow()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x11f, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// _Folders properties
+
+/////////////////////////////////////////////////////////////////////////////
+// _Folders operations
+
+LPDISPATCH _Folders::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long _Folders::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Folders::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Folders::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long _Folders::GetCount()
+{
+ long result;
+ InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Folders::Item(const VARIANT& Index)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_VARIANT;
+ InvokeHelper(0x51, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ &Index);
+ return result;
+}
+
+LPDISPATCH _Folders::Add(LPCTSTR Name, const VARIANT& Type)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_BSTR VTS_VARIANT;
+ InvokeHelper(0x5f, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ Name, &Type);
+ return result;
+}
+
+LPDISPATCH _Folders::GetFirst()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x56, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Folders::GetLast()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x58, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Folders::GetNext()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x57, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Folders::GetPrevious()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x59, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void _Folders::Remove(long Index)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x54, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ Index);
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// MAPIFolder properties
+
+/////////////////////////////////////////////////////////////////////////////
+// MAPIFolder operations
+
+LPDISPATCH MAPIFolder::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long MAPIFolder::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH MAPIFolder::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH MAPIFolder::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long MAPIFolder::GetDefaultItemType()
+{
+ long result;
+ InvokeHelper(0x3106, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+CString MAPIFolder::GetDefaultMessageClass()
+{
+ CString result;
+ InvokeHelper(0x3107, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString MAPIFolder::GetDescription()
+{
+ CString result;
+ InvokeHelper(0x3004, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void MAPIFolder::SetDescription(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3004, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString MAPIFolder::GetEntryID()
+{
+ CString result;
+ InvokeHelper(0xf01e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH MAPIFolder::GetFolders()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x2103, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH MAPIFolder::GetItems()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x3100, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+CString MAPIFolder::GetName()
+{
+ CString result;
+ InvokeHelper(0x3001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void MAPIFolder::SetName(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString MAPIFolder::GetStoreID()
+{
+ CString result;
+ InvokeHelper(0x3108, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+long MAPIFolder::GetUnReadItemCount()
+{
+ long result;
+ InvokeHelper(0x3603, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH MAPIFolder::CopyTo(LPDISPATCH DestinationFolder)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_DISPATCH;
+ InvokeHelper(0xf032, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ DestinationFolder);
+ return result;
+}
+
+void MAPIFolder::Delete()
+{
+ InvokeHelper(0xf045, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void MAPIFolder::Display()
+{
+ InvokeHelper(0x3104, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+LPDISPATCH MAPIFolder::GetExplorer(const VARIANT& DisplayMode)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_VARIANT;
+ InvokeHelper(0x3101, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ &DisplayMode);
+ return result;
+}
+
+void MAPIFolder::MoveTo(LPDISPATCH DestinationFolder)
+{
+ static BYTE parms[] =
+ VTS_DISPATCH;
+ InvokeHelper(0xf034, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ DestinationFolder);
+}
+
+BOOL MAPIFolder::GetWebViewOn()
+{
+ BOOL result;
+ InvokeHelper(0x3112, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void MAPIFolder::SetWebViewOn(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x3112, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+CString MAPIFolder::GetWebViewURL()
+{
+ CString result;
+ InvokeHelper(0x3113, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void MAPIFolder::SetWebViewURL(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3113, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL MAPIFolder::GetWebViewAllowNavigation()
+{
+ BOOL result;
+ InvokeHelper(0x3114, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void MAPIFolder::SetWebViewAllowNavigation(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x3114, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// _NameSpace properties
+
+/////////////////////////////////////////////////////////////////////////////
+// _NameSpace operations
+
+LPDISPATCH _NameSpace::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long _NameSpace::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _NameSpace::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _NameSpace::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _NameSpace::GetCurrentUser()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x2101, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _NameSpace::GetFolders()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x2103, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+CString _NameSpace::GetType()
+{
+ CString result;
+ InvokeHelper(0x2104, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _NameSpace::GetAddressLists()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x210d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _NameSpace::CreateRecipient(LPCTSTR RecipientName)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x210a, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ RecipientName);
+ return result;
+}
+
+LPDISPATCH _NameSpace::GetDefaultFolder(long FolderType)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x210b, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ FolderType);
+ return result;
+}
+
+LPDISPATCH _NameSpace::GetFolderFromID(LPCTSTR EntryIDFolder, const VARIANT& EntryIDStore)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_BSTR VTS_VARIANT;
+ InvokeHelper(0x2108, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ EntryIDFolder, &EntryIDStore);
+ return result;
+}
+
+LPDISPATCH _NameSpace::GetItemFromID(LPCTSTR EntryIDItem, const VARIANT& EntryIDStore)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_BSTR VTS_VARIANT;
+ InvokeHelper(0x2109, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ EntryIDItem, &EntryIDStore);
+ return result;
+}
+
+LPDISPATCH _NameSpace::GetRecipientFromID(LPCTSTR EntryID)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x2107, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ EntryID);
+ return result;
+}
+
+LPDISPATCH _NameSpace::GetSharedDefaultFolder(LPDISPATCH Recipient, long FolderType)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_DISPATCH VTS_I4;
+ InvokeHelper(0x210c, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ Recipient, FolderType);
+ return result;
+}
+
+void _NameSpace::Logoff()
+{
+ InvokeHelper(0x2106, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _NameSpace::Logon(const VARIANT& Profile, const VARIANT& Password, const VARIANT& ShowDialog, const VARIANT& NewSession)
+{
+ static BYTE parms[] =
+ VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
+ InvokeHelper(0x2105, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ &Profile, &Password, &ShowDialog, &NewSession);
+}
+
+LPDISPATCH _NameSpace::PickFolder()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x210e, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _NameSpace::GetSyncObjects()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x2118, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void _NameSpace::AddStore(const VARIANT& Store)
+{
+ static BYTE parms[] =
+ VTS_VARIANT;
+ InvokeHelper(0x2119, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ &Store);
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// _Items properties
+
+/////////////////////////////////////////////////////////////////////////////
+// _Items operations
+
+LPDISPATCH _Items::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long _Items::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Items::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Items::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long _Items::GetCount()
+{
+ long result;
+ InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Items::Item(const VARIANT& Index)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_VARIANT;
+ InvokeHelper(0x51, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ &Index);
+ return result;
+}
+
+BOOL _Items::GetIncludeRecurrences()
+{
+ BOOL result;
+ InvokeHelper(0xce, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _Items::SetIncludeRecurrences(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0xce, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+LPDISPATCH _Items::Add(const VARIANT& Type)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_VARIANT;
+ InvokeHelper(0x5f, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ &Type);
+ return result;
+}
+
+LPDISPATCH _Items::Find(LPCTSTR Filter)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x62, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ Filter);
+ return result;
+}
+
+LPDISPATCH _Items::FindNext()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x63, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Items::GetFirst()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x56, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Items::GetLast()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x58, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Items::GetNext()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x57, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Items::GetPrevious()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x59, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void _Items::Remove(long Index)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x54, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ Index);
+}
+
+void _Items::ResetColumns()
+{
+ InvokeHelper(0x5d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+LPDISPATCH _Items::Restrict(LPCTSTR Filter)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x64, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ Filter);
+ return result;
+}
+
+void _Items::SetColumns(LPCTSTR Columns)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x5c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ Columns);
+}
+
+void _Items::Sort(LPCTSTR Property_, const VARIANT& Descending)
+{
+ static BYTE parms[] =
+ VTS_BSTR VTS_VARIANT;
+ InvokeHelper(0x61, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ Property_, &Descending);
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// _TaskItem properties
+
+/////////////////////////////////////////////////////////////////////////////
+// _TaskItem operations
+
+LPDISPATCH _TaskItem::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long _TaskItem::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _TaskItem::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _TaskItem::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _TaskItem::GetActions()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf817, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _TaskItem::GetAttachments()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf815, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+CString _TaskItem::GetBillingInformation()
+{
+ CString result;
+ InvokeHelper(0x8535, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetBillingInformation(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8535, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _TaskItem::GetBody()
+{
+ CString result;
+ InvokeHelper(0x9100, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetBody(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x9100, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _TaskItem::GetCategories()
+{
+ CString result;
+ InvokeHelper(0x9001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetCategories(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x9001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _TaskItem::GetCompanies()
+{
+ CString result;
+ InvokeHelper(0x853b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetCompanies(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x853b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _TaskItem::GetConversationIndex()
+{
+ CString result;
+ InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _TaskItem::GetConversationTopic()
+{
+ CString result;
+ InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+DATE _TaskItem::GetCreationTime()
+{
+ DATE result;
+ InvokeHelper(0x3007, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+CString _TaskItem::GetEntryID()
+{
+ CString result;
+ InvokeHelper(0xf01e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _TaskItem::GetFormDescription()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf095, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _TaskItem::GetGetInspector()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf03e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long _TaskItem::GetImportance()
+{
+ long result;
+ InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetImportance(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+DATE _TaskItem::GetLastModificationTime()
+{
+ DATE result;
+ InvokeHelper(0x3008, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+CString _TaskItem::GetMessageClass()
+{
+ CString result;
+ InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetMessageClass(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _TaskItem::GetMileage()
+{
+ CString result;
+ InvokeHelper(0x8534, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetMileage(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8534, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL _TaskItem::GetNoAging()
+{
+ BOOL result;
+ InvokeHelper(0x850e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetNoAging(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x850e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+long _TaskItem::GetOutlookInternalVersion()
+{
+ long result;
+ InvokeHelper(0x8552, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+CString _TaskItem::GetOutlookVersion()
+{
+ CString result;
+ InvokeHelper(0x8554, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+BOOL _TaskItem::GetSaved()
+{
+ BOOL result;
+ InvokeHelper(0xf0a3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+long _TaskItem::GetSensitivity()
+{
+ long result;
+ InvokeHelper(0x36, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetSensitivity(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x36, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+long _TaskItem::GetSize()
+{
+ long result;
+ InvokeHelper(0xe08, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+CString _TaskItem::GetSubject()
+{
+ CString result;
+ InvokeHelper(0x37, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetSubject(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x37, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL _TaskItem::GetUnRead()
+{
+ BOOL result;
+ InvokeHelper(0xf01c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetUnRead(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0xf01c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+LPDISPATCH _TaskItem::GetUserProperties()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf816, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::Close(long SaveMode)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0xf023, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ SaveMode);
+}
+
+LPDISPATCH _TaskItem::Copy()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf032, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::Delete()
+{
+ InvokeHelper(0xf04a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _TaskItem::Display(const VARIANT& Modal)
+{
+ static BYTE parms[] =
+ VTS_VARIANT;
+ InvokeHelper(0xf0a6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ &Modal);
+}
+
+LPDISPATCH _TaskItem::Move(LPDISPATCH DestFldr)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_DISPATCH;
+ InvokeHelper(0xf034, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ DestFldr);
+ return result;
+}
+
+void _TaskItem::PrintOut()
+{
+ InvokeHelper(0xf033, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _TaskItem::Save()
+{
+ InvokeHelper(0xf048, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _TaskItem::SaveAs(LPCTSTR Path, const VARIANT& Type)
+{
+ static BYTE parms[] =
+ VTS_BSTR VTS_VARIANT;
+ InvokeHelper(0xf051, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ Path, &Type);
+}
+
+long _TaskItem::GetActualWork()
+{
+ long result;
+ InvokeHelper(0x8110, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetActualWork(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x8110, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+CString _TaskItem::GetCardData()
+{
+ CString result;
+ InvokeHelper(0x812b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetCardData(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x812b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL _TaskItem::GetComplete()
+{
+ BOOL result;
+ InvokeHelper(0x811c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetComplete(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x811c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+CString _TaskItem::GetContacts()
+{
+ CString result;
+ InvokeHelper(0x853a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetContacts(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x853a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _TaskItem::GetContactNames()
+{
+ CString result;
+ InvokeHelper(0x853c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetContactNames(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x853c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+DATE _TaskItem::GetDateCompleted()
+{
+ DATE result;
+ InvokeHelper(0x810f, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetDateCompleted(DATE newValue)
+{
+ static BYTE parms[] =
+ VTS_DATE;
+ InvokeHelper(0x810f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ newValue);
+}
+
+long _TaskItem::GetDelegationState()
+{
+ long result;
+ InvokeHelper(0x812a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+CString _TaskItem::GetDelegator()
+{
+ CString result;
+ InvokeHelper(0x8121, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+DATE _TaskItem::GetDueDate()
+{
+ DATE result;
+ InvokeHelper(0x8105, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetDueDate(DATE newValue)
+{
+ static BYTE parms[] =
+ VTS_DATE;
+ InvokeHelper(0x8105, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ newValue);
+}
+
+BOOL _TaskItem::GetIsRecurring()
+{
+ BOOL result;
+ InvokeHelper(0xf617, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+long _TaskItem::GetOrdinal()
+{
+ long result;
+ InvokeHelper(0x8123, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetOrdinal(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x8123, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+CString _TaskItem::GetOwner()
+{
+ CString result;
+ InvokeHelper(0x811f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetOwner(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x811f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+long _TaskItem::GetOwnership()
+{
+ long result;
+ InvokeHelper(0x8129, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+long _TaskItem::GetPercentComplete()
+{
+ long result;
+ InvokeHelper(0xf61f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetPercentComplete(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0xf61f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+LPDISPATCH _TaskItem::GetRecipients()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf814, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+DATE _TaskItem::GetReminderTime()
+{
+ DATE result;
+ InvokeHelper(0x8502, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetReminderTime(DATE newValue)
+{
+ static BYTE parms[] =
+ VTS_DATE;
+ InvokeHelper(0x8502, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ newValue);
+}
+
+BOOL _TaskItem::GetReminderOverrideDefault()
+{
+ BOOL result;
+ InvokeHelper(0x851c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetReminderOverrideDefault(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x851c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+BOOL _TaskItem::GetReminderPlaySound()
+{
+ BOOL result;
+ InvokeHelper(0x851e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetReminderPlaySound(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x851e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+BOOL _TaskItem::GetReminderSet()
+{
+ BOOL result;
+ InvokeHelper(0x8503, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetReminderSet(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x8503, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+CString _TaskItem::GetReminderSoundFile()
+{
+ CString result;
+ InvokeHelper(0x851f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetReminderSoundFile(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x851f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+long _TaskItem::GetResponseState()
+{
+ long result;
+ InvokeHelper(0xf623, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+CString _TaskItem::GetRole()
+{
+ CString result;
+ InvokeHelper(0x8127, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetRole(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8127, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _TaskItem::GetSchedulePlusPriority()
+{
+ CString result;
+ InvokeHelper(0x812f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetSchedulePlusPriority(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x812f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+DATE _TaskItem::GetStartDate()
+{
+ DATE result;
+ InvokeHelper(0x8104, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetStartDate(DATE newValue)
+{
+ static BYTE parms[] =
+ VTS_DATE;
+ InvokeHelper(0x8104, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ newValue);
+}
+
+long _TaskItem::GetStatus()
+{
+ long result;
+ InvokeHelper(0x8101, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetStatus(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x8101, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+CString _TaskItem::GetStatusOnCompletionRecipients()
+{
+ CString result;
+ InvokeHelper(0xe02, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetStatusOnCompletionRecipients(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0xe02, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _TaskItem::GetStatusUpdateRecipients()
+{
+ CString result;
+ InvokeHelper(0xe03, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetStatusUpdateRecipients(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0xe03, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL _TaskItem::GetTeamTask()
+{
+ BOOL result;
+ InvokeHelper(0x8103, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetTeamTask(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x8103, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+long _TaskItem::GetTotalWork()
+{
+ long result;
+ InvokeHelper(0x8111, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::SetTotalWork(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x8111, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+LPDISPATCH _TaskItem::Assign()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf620, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::CancelResponseState()
+{
+ InvokeHelper(0xf622, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _TaskItem::ClearRecurrencePattern()
+{
+ InvokeHelper(0xf0a5, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+LPDISPATCH _TaskItem::GetRecurrencePattern()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf0a4, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void _TaskItem::MarkComplete()
+{
+ InvokeHelper(0xf60d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+LPDISPATCH _TaskItem::Respond(long Response, const VARIANT& fNoUI, const VARIANT& fAdditionalTextDialog)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_I4 VTS_VARIANT VTS_VARIANT;
+ InvokeHelper(0xf621, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ Response, &fNoUI, &fAdditionalTextDialog);
+ return result;
+}
+
+void _TaskItem::Send()
+{
+ InvokeHelper(0xf075, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+BOOL _TaskItem::SkipRecurrence()
+{
+ BOOL result;
+ InvokeHelper(0xf624, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _TaskItem::StatusReport()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf612, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _TaskItem::GetLinks()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf405, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// _AppointmentItem properties
+
+/////////////////////////////////////////////////////////////////////////////
+// _AppointmentItem operations
+
+LPDISPATCH _AppointmentItem::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long _AppointmentItem::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _AppointmentItem::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _AppointmentItem::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _AppointmentItem::GetActions()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf817, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _AppointmentItem::GetAttachments()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf815, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+CString _AppointmentItem::GetBillingInformation()
+{
+ CString result;
+ InvokeHelper(0x8535, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetBillingInformation(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8535, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _AppointmentItem::GetBody()
+{
+ CString result;
+ InvokeHelper(0x9100, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetBody(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x9100, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _AppointmentItem::GetCategories()
+{
+ CString result;
+ InvokeHelper(0x9001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetCategories(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x9001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _AppointmentItem::GetCompanies()
+{
+ CString result;
+ InvokeHelper(0x853b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetCompanies(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x853b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _AppointmentItem::GetConversationIndex()
+{
+ CString result;
+ InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _AppointmentItem::GetConversationTopic()
+{
+ CString result;
+ InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+DATE _AppointmentItem::GetCreationTime()
+{
+ DATE result;
+ InvokeHelper(0x3007, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+CString _AppointmentItem::GetEntryID()
+{
+ CString result;
+ InvokeHelper(0xf01e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _AppointmentItem::GetFormDescription()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf095, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _AppointmentItem::GetGetInspector()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf03e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long _AppointmentItem::GetImportance()
+{
+ long result;
+ InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetImportance(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+DATE _AppointmentItem::GetLastModificationTime()
+{
+ DATE result;
+ InvokeHelper(0x3008, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+CString _AppointmentItem::GetMessageClass()
+{
+ CString result;
+ InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetMessageClass(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _AppointmentItem::GetMileage()
+{
+ CString result;
+ InvokeHelper(0x8534, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetMileage(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8534, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL _AppointmentItem::GetNoAging()
+{
+ BOOL result;
+ InvokeHelper(0x850e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetNoAging(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x850e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+long _AppointmentItem::GetOutlookInternalVersion()
+{
+ long result;
+ InvokeHelper(0x8552, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+CString _AppointmentItem::GetOutlookVersion()
+{
+ CString result;
+ InvokeHelper(0x8554, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+BOOL _AppointmentItem::GetSaved()
+{
+ BOOL result;
+ InvokeHelper(0xf0a3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+long _AppointmentItem::GetSensitivity()
+{
+ long result;
+ InvokeHelper(0x36, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetSensitivity(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x36, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+long _AppointmentItem::GetSize()
+{
+ long result;
+ InvokeHelper(0xe08, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+CString _AppointmentItem::GetSubject()
+{
+ CString result;
+ InvokeHelper(0x37, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetSubject(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x37, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL _AppointmentItem::GetUnRead()
+{
+ BOOL result;
+ InvokeHelper(0xf01c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetUnRead(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0xf01c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+LPDISPATCH _AppointmentItem::GetUserProperties()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf816, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::Close(long SaveMode)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0xf023, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ SaveMode);
+}
+
+LPDISPATCH _AppointmentItem::Copy()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf032, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::Delete()
+{
+ InvokeHelper(0xf04a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _AppointmentItem::Display(const VARIANT& Modal)
+{
+ static BYTE parms[] =
+ VTS_VARIANT;
+ InvokeHelper(0xf0a6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ &Modal);
+}
+
+LPDISPATCH _AppointmentItem::Move(LPDISPATCH DestFldr)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_DISPATCH;
+ InvokeHelper(0xf034, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ DestFldr);
+ return result;
+}
+
+void _AppointmentItem::PrintOut()
+{
+ InvokeHelper(0xf033, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _AppointmentItem::Save()
+{
+ InvokeHelper(0xf048, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _AppointmentItem::SaveAs(LPCTSTR Path, const VARIANT& Type)
+{
+ static BYTE parms[] =
+ VTS_BSTR VTS_VARIANT;
+ InvokeHelper(0xf051, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ Path, &Type);
+}
+
+BOOL _AppointmentItem::GetAllDayEvent()
+{
+ BOOL result;
+ InvokeHelper(0x8215, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetAllDayEvent(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x8215, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+long _AppointmentItem::GetBusyStatus()
+{
+ long result;
+ InvokeHelper(0x8205, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetBusyStatus(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x8205, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+long _AppointmentItem::GetDuration()
+{
+ long result;
+ InvokeHelper(0x8213, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetDuration(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x8213, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+DATE _AppointmentItem::GetEnd()
+{
+ DATE result;
+ InvokeHelper(0x820e, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetEnd(DATE newValue)
+{
+ static BYTE parms[] =
+ VTS_DATE;
+ InvokeHelper(0x820e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ newValue);
+}
+
+BOOL _AppointmentItem::GetIsOnlineMeeting()
+{
+ BOOL result;
+ InvokeHelper(0x8240, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetIsOnlineMeeting(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x8240, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+BOOL _AppointmentItem::GetIsRecurring()
+{
+ BOOL result;
+ InvokeHelper(0x8223, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+CString _AppointmentItem::GetLocation()
+{
+ CString result;
+ InvokeHelper(0x8208, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetLocation(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8208, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+long _AppointmentItem::GetMeetingStatus()
+{
+ long result;
+ InvokeHelper(0x8217, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetMeetingStatus(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x8217, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+BOOL _AppointmentItem::GetNetMeetingAutoStart()
+{
+ BOOL result;
+ InvokeHelper(0x8244, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetNetMeetingAutoStart(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x8244, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+CString _AppointmentItem::GetNetMeetingOrganizerAlias()
+{
+ CString result;
+ InvokeHelper(0x8243, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetNetMeetingOrganizerAlias(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8243, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _AppointmentItem::GetNetMeetingServer()
+{
+ CString result;
+ InvokeHelper(0x8242, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetNetMeetingServer(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8242, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+long _AppointmentItem::GetNetMeetingType()
+{
+ long result;
+ InvokeHelper(0x8241, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetNetMeetingType(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x8241, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+CString _AppointmentItem::GetOptionalAttendees()
+{
+ CString result;
+ InvokeHelper(0xe03, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetOptionalAttendees(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0xe03, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _AppointmentItem::GetOrganizer()
+{
+ CString result;
+ InvokeHelper(0x42, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _AppointmentItem::GetRecipients()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf814, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long _AppointmentItem::GetRecurrenceState()
+{
+ long result;
+ InvokeHelper(0xf545, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+long _AppointmentItem::GetReminderMinutesBeforeStart()
+{
+ long result;
+ InvokeHelper(0x8501, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetReminderMinutesBeforeStart(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x8501, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+BOOL _AppointmentItem::GetReminderOverrideDefault()
+{
+ BOOL result;
+ InvokeHelper(0x851c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetReminderOverrideDefault(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x851c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+BOOL _AppointmentItem::GetReminderPlaySound()
+{
+ BOOL result;
+ InvokeHelper(0x851e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetReminderPlaySound(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x851e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+BOOL _AppointmentItem::GetReminderSet()
+{
+ BOOL result;
+ InvokeHelper(0x8503, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetReminderSet(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x8503, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+CString _AppointmentItem::GetReminderSoundFile()
+{
+ CString result;
+ InvokeHelper(0x851f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetReminderSoundFile(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x851f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+DATE _AppointmentItem::GetReplyTime()
+{
+ DATE result;
+ InvokeHelper(0x8220, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetReplyTime(DATE newValue)
+{
+ static BYTE parms[] =
+ VTS_DATE;
+ InvokeHelper(0x8220, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ newValue);
+}
+
+CString _AppointmentItem::GetRequiredAttendees()
+{
+ CString result;
+ InvokeHelper(0xe04, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetRequiredAttendees(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0xe04, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _AppointmentItem::GetResources()
+{
+ CString result;
+ InvokeHelper(0xe02, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetResources(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0xe02, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL _AppointmentItem::GetResponseRequested()
+{
+ BOOL result;
+ InvokeHelper(0x63, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetResponseRequested(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x63, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+long _AppointmentItem::GetResponseStatus()
+{
+ long result;
+ InvokeHelper(0x8218, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+DATE _AppointmentItem::GetStart()
+{
+ DATE result;
+ InvokeHelper(0x820d, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetStart(DATE newValue)
+{
+ static BYTE parms[] =
+ VTS_DATE;
+ InvokeHelper(0x820d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ newValue);
+}
+
+void _AppointmentItem::ClearRecurrencePattern()
+{
+ InvokeHelper(0xf0a5, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+LPDISPATCH _AppointmentItem::ForwardAsVcal()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf547, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _AppointmentItem::GetRecurrencePattern()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf0a4, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _AppointmentItem::Respond(long Response, const VARIANT& fNoUI, const VARIANT& fAdditionalTextDialog)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_I4 VTS_VARIANT VTS_VARIANT;
+ InvokeHelper(0xf502, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ Response, &fNoUI, &fAdditionalTextDialog);
+ return result;
+}
+
+void _AppointmentItem::Send()
+{
+ InvokeHelper(0xf075, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+CString _AppointmentItem::GetNetMeetingDocPathName()
+{
+ CString result;
+ InvokeHelper(0x8247, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetNetMeetingDocPathName(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8247, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _AppointmentItem::GetNetShowURL()
+{
+ CString result;
+ InvokeHelper(0x8248, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetNetShowURL(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8248, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+LPDISPATCH _AppointmentItem::GetLinks()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf405, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+BOOL _AppointmentItem::GetConferenceServerAllowExternal()
+{
+ BOOL result;
+ InvokeHelper(0x8246, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetConferenceServerAllowExternal(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x8246, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+CString _AppointmentItem::GetConferenceServerPassword()
+{
+ CString result;
+ InvokeHelper(0x8249, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _AppointmentItem::SetConferenceServerPassword(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8249, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// _MailItem properties
+
+/////////////////////////////////////////////////////////////////////////////
+// _MailItem operations
+
+LPDISPATCH _MailItem::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long _MailItem::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _MailItem::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _MailItem::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _MailItem::GetActions()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf817, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _MailItem::GetAttachments()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf815, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+CString _MailItem::GetBillingInformation()
+{
+ CString result;
+ InvokeHelper(0x8535, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetBillingInformation(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8535, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _MailItem::GetBody()
+{
+ CString result;
+ InvokeHelper(0x9100, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetBody(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x9100, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _MailItem::GetCategories()
+{
+ CString result;
+ InvokeHelper(0x9001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetCategories(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x9001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _MailItem::GetCompanies()
+{
+ CString result;
+ InvokeHelper(0x853b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetCompanies(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x853b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _MailItem::GetConversationIndex()
+{
+ CString result;
+ InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _MailItem::GetConversationTopic()
+{
+ CString result;
+ InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+DATE _MailItem::GetCreationTime()
+{
+ DATE result;
+ InvokeHelper(0x3007, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+CString _MailItem::GetEntryID()
+{
+ CString result;
+ InvokeHelper(0xf01e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _MailItem::GetFormDescription()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf095, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _MailItem::GetGetInspector()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf03e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long _MailItem::GetImportance()
+{
+ long result;
+ InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetImportance(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+DATE _MailItem::GetLastModificationTime()
+{
+ DATE result;
+ InvokeHelper(0x3008, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+CString _MailItem::GetMessageClass()
+{
+ CString result;
+ InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetMessageClass(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _MailItem::GetMileage()
+{
+ CString result;
+ InvokeHelper(0x8534, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetMileage(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8534, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL _MailItem::GetNoAging()
+{
+ BOOL result;
+ InvokeHelper(0x850e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetNoAging(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x850e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+long _MailItem::GetOutlookInternalVersion()
+{
+ long result;
+ InvokeHelper(0x8552, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+CString _MailItem::GetOutlookVersion()
+{
+ CString result;
+ InvokeHelper(0x8554, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+BOOL _MailItem::GetSaved()
+{
+ BOOL result;
+ InvokeHelper(0xf0a3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+long _MailItem::GetSensitivity()
+{
+ long result;
+ InvokeHelper(0x36, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetSensitivity(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x36, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+long _MailItem::GetSize()
+{
+ long result;
+ InvokeHelper(0xe08, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+CString _MailItem::GetSubject()
+{
+ CString result;
+ InvokeHelper(0x37, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetSubject(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x37, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL _MailItem::GetUnRead()
+{
+ BOOL result;
+ InvokeHelper(0xf01c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetUnRead(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0xf01c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+LPDISPATCH _MailItem::GetUserProperties()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf816, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::Close(long SaveMode)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0xf023, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ SaveMode);
+}
+
+LPDISPATCH _MailItem::Copy()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf032, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::Delete()
+{
+ InvokeHelper(0xf04a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _MailItem::Display(const VARIANT& Modal)
+{
+ static BYTE parms[] =
+ VTS_VARIANT;
+ InvokeHelper(0xf0a6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ &Modal);
+}
+
+LPDISPATCH _MailItem::Move(LPDISPATCH DestFldr)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_DISPATCH;
+ InvokeHelper(0xf034, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ DestFldr);
+ return result;
+}
+
+void _MailItem::PrintOut()
+{
+ InvokeHelper(0xf033, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _MailItem::Save()
+{
+ InvokeHelper(0xf048, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _MailItem::SaveAs(LPCTSTR Path, const VARIANT& Type)
+{
+ static BYTE parms[] =
+ VTS_BSTR VTS_VARIANT;
+ InvokeHelper(0xf051, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ Path, &Type);
+}
+
+BOOL _MailItem::GetAlternateRecipientAllowed()
+{
+ BOOL result;
+ InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetAlternateRecipientAllowed(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+BOOL _MailItem::GetAutoForwarded()
+{
+ BOOL result;
+ InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetAutoForwarded(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+CString _MailItem::GetBcc()
+{
+ CString result;
+ InvokeHelper(0xe02, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetBcc(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0xe02, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _MailItem::GetCc()
+{
+ CString result;
+ InvokeHelper(0xe03, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetCc(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0xe03, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+DATE _MailItem::GetDeferredDeliveryTime()
+{
+ DATE result;
+ InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetDeferredDeliveryTime(DATE newValue)
+{
+ static BYTE parms[] =
+ VTS_DATE;
+ InvokeHelper(0xf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ newValue);
+}
+
+BOOL _MailItem::GetDeleteAfterSubmit()
+{
+ BOOL result;
+ InvokeHelper(0xe01, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetDeleteAfterSubmit(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0xe01, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+DATE _MailItem::GetExpiryTime()
+{
+ DATE result;
+ InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetExpiryTime(DATE newValue)
+{
+ static BYTE parms[] =
+ VTS_DATE;
+ InvokeHelper(0x15, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ newValue);
+}
+
+DATE _MailItem::GetFlagDueBy()
+{
+ DATE result;
+ InvokeHelper(0x30, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetFlagDueBy(DATE newValue)
+{
+ static BYTE parms[] =
+ VTS_DATE;
+ InvokeHelper(0x30, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ newValue);
+}
+
+CString _MailItem::GetFlagRequest()
+{
+ CString result;
+ InvokeHelper(0x8530, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetFlagRequest(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8530, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+long _MailItem::GetFlagStatus()
+{
+ long result;
+ InvokeHelper(0x1090, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetFlagStatus(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x1090, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+CString _MailItem::GetHTMLBody()
+{
+ CString result;
+ InvokeHelper(0xf404, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetHTMLBody(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0xf404, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL _MailItem::GetOriginatorDeliveryReportRequested()
+{
+ BOOL result;
+ InvokeHelper(0x23, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetOriginatorDeliveryReportRequested(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x23, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+BOOL _MailItem::GetReadReceiptRequested()
+{
+ BOOL result;
+ InvokeHelper(0x29, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetReadReceiptRequested(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x29, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+CString _MailItem::GetReceivedByEntryID()
+{
+ CString result;
+ InvokeHelper(0x3f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _MailItem::GetReceivedByName()
+{
+ CString result;
+ InvokeHelper(0x40, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _MailItem::GetReceivedOnBehalfOfEntryID()
+{
+ CString result;
+ InvokeHelper(0x43, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _MailItem::GetReceivedOnBehalfOfName()
+{
+ CString result;
+ InvokeHelper(0x44, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+DATE _MailItem::GetReceivedTime()
+{
+ DATE result;
+ InvokeHelper(0xe06, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+BOOL _MailItem::GetRecipientReassignmentProhibited()
+{
+ BOOL result;
+ InvokeHelper(0x2b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetRecipientReassignmentProhibited(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x2b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+LPDISPATCH _MailItem::GetRecipients()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf814, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+BOOL _MailItem::GetReminderOverrideDefault()
+{
+ BOOL result;
+ InvokeHelper(0x851c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetReminderOverrideDefault(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x851c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+BOOL _MailItem::GetReminderPlaySound()
+{
+ BOOL result;
+ InvokeHelper(0x851e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetReminderPlaySound(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x851e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+BOOL _MailItem::GetReminderSet()
+{
+ BOOL result;
+ InvokeHelper(0x8503, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetReminderSet(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x8503, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+CString _MailItem::GetReminderSoundFile()
+{
+ CString result;
+ InvokeHelper(0x851f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetReminderSoundFile(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x851f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+DATE _MailItem::GetReminderTime()
+{
+ DATE result;
+ InvokeHelper(0x8502, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetReminderTime(DATE newValue)
+{
+ static BYTE parms[] =
+ VTS_DATE;
+ InvokeHelper(0x8502, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ newValue);
+}
+
+long _MailItem::GetRemoteStatus()
+{
+ long result;
+ InvokeHelper(0x8511, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetRemoteStatus(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x8511, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+CString _MailItem::GetReplyRecipientNames()
+{
+ CString result;
+ InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _MailItem::GetReplyRecipients()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf013, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _MailItem::GetSaveSentMessageFolder()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf401, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetRefSaveSentMessageFolder(LPDISPATCH newValue)
+{
+ static BYTE parms[] =
+ VTS_DISPATCH;
+ InvokeHelper(0xf401, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
+ newValue);
+}
+
+CString _MailItem::GetSenderName()
+{
+ CString result;
+ InvokeHelper(0xc1a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+BOOL _MailItem::GetSent()
+{
+ BOOL result;
+ InvokeHelper(0xf402, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+DATE _MailItem::GetSentOn()
+{
+ DATE result;
+ InvokeHelper(0x39, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+CString _MailItem::GetSentOnBehalfOfName()
+{
+ CString result;
+ InvokeHelper(0x42, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetSentOnBehalfOfName(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x42, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL _MailItem::GetSubmitted()
+{
+ BOOL result;
+ InvokeHelper(0xf403, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+CString _MailItem::GetTo()
+{
+ CString result;
+ InvokeHelper(0xe04, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetTo(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0xe04, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _MailItem::GetVotingOptions()
+{
+ CString result;
+ InvokeHelper(0xf01b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetVotingOptions(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0xf01b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _MailItem::GetVotingResponse()
+{
+ CString result;
+ InvokeHelper(0x8524, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::SetVotingResponse(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8524, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+void _MailItem::ClearConversationIndex()
+{
+ InvokeHelper(0xf822, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+LPDISPATCH _MailItem::Forward()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf813, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _MailItem::Reply()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf810, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _MailItem::ReplyAll()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf811, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void _MailItem::Send()
+{
+ InvokeHelper(0xf075, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+LPDISPATCH _MailItem::GetLinks()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf405, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// _ContactItem properties
+
+/////////////////////////////////////////////////////////////////////////////
+// _ContactItem operations
+
+LPDISPATCH _ContactItem::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long _ContactItem::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _ContactItem::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _ContactItem::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _ContactItem::GetActions()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf817, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _ContactItem::GetAttachments()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf815, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+CString _ContactItem::GetBillingInformation()
+{
+ CString result;
+ InvokeHelper(0x8535, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetBillingInformation(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8535, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetBody()
+{
+ CString result;
+ InvokeHelper(0x9100, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetBody(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x9100, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetCategories()
+{
+ CString result;
+ InvokeHelper(0x9001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetCategories(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x9001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetCompanies()
+{
+ CString result;
+ InvokeHelper(0x853b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetCompanies(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x853b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetConversationIndex()
+{
+ CString result;
+ InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _ContactItem::GetConversationTopic()
+{
+ CString result;
+ InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+DATE _ContactItem::GetCreationTime()
+{
+ DATE result;
+ InvokeHelper(0x3007, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+CString _ContactItem::GetEntryID()
+{
+ CString result;
+ InvokeHelper(0xf01e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _ContactItem::GetFormDescription()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf095, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _ContactItem::GetGetInspector()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf03e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long _ContactItem::GetImportance()
+{
+ long result;
+ InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetImportance(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+DATE _ContactItem::GetLastModificationTime()
+{
+ DATE result;
+ InvokeHelper(0x3008, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+CString _ContactItem::GetMessageClass()
+{
+ CString result;
+ InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetMessageClass(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetMileage()
+{
+ CString result;
+ InvokeHelper(0x8534, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetMileage(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8534, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL _ContactItem::GetNoAging()
+{
+ BOOL result;
+ InvokeHelper(0x850e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetNoAging(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x850e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+long _ContactItem::GetOutlookInternalVersion()
+{
+ long result;
+ InvokeHelper(0x8552, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+CString _ContactItem::GetOutlookVersion()
+{
+ CString result;
+ InvokeHelper(0x8554, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+BOOL _ContactItem::GetSaved()
+{
+ BOOL result;
+ InvokeHelper(0xf0a3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+long _ContactItem::GetSensitivity()
+{
+ long result;
+ InvokeHelper(0x36, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetSensitivity(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x36, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+long _ContactItem::GetSize()
+{
+ long result;
+ InvokeHelper(0xe08, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+CString _ContactItem::GetSubject()
+{
+ CString result;
+ InvokeHelper(0x37, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetSubject(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x37, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL _ContactItem::GetUnRead()
+{
+ BOOL result;
+ InvokeHelper(0xf01c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetUnRead(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0xf01c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+LPDISPATCH _ContactItem::GetUserProperties()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf816, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::Close(long SaveMode)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0xf023, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ SaveMode);
+}
+
+LPDISPATCH _ContactItem::Copy()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf032, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::Delete()
+{
+ InvokeHelper(0xf04a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _ContactItem::Display(const VARIANT& Modal)
+{
+ static BYTE parms[] =
+ VTS_VARIANT;
+ InvokeHelper(0xf0a6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ &Modal);
+}
+
+LPDISPATCH _ContactItem::Move(LPDISPATCH DestFldr)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_DISPATCH;
+ InvokeHelper(0xf034, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ DestFldr);
+ return result;
+}
+
+void _ContactItem::PrintOut()
+{
+ InvokeHelper(0xf033, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _ContactItem::Save()
+{
+ InvokeHelper(0xf048, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _ContactItem::SaveAs(LPCTSTR Path, const VARIANT& Type)
+{
+ static BYTE parms[] =
+ VTS_BSTR VTS_VARIANT;
+ InvokeHelper(0xf051, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ Path, &Type);
+}
+
+CString _ContactItem::GetAccount()
+{
+ CString result;
+ InvokeHelper(0x3a00, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetAccount(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a00, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+DATE _ContactItem::GetAnniversary()
+{
+ DATE result;
+ InvokeHelper(0x3a41, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetAnniversary(DATE newValue)
+{
+ static BYTE parms[] =
+ VTS_DATE;
+ InvokeHelper(0x3a41, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ newValue);
+}
+
+CString _ContactItem::GetAssistantName()
+{
+ CString result;
+ InvokeHelper(0x3a30, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetAssistantName(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a30, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetAssistantTelephoneNumber()
+{
+ CString result;
+ InvokeHelper(0x3a2e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetAssistantTelephoneNumber(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a2e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+DATE _ContactItem::GetBirthday()
+{
+ DATE result;
+ InvokeHelper(0x3a42, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetBirthday(DATE newValue)
+{
+ static BYTE parms[] =
+ VTS_DATE;
+ InvokeHelper(0x3a42, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ newValue);
+}
+
+CString _ContactItem::GetBusiness2TelephoneNumber()
+{
+ CString result;
+ InvokeHelper(0x3a1b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetBusiness2TelephoneNumber(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a1b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetBusinessAddress()
+{
+ CString result;
+ InvokeHelper(0x801b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetBusinessAddress(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x801b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetBusinessAddressCity()
+{
+ CString result;
+ InvokeHelper(0x8046, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetBusinessAddressCity(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8046, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetBusinessAddressCountry()
+{
+ CString result;
+ InvokeHelper(0x8049, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetBusinessAddressCountry(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8049, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetBusinessAddressPostalCode()
+{
+ CString result;
+ InvokeHelper(0x8048, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetBusinessAddressPostalCode(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8048, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetBusinessAddressPostOfficeBox()
+{
+ CString result;
+ InvokeHelper(0x804a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetBusinessAddressPostOfficeBox(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x804a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetBusinessAddressState()
+{
+ CString result;
+ InvokeHelper(0x8047, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetBusinessAddressState(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8047, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetBusinessAddressStreet()
+{
+ CString result;
+ InvokeHelper(0x8045, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetBusinessAddressStreet(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8045, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetBusinessFaxNumber()
+{
+ CString result;
+ InvokeHelper(0x3a24, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetBusinessFaxNumber(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a24, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetBusinessHomePage()
+{
+ CString result;
+ InvokeHelper(0x3a51, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetBusinessHomePage(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a51, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetBusinessTelephoneNumber()
+{
+ CString result;
+ InvokeHelper(0x3a08, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetBusinessTelephoneNumber(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a08, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetCallbackTelephoneNumber()
+{
+ CString result;
+ InvokeHelper(0x3a02, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetCallbackTelephoneNumber(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a02, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetCarTelephoneNumber()
+{
+ CString result;
+ InvokeHelper(0x3a1e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetCarTelephoneNumber(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a1e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetChildren()
+{
+ CString result;
+ InvokeHelper(0x800c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetChildren(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x800c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetCompanyAndFullName()
+{
+ CString result;
+ InvokeHelper(0x8018, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _ContactItem::GetCompanyLastFirstNoSpace()
+{
+ CString result;
+ InvokeHelper(0x8032, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _ContactItem::GetCompanyLastFirstSpaceOnly()
+{
+ CString result;
+ InvokeHelper(0x8033, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _ContactItem::GetCompanyMainTelephoneNumber()
+{
+ CString result;
+ InvokeHelper(0x3a57, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetCompanyMainTelephoneNumber(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a57, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetCompanyName()
+{
+ CString result;
+ InvokeHelper(0x3a16, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetCompanyName(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a16, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetComputerNetworkName()
+{
+ CString result;
+ InvokeHelper(0x3a49, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetComputerNetworkName(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a49, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetCustomerID()
+{
+ CString result;
+ InvokeHelper(0x3a4a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetCustomerID(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a4a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetDepartment()
+{
+ CString result;
+ InvokeHelper(0x3a18, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetDepartment(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a18, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetEmail1Address()
+{
+ CString result;
+ InvokeHelper(0x8083, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetEmail1Address(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8083, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetEmail1AddressType()
+{
+ CString result;
+ InvokeHelper(0x8082, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetEmail1AddressType(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8082, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetEmail1DisplayName()
+{
+ CString result;
+ InvokeHelper(0x8080, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _ContactItem::GetEmail1EntryID()
+{
+ CString result;
+ InvokeHelper(0x8085, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _ContactItem::GetEmail2Address()
+{
+ CString result;
+ InvokeHelper(0x8093, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetEmail2Address(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8093, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetEmail2AddressType()
+{
+ CString result;
+ InvokeHelper(0x8092, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetEmail2AddressType(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8092, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetEmail2DisplayName()
+{
+ CString result;
+ InvokeHelper(0x8090, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _ContactItem::GetEmail2EntryID()
+{
+ CString result;
+ InvokeHelper(0x8095, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _ContactItem::GetEmail3Address()
+{
+ CString result;
+ InvokeHelper(0x80a3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetEmail3Address(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x80a3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetEmail3AddressType()
+{
+ CString result;
+ InvokeHelper(0x80a2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetEmail3AddressType(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x80a2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetEmail3DisplayName()
+{
+ CString result;
+ InvokeHelper(0x80a0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _ContactItem::GetEmail3EntryID()
+{
+ CString result;
+ InvokeHelper(0x80a5, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _ContactItem::GetFileAs()
+{
+ CString result;
+ InvokeHelper(0x8005, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetFileAs(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8005, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetFirstName()
+{
+ CString result;
+ InvokeHelper(0x3a06, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetFirstName(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a06, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetFTPSite()
+{
+ CString result;
+ InvokeHelper(0x3a4c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetFTPSite(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a4c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetFullName()
+{
+ CString result;
+ InvokeHelper(0x3001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetFullName(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetFullNameAndCompany()
+{
+ CString result;
+ InvokeHelper(0x8019, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+long _ContactItem::GetGender()
+{
+ long result;
+ InvokeHelper(0x3a4d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetGender(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x3a4d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+CString _ContactItem::GetGovernmentIDNumber()
+{
+ CString result;
+ InvokeHelper(0x3a07, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetGovernmentIDNumber(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a07, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetHobby()
+{
+ CString result;
+ InvokeHelper(0x3a43, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetHobby(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a43, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetHome2TelephoneNumber()
+{
+ CString result;
+ InvokeHelper(0x3a2f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetHome2TelephoneNumber(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a2f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetHomeAddress()
+{
+ CString result;
+ InvokeHelper(0x801a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetHomeAddress(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x801a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetHomeAddressCity()
+{
+ CString result;
+ InvokeHelper(0x3a59, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetHomeAddressCity(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a59, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetHomeAddressCountry()
+{
+ CString result;
+ InvokeHelper(0x3a5a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetHomeAddressCountry(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a5a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetHomeAddressPostalCode()
+{
+ CString result;
+ InvokeHelper(0x3a5b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetHomeAddressPostalCode(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a5b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetHomeAddressPostOfficeBox()
+{
+ CString result;
+ InvokeHelper(0x3a5e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetHomeAddressPostOfficeBox(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a5e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetHomeAddressState()
+{
+ CString result;
+ InvokeHelper(0x3a5c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetHomeAddressState(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a5c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetHomeAddressStreet()
+{
+ CString result;
+ InvokeHelper(0x3a5d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetHomeAddressStreet(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a5d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetHomeFaxNumber()
+{
+ CString result;
+ InvokeHelper(0x3a25, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetHomeFaxNumber(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a25, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetHomeTelephoneNumber()
+{
+ CString result;
+ InvokeHelper(0x3a09, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetHomeTelephoneNumber(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a09, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetInitials()
+{
+ CString result;
+ InvokeHelper(0x3a0a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetInitials(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a0a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetInternetFreeBusyAddress()
+{
+ CString result;
+ InvokeHelper(0x80d8, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetInternetFreeBusyAddress(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x80d8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetISDNNumber()
+{
+ CString result;
+ InvokeHelper(0x3a2d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetISDNNumber(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a2d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetJobTitle()
+{
+ CString result;
+ InvokeHelper(0x3a17, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetJobTitle(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL _ContactItem::GetJournal()
+{
+ BOOL result;
+ InvokeHelper(0x8025, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetJournal(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x8025, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+CString _ContactItem::GetLanguage()
+{
+ CString result;
+ InvokeHelper(0x3a0c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetLanguage(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a0c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetLastFirstAndSuffix()
+{
+ CString result;
+ InvokeHelper(0x8036, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _ContactItem::GetLastFirstNoSpace()
+{
+ CString result;
+ InvokeHelper(0x8030, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _ContactItem::GetLastFirstNoSpaceCompany()
+{
+ CString result;
+ InvokeHelper(0x8034, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _ContactItem::GetLastFirstSpaceOnly()
+{
+ CString result;
+ InvokeHelper(0x8031, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _ContactItem::GetLastFirstSpaceOnlyCompany()
+{
+ CString result;
+ InvokeHelper(0x8035, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _ContactItem::GetLastName()
+{
+ CString result;
+ InvokeHelper(0x3a11, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetLastName(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a11, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetLastNameAndFirstName()
+{
+ CString result;
+ InvokeHelper(0x8017, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _ContactItem::GetMailingAddress()
+{
+ CString result;
+ InvokeHelper(0x3a15, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetMailingAddress(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a15, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetMailingAddressCity()
+{
+ CString result;
+ InvokeHelper(0x3a27, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetMailingAddressCity(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a27, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetMailingAddressCountry()
+{
+ CString result;
+ InvokeHelper(0x3a26, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetMailingAddressCountry(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a26, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetMailingAddressPostalCode()
+{
+ CString result;
+ InvokeHelper(0x3a2a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetMailingAddressPostalCode(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a2a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetMailingAddressPostOfficeBox()
+{
+ CString result;
+ InvokeHelper(0x3a2b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetMailingAddressPostOfficeBox(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a2b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetMailingAddressState()
+{
+ CString result;
+ InvokeHelper(0x3a28, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetMailingAddressState(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a28, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetMailingAddressStreet()
+{
+ CString result;
+ InvokeHelper(0x3a29, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetMailingAddressStreet(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a29, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetManagerName()
+{
+ CString result;
+ InvokeHelper(0x3a4e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetManagerName(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a4e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetMiddleName()
+{
+ CString result;
+ InvokeHelper(0x3a44, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetMiddleName(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a44, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetMobileTelephoneNumber()
+{
+ CString result;
+ InvokeHelper(0x3a1c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetMobileTelephoneNumber(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a1c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetNetMeetingAlias()
+{
+ CString result;
+ InvokeHelper(0x805f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetNetMeetingAlias(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x805f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetNetMeetingServer()
+{
+ CString result;
+ InvokeHelper(0x8060, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetNetMeetingServer(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8060, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetNickName()
+{
+ CString result;
+ InvokeHelper(0x3a4f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetNickName(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a4f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetOfficeLocation()
+{
+ CString result;
+ InvokeHelper(0x3a19, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetOfficeLocation(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a19, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetOrganizationalIDNumber()
+{
+ CString result;
+ InvokeHelper(0x3a10, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetOrganizationalIDNumber(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a10, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetOtherAddress()
+{
+ CString result;
+ InvokeHelper(0x801c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetOtherAddress(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x801c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetOtherAddressCity()
+{
+ CString result;
+ InvokeHelper(0x3a5f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetOtherAddressCity(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a5f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetOtherAddressCountry()
+{
+ CString result;
+ InvokeHelper(0x3a60, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetOtherAddressCountry(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a60, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetOtherAddressPostalCode()
+{
+ CString result;
+ InvokeHelper(0x3a61, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetOtherAddressPostalCode(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a61, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetOtherAddressPostOfficeBox()
+{
+ CString result;
+ InvokeHelper(0x3a64, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetOtherAddressPostOfficeBox(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetOtherAddressState()
+{
+ CString result;
+ InvokeHelper(0x3a62, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetOtherAddressState(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a62, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetOtherAddressStreet()
+{
+ CString result;
+ InvokeHelper(0x3a63, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetOtherAddressStreet(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a63, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetOtherFaxNumber()
+{
+ CString result;
+ InvokeHelper(0x3a23, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetOtherFaxNumber(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a23, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetOtherTelephoneNumber()
+{
+ CString result;
+ InvokeHelper(0x3a1f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetOtherTelephoneNumber(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a1f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetPagerNumber()
+{
+ CString result;
+ InvokeHelper(0x3a21, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetPagerNumber(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a21, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetPersonalHomePage()
+{
+ CString result;
+ InvokeHelper(0x3a50, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetPersonalHomePage(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a50, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetPrimaryTelephoneNumber()
+{
+ CString result;
+ InvokeHelper(0x3a1a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetPrimaryTelephoneNumber(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetProfession()
+{
+ CString result;
+ InvokeHelper(0x3a46, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetProfession(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a46, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetRadioTelephoneNumber()
+{
+ CString result;
+ InvokeHelper(0x3a1d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetRadioTelephoneNumber(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a1d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetReferredBy()
+{
+ CString result;
+ InvokeHelper(0x3a47, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetReferredBy(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a47, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+long _ContactItem::GetSelectedMailingAddress()
+{
+ long result;
+ InvokeHelper(0x8022, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetSelectedMailingAddress(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x8022, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+CString _ContactItem::GetSpouse()
+{
+ CString result;
+ InvokeHelper(0x3a48, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetSpouse(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a48, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetSuffix()
+{
+ CString result;
+ InvokeHelper(0x3a05, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetSuffix(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a05, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetTelexNumber()
+{
+ CString result;
+ InvokeHelper(0x3a2c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetTelexNumber(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a2c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetTitle()
+{
+ CString result;
+ InvokeHelper(0x3a45, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetTitle(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a45, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetTTYTDDTelephoneNumber()
+{
+ CString result;
+ InvokeHelper(0x3a4b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetTTYTDDTelephoneNumber(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3a4b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetUser1()
+{
+ CString result;
+ InvokeHelper(0x804f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetUser1(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x804f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetUser2()
+{
+ CString result;
+ InvokeHelper(0x8050, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetUser2(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8050, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetUser3()
+{
+ CString result;
+ InvokeHelper(0x8051, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetUser3(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8051, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetUser4()
+{
+ CString result;
+ InvokeHelper(0x8052, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetUser4(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8052, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetUserCertificate()
+{
+ CString result;
+ InvokeHelper(0x8016, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetUserCertificate(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8016, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetWebPage()
+{
+ CString result;
+ InvokeHelper(0x802b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetWebPage(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x802b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetYomiCompanyName()
+{
+ CString result;
+ InvokeHelper(0x802e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetYomiCompanyName(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x802e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetYomiFirstName()
+{
+ CString result;
+ InvokeHelper(0x802c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetYomiFirstName(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x802c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _ContactItem::GetYomiLastName()
+{
+ CString result;
+ InvokeHelper(0x802d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _ContactItem::SetYomiLastName(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x802d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+LPDISPATCH _ContactItem::ForwardAsVcard()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf8a1, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _ContactItem::GetLinks()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf405, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// _DistListItem properties
+
+/////////////////////////////////////////////////////////////////////////////
+// _DistListItem operations
+
+LPDISPATCH _DistListItem::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long _DistListItem::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _DistListItem::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _DistListItem::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _DistListItem::GetActions()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf817, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _DistListItem::GetAttachments()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf815, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+CString _DistListItem::GetBillingInformation()
+{
+ CString result;
+ InvokeHelper(0x8535, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _DistListItem::SetBillingInformation(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8535, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _DistListItem::GetBody()
+{
+ CString result;
+ InvokeHelper(0x9100, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _DistListItem::SetBody(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x9100, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _DistListItem::GetCategories()
+{
+ CString result;
+ InvokeHelper(0x9001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _DistListItem::SetCategories(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x9001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _DistListItem::GetCompanies()
+{
+ CString result;
+ InvokeHelper(0x853b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _DistListItem::SetCompanies(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x853b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _DistListItem::GetConversationIndex()
+{
+ CString result;
+ InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _DistListItem::GetConversationTopic()
+{
+ CString result;
+ InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+DATE _DistListItem::GetCreationTime()
+{
+ DATE result;
+ InvokeHelper(0x3007, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+CString _DistListItem::GetEntryID()
+{
+ CString result;
+ InvokeHelper(0xf01e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _DistListItem::GetFormDescription()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf095, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _DistListItem::GetGetInspector()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf03e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long _DistListItem::GetImportance()
+{
+ long result;
+ InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _DistListItem::SetImportance(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+DATE _DistListItem::GetLastModificationTime()
+{
+ DATE result;
+ InvokeHelper(0x3008, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+CString _DistListItem::GetMessageClass()
+{
+ CString result;
+ InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _DistListItem::SetMessageClass(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _DistListItem::GetMileage()
+{
+ CString result;
+ InvokeHelper(0x8534, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _DistListItem::SetMileage(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8534, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL _DistListItem::GetNoAging()
+{
+ BOOL result;
+ InvokeHelper(0x850e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _DistListItem::SetNoAging(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x850e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+long _DistListItem::GetOutlookInternalVersion()
+{
+ long result;
+ InvokeHelper(0x8552, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+CString _DistListItem::GetOutlookVersion()
+{
+ CString result;
+ InvokeHelper(0x8554, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+BOOL _DistListItem::GetSaved()
+{
+ BOOL result;
+ InvokeHelper(0xf0a3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+long _DistListItem::GetSensitivity()
+{
+ long result;
+ InvokeHelper(0x36, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _DistListItem::SetSensitivity(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x36, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+long _DistListItem::GetSize()
+{
+ long result;
+ InvokeHelper(0xe08, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+CString _DistListItem::GetSubject()
+{
+ CString result;
+ InvokeHelper(0x37, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _DistListItem::SetSubject(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x37, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL _DistListItem::GetUnRead()
+{
+ BOOL result;
+ InvokeHelper(0xf01c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _DistListItem::SetUnRead(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0xf01c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+LPDISPATCH _DistListItem::GetUserProperties()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf816, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void _DistListItem::Close(long SaveMode)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0xf023, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ SaveMode);
+}
+
+LPDISPATCH _DistListItem::Copy()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf032, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void _DistListItem::Delete()
+{
+ InvokeHelper(0xf04a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _DistListItem::Display(const VARIANT& Modal)
+{
+ static BYTE parms[] =
+ VTS_VARIANT;
+ InvokeHelper(0xf0a6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ &Modal);
+}
+
+LPDISPATCH _DistListItem::Move(LPDISPATCH DestFldr)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_DISPATCH;
+ InvokeHelper(0xf034, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ DestFldr);
+ return result;
+}
+
+void _DistListItem::PrintOut()
+{
+ InvokeHelper(0xf033, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _DistListItem::Save()
+{
+ InvokeHelper(0xf048, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _DistListItem::SaveAs(LPCTSTR Path, const VARIANT& Type)
+{
+ static BYTE parms[] =
+ VTS_BSTR VTS_VARIANT;
+ InvokeHelper(0xf051, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ Path, &Type);
+}
+
+CString _DistListItem::GetDLName()
+{
+ CString result;
+ InvokeHelper(0x8053, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _DistListItem::SetDLName(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8053, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+long _DistListItem::GetMemberCount()
+{
+ long result;
+ InvokeHelper(0x804b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _DistListItem::GetLinks()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf405, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void _DistListItem::AddMembers(LPDISPATCH Recipients)
+{
+ static BYTE parms[] =
+ VTS_DISPATCH;
+ InvokeHelper(0xf900, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ Recipients);
+}
+
+void _DistListItem::RemoveMembers(LPDISPATCH Recipients)
+{
+ static BYTE parms[] =
+ VTS_DISPATCH;
+ InvokeHelper(0xf901, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ Recipients);
+}
+
+LPDISPATCH _DistListItem::GetMember(long Index)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0xf905, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ Index);
+ return result;
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// _JournalItem properties
+
+/////////////////////////////////////////////////////////////////////////////
+// _JournalItem operations
+
+LPDISPATCH _JournalItem::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long _JournalItem::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _JournalItem::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _JournalItem::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _JournalItem::GetActions()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf817, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _JournalItem::GetAttachments()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf815, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+CString _JournalItem::GetBillingInformation()
+{
+ CString result;
+ InvokeHelper(0x8535, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _JournalItem::SetBillingInformation(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8535, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _JournalItem::GetBody()
+{
+ CString result;
+ InvokeHelper(0x9100, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _JournalItem::SetBody(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x9100, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _JournalItem::GetCategories()
+{
+ CString result;
+ InvokeHelper(0x9001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _JournalItem::SetCategories(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x9001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _JournalItem::GetCompanies()
+{
+ CString result;
+ InvokeHelper(0x853b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _JournalItem::SetCompanies(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x853b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _JournalItem::GetConversationIndex()
+{
+ CString result;
+ InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString _JournalItem::GetConversationTopic()
+{
+ CString result;
+ InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+DATE _JournalItem::GetCreationTime()
+{
+ DATE result;
+ InvokeHelper(0x3007, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+CString _JournalItem::GetEntryID()
+{
+ CString result;
+ InvokeHelper(0xf01e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _JournalItem::GetFormDescription()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf095, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _JournalItem::GetGetInspector()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf03e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long _JournalItem::GetImportance()
+{
+ long result;
+ InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _JournalItem::SetImportance(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+DATE _JournalItem::GetLastModificationTime()
+{
+ DATE result;
+ InvokeHelper(0x3008, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+CString _JournalItem::GetMessageClass()
+{
+ CString result;
+ InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _JournalItem::SetMessageClass(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _JournalItem::GetMileage()
+{
+ CString result;
+ InvokeHelper(0x8534, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _JournalItem::SetMileage(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8534, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL _JournalItem::GetNoAging()
+{
+ BOOL result;
+ InvokeHelper(0x850e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _JournalItem::SetNoAging(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x850e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+long _JournalItem::GetOutlookInternalVersion()
+{
+ long result;
+ InvokeHelper(0x8552, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+CString _JournalItem::GetOutlookVersion()
+{
+ CString result;
+ InvokeHelper(0x8554, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+BOOL _JournalItem::GetSaved()
+{
+ BOOL result;
+ InvokeHelper(0xf0a3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+long _JournalItem::GetSensitivity()
+{
+ long result;
+ InvokeHelper(0x36, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _JournalItem::SetSensitivity(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x36, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+long _JournalItem::GetSize()
+{
+ long result;
+ InvokeHelper(0xe08, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+CString _JournalItem::GetSubject()
+{
+ CString result;
+ InvokeHelper(0x37, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _JournalItem::SetSubject(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x37, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL _JournalItem::GetUnRead()
+{
+ BOOL result;
+ InvokeHelper(0xf01c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _JournalItem::SetUnRead(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0xf01c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+LPDISPATCH _JournalItem::GetUserProperties()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf816, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void _JournalItem::Close(long SaveMode)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0xf023, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ SaveMode);
+}
+
+LPDISPATCH _JournalItem::Copy()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf032, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void _JournalItem::Delete()
+{
+ InvokeHelper(0xf04a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _JournalItem::Display(const VARIANT& Modal)
+{
+ static BYTE parms[] =
+ VTS_VARIANT;
+ InvokeHelper(0xf0a6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ &Modal);
+}
+
+LPDISPATCH _JournalItem::Move(LPDISPATCH DestFldr)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_DISPATCH;
+ InvokeHelper(0xf034, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ DestFldr);
+ return result;
+}
+
+void _JournalItem::PrintOut()
+{
+ InvokeHelper(0xf033, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _JournalItem::Save()
+{
+ InvokeHelper(0xf048, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _JournalItem::SaveAs(LPCTSTR Path, const VARIANT& Type)
+{
+ static BYTE parms[] =
+ VTS_BSTR VTS_VARIANT;
+ InvokeHelper(0xf051, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ Path, &Type);
+}
+
+CString _JournalItem::GetContactNames()
+{
+ CString result;
+ InvokeHelper(0xe04, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _JournalItem::SetContactNames(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0xe04, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL _JournalItem::GetDocPosted()
+{
+ BOOL result;
+ InvokeHelper(0x8711, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _JournalItem::SetDocPosted(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x8711, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+BOOL _JournalItem::GetDocPrinted()
+{
+ BOOL result;
+ InvokeHelper(0x870e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _JournalItem::SetDocPrinted(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x870e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+BOOL _JournalItem::GetDocRouted()
+{
+ BOOL result;
+ InvokeHelper(0x8710, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _JournalItem::SetDocRouted(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x8710, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+BOOL _JournalItem::GetDocSaved()
+{
+ BOOL result;
+ InvokeHelper(0x870f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _JournalItem::SetDocSaved(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x870f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+long _JournalItem::GetDuration()
+{
+ long result;
+ InvokeHelper(0x8707, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _JournalItem::SetDuration(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x8707, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+DATE _JournalItem::GetEnd()
+{
+ DATE result;
+ InvokeHelper(0x8708, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+void _JournalItem::SetEnd(DATE newValue)
+{
+ static BYTE parms[] =
+ VTS_DATE;
+ InvokeHelper(0x8708, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ newValue);
+}
+
+CString _JournalItem::GetType()
+{
+ CString result;
+ InvokeHelper(0x8700, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _JournalItem::SetType(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x8700, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+LPDISPATCH _JournalItem::GetRecipients()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf814, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+DATE _JournalItem::GetStart()
+{
+ DATE result;
+ InvokeHelper(0x8706, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+void _JournalItem::SetStart(DATE newValue)
+{
+ static BYTE parms[] =
+ VTS_DATE;
+ InvokeHelper(0x8706, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ newValue);
+}
+
+LPDISPATCH _JournalItem::Forward()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf813, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _JournalItem::Reply()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf810, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _JournalItem::ReplyAll()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf811, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void _JournalItem::StartTimer()
+{
+ InvokeHelper(0xf725, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _JournalItem::StopTimer()
+{
+ InvokeHelper(0xf726, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+LPDISPATCH _JournalItem::GetLinks()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf405, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// _NoteItem properties
+
+/////////////////////////////////////////////////////////////////////////////
+// _NoteItem operations
+
+LPDISPATCH _NoteItem::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long _NoteItem::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _NoteItem::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _NoteItem::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+CString _NoteItem::GetBody()
+{
+ CString result;
+ InvokeHelper(0x9100, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _NoteItem::SetBody(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x9100, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString _NoteItem::GetCategories()
+{
+ CString result;
+ InvokeHelper(0x9001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _NoteItem::SetCategories(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x9001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+long _NoteItem::GetColor()
+{
+ long result;
+ InvokeHelper(0x8b00, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _NoteItem::SetColor(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x8b00, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+DATE _NoteItem::GetCreationTime()
+{
+ DATE result;
+ InvokeHelper(0x3007, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+CString _NoteItem::GetEntryID()
+{
+ CString result;
+ InvokeHelper(0xf01e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _NoteItem::GetGetInspector()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf03e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long _NoteItem::GetHeight()
+{
+ long result;
+ InvokeHelper(0x8b03, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _NoteItem::SetHeight(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x8b03, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+DATE _NoteItem::GetLastModificationTime()
+{
+ DATE result;
+ InvokeHelper(0x3008, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+long _NoteItem::GetLeft()
+{
+ long result;
+ InvokeHelper(0x8b04, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _NoteItem::SetLeft(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x8b04, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+CString _NoteItem::GetMessageClass()
+{
+ CString result;
+ InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void _NoteItem::SetMessageClass(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL _NoteItem::GetSaved()
+{
+ BOOL result;
+ InvokeHelper(0xf0a3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+long _NoteItem::GetSize()
+{
+ long result;
+ InvokeHelper(0xe08, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+CString _NoteItem::GetSubject()
+{
+ CString result;
+ InvokeHelper(0xf7a0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+long _NoteItem::GetTop()
+{
+ long result;
+ InvokeHelper(0x8b05, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _NoteItem::SetTop(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x8b05, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+long _NoteItem::GetWidth()
+{
+ long result;
+ InvokeHelper(0x8b02, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _NoteItem::SetWidth(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x8b02, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+void _NoteItem::Close(long SaveMode)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0xf023, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ SaveMode);
+}
+
+LPDISPATCH _NoteItem::Copy()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf032, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void _NoteItem::Delete()
+{
+ InvokeHelper(0xf04a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _NoteItem::Display(const VARIANT& Modal)
+{
+ static BYTE parms[] =
+ VTS_VARIANT;
+ InvokeHelper(0xf0a6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ &Modal);
+}
+
+LPDISPATCH _NoteItem::Move(LPDISPATCH DestFldr)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_DISPATCH;
+ InvokeHelper(0xf034, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ DestFldr);
+ return result;
+}
+
+void _NoteItem::PrintOut()
+{
+ InvokeHelper(0xf033, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _NoteItem::Save()
+{
+ InvokeHelper(0xf048, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void _NoteItem::SaveAs(LPCTSTR Path, const VARIANT& Type)
+{
+ static BYTE parms[] =
+ VTS_BSTR VTS_VARIANT;
+ InvokeHelper(0xf051, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ Path, &Type);
+}
+
+LPDISPATCH _NoteItem::GetLinks()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf405, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Action properties
+
+/////////////////////////////////////////////////////////////////////////////
+// Action operations
+
+LPDISPATCH Action::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long Action::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Action::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Action::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long Action::GetCopyLike()
+{
+ long result;
+ InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void Action::SetCopyLike(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+BOOL Action::GetEnabled()
+{
+ BOOL result;
+ InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void Action::SetEnabled(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+CString Action::GetMessageClass()
+{
+ CString result;
+ InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void Action::SetMessageClass(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString Action::GetName()
+{
+ CString result;
+ InvokeHelper(0x3001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void Action::SetName(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString Action::GetPrefix()
+{
+ CString result;
+ InvokeHelper(0x3d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void Action::SetPrefix(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+long Action::GetReplyStyle()
+{
+ long result;
+ InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void Action::SetReplyStyle(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+long Action::GetResponseStyle()
+{
+ long result;
+ InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void Action::SetResponseStyle(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+long Action::GetShowOn()
+{
+ long result;
+ InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void Action::SetShowOn(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+void Action::Delete()
+{
+ InvokeHelper(0x6c, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+LPDISPATCH Action::Execute()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x6a, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Recipient properties
+
+/////////////////////////////////////////////////////////////////////////////
+// Recipient operations
+
+LPDISPATCH Recipient::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long Recipient::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Recipient::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Recipient::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+CString Recipient::GetAddress()
+{
+ CString result;
+ InvokeHelper(0x3003, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Recipient::GetAddressEntry()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x79, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void Recipient::SetRefAddressEntry(LPDISPATCH newValue)
+{
+ static BYTE parms[] =
+ VTS_DISPATCH;
+ InvokeHelper(0x79, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
+ newValue);
+}
+
+CString Recipient::GetAutoResponse()
+{
+ CString result;
+ InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void Recipient::SetAutoResponse(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+long Recipient::GetDisplayType()
+{
+ long result;
+ InvokeHelper(0x3900, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+CString Recipient::GetEntryID()
+{
+ CString result;
+ InvokeHelper(0xf01e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+long Recipient::GetIndex()
+{
+ long result;
+ InvokeHelper(0x5b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+long Recipient::GetMeetingResponseStatus()
+{
+ long result;
+ InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+CString Recipient::GetName()
+{
+ CString result;
+ InvokeHelper(0x3001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+BOOL Recipient::GetResolved()
+{
+ BOOL result;
+ InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+long Recipient::GetTrackingStatus()
+{
+ long result;
+ InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void Recipient::SetTrackingStatus(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x76, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+DATE Recipient::GetTrackingStatusTime()
+{
+ DATE result;
+ InvokeHelper(0x77, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+void Recipient::SetTrackingStatusTime(DATE newValue)
+{
+ static BYTE parms[] =
+ VTS_DATE;
+ InvokeHelper(0x77, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ newValue);
+}
+
+long Recipient::GetType()
+{
+ long result;
+ InvokeHelper(0xc15, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void Recipient::SetType(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0xc15, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+void Recipient::Delete()
+{
+ InvokeHelper(0x6e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+CString Recipient::FreeBusy(DATE Start, long MinPerChar, const VARIANT& CompleteFormat)
+{
+ CString result;
+ static BYTE parms[] =
+ VTS_DATE VTS_I4 VTS_VARIANT;
+ InvokeHelper(0x6f, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
+ Start, MinPerChar, &CompleteFormat);
+ return result;
+}
+
+BOOL Recipient::Resolve()
+{
+ BOOL result;
+ InvokeHelper(0x71, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// _Inspector properties
+
+/////////////////////////////////////////////////////////////////////////////
+// _Inspector operations
+
+LPDISPATCH _Inspector::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long _Inspector::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Inspector::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Inspector::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Inspector::GetCommandBars()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x2100, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Inspector::GetCurrentItem()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x2102, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long _Inspector::GetEditorType()
+{
+ long result;
+ InvokeHelper(0x2110, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Inspector::GetModifiedFormPages()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x2106, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void _Inspector::Close(long SaveMode)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x2103, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ SaveMode);
+}
+
+void _Inspector::Display(const VARIANT& Modal)
+{
+ static BYTE parms[] =
+ VTS_VARIANT;
+ InvokeHelper(0x2104, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ &Modal);
+}
+
+void _Inspector::HideFormPage(LPCTSTR PageName)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x2108, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ PageName);
+}
+
+BOOL _Inspector::IsWordMail()
+{
+ BOOL result;
+ InvokeHelper(0x2105, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void _Inspector::SetCurrentFormPage(LPCTSTR PageName)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x210c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ PageName);
+}
+
+void _Inspector::ShowFormPage(LPCTSTR PageName)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x2109, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ PageName);
+}
+
+LPDISPATCH _Inspector::GetHTMLEditor()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x210e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH _Inspector::GetWordEditor()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x210f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+CString _Inspector::GetCaption()
+{
+ CString result;
+ InvokeHelper(0x2111, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+long _Inspector::GetHeight()
+{
+ long result;
+ InvokeHelper(0x2114, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _Inspector::SetHeight(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x2114, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+long _Inspector::GetLeft()
+{
+ long result;
+ InvokeHelper(0x2115, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _Inspector::SetLeft(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x2115, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+long _Inspector::GetTop()
+{
+ long result;
+ InvokeHelper(0x2116, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _Inspector::SetTop(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x2116, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+long _Inspector::GetWidth()
+{
+ long result;
+ InvokeHelper(0x2117, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _Inspector::SetWidth(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x2117, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+long _Inspector::GetWindowState()
+{
+ long result;
+ InvokeHelper(0x2112, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void _Inspector::SetWindowState(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x2112, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+void _Inspector::Activate()
+{
+ InvokeHelper(0x2113, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Actions properties
+
+/////////////////////////////////////////////////////////////////////////////
+// Actions operations
+
+LPDISPATCH Actions::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long Actions::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Actions::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Actions::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long Actions::GetCount()
+{
+ long result;
+ InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Actions::Item(const VARIANT& Index)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_VARIANT;
+ InvokeHelper(0x51, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ &Index);
+ return result;
+}
+
+LPDISPATCH Actions::Add()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x64, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+void Actions::Remove(long Index)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x52, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ Index);
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Attachments properties
+
+/////////////////////////////////////////////////////////////////////////////
+// Attachments operations
+
+LPDISPATCH Attachments::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long Attachments::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Attachments::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Attachments::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long Attachments::GetCount()
+{
+ long result;
+ InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Attachments::Item(const VARIANT& Index)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_VARIANT;
+ InvokeHelper(0x51, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ &Index);
+ return result;
+}
+
+LPDISPATCH Attachments::Add(const VARIANT& Source, const VARIANT& Type, const VARIANT& Position, const VARIANT& DisplayName)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
+ InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ &Source, &Type, &Position, &DisplayName);
+ return result;
+}
+
+void Attachments::Remove(long Index)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x54, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ Index);
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Attachment properties
+
+/////////////////////////////////////////////////////////////////////////////
+// Attachment operations
+
+LPDISPATCH Attachment::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long Attachment::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Attachment::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Attachment::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+CString Attachment::GetDisplayName()
+{
+ CString result;
+ InvokeHelper(0x3001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void Attachment::SetDisplayName(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString Attachment::GetFileName()
+{
+ CString result;
+ InvokeHelper(0x3704, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+long Attachment::GetIndex()
+{
+ long result;
+ InvokeHelper(0x5b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+CString Attachment::GetPathName()
+{
+ CString result;
+ InvokeHelper(0x3708, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+long Attachment::GetPosition()
+{
+ long result;
+ InvokeHelper(0x72, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void Attachment::SetPosition(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x72, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+long Attachment::GetType()
+{
+ long result;
+ InvokeHelper(0x3705, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void Attachment::Delete()
+{
+ InvokeHelper(0x69, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
+}
+
+void Attachment::SaveAsFile(LPCTSTR Path)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x68, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ Path);
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// FormDescription properties
+
+/////////////////////////////////////////////////////////////////////////////
+// FormDescription operations
+
+LPDISPATCH FormDescription::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long FormDescription::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH FormDescription::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH FormDescription::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+CString FormDescription::GetCategory()
+{
+ CString result;
+ InvokeHelper(0x3304, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void FormDescription::SetCategory(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3304, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString FormDescription::GetCategorySub()
+{
+ CString result;
+ InvokeHelper(0x3305, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void FormDescription::SetCategorySub(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3305, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString FormDescription::GetComment()
+{
+ CString result;
+ InvokeHelper(0x3004, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void FormDescription::SetComment(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3004, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString FormDescription::GetContactName()
+{
+ CString result;
+ InvokeHelper(0x3303, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void FormDescription::SetContactName(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3303, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString FormDescription::GetDisplayName()
+{
+ CString result;
+ InvokeHelper(0x3001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void FormDescription::SetDisplayName(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL FormDescription::GetHidden()
+{
+ BOOL result;
+ InvokeHelper(0x3307, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void FormDescription::SetHidden(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x3307, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+CString FormDescription::GetIcon()
+{
+ CString result;
+ InvokeHelper(0xffd, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void FormDescription::SetIcon(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0xffd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL FormDescription::GetLocked()
+{
+ BOOL result;
+ InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void FormDescription::SetLocked(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+CString FormDescription::GetMessageClass()
+{
+ CString result;
+ InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString FormDescription::GetMiniIcon()
+{
+ CString result;
+ InvokeHelper(0xffc, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void FormDescription::SetMiniIcon(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0xffc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString FormDescription::GetName()
+{
+ CString result;
+ InvokeHelper(0xf01d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void FormDescription::SetName(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0xf01d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString FormDescription::GetNumber()
+{
+ CString result;
+ InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void FormDescription::SetNumber(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL FormDescription::GetOneOff()
+{
+ BOOL result;
+ InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void FormDescription::SetOneOff(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+CString FormDescription::GetPassword()
+{
+ CString result;
+ InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void FormDescription::SetPassword(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+CString FormDescription::GetScriptText()
+{
+ CString result;
+ InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+CString FormDescription::GetTemplate()
+{
+ CString result;
+ InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void FormDescription::SetTemplate(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+BOOL FormDescription::GetUseWordMail()
+{
+ BOOL result;
+ InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void FormDescription::SetUseWordMail(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+CString FormDescription::GetVersion()
+{
+ CString result;
+ InvokeHelper(0x3301, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+void FormDescription::SetVersion(LPCTSTR lpszNewValue)
+{
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x3301, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ lpszNewValue);
+}
+
+void FormDescription::PublishForm(long Registry, const VARIANT& Folder)
+{
+ static BYTE parms[] =
+ VTS_I4 VTS_VARIANT;
+ InvokeHelper(0x6b, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ Registry, &Folder);
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Recipients properties
+
+/////////////////////////////////////////////////////////////////////////////
+// Recipients operations
+
+LPDISPATCH Recipients::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long Recipients::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Recipients::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Recipients::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long Recipients::GetCount()
+{
+ long result;
+ InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Recipients::Item(const VARIANT& Index)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_VARIANT;
+ InvokeHelper(0x51, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ &Index);
+ return result;
+}
+
+LPDISPATCH Recipients::Add(LPCTSTR Name)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_BSTR;
+ InvokeHelper(0x6f, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ Name);
+ return result;
+}
+
+void Recipients::Remove(long Index)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x54, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ Index);
+}
+
+BOOL Recipients::ResolveAll()
+{
+ BOOL result;
+ InvokeHelper(0x7e, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Links properties
+
+/////////////////////////////////////////////////////////////////////////////
+// Links operations
+
+LPDISPATCH Links::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long Links::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Links::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Links::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long Links::GetCount()
+{
+ long result;
+ InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Links::Item(const VARIANT& Index)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_VARIANT;
+ InvokeHelper(0x51, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ &Index);
+ return result;
+}
+
+LPDISPATCH Links::Add(LPDISPATCH Item)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_DISPATCH;
+ InvokeHelper(0x5f, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ Item);
+ return result;
+}
+
+void Links::Remove(const VARIANT& Index)
+{
+ static BYTE parms[] =
+ VTS_VARIANT;
+ InvokeHelper(0x54, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ &Index);
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Link properties
+
+/////////////////////////////////////////////////////////////////////////////
+// Link operations
+
+LPDISPATCH Link::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long Link::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Link::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Link::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+CString Link::GetName()
+{
+ CString result;
+ InvokeHelper(0x3001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
+ return result;
+}
+
+long Link::GetType()
+{
+ long result;
+ InvokeHelper(0x2101, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Link::GetItem()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x2102, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// RecurrencePattern properties
+
+/////////////////////////////////////////////////////////////////////////////
+// RecurrencePattern operations
+
+LPDISPATCH RecurrencePattern::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long RecurrencePattern::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH RecurrencePattern::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH RecurrencePattern::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long RecurrencePattern::GetDayOfMonth()
+{
+ long result;
+ InvokeHelper(0x1000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void RecurrencePattern::SetDayOfMonth(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x1000, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+long RecurrencePattern::GetDayOfWeekMask()
+{
+ long result;
+ InvokeHelper(0x1001, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void RecurrencePattern::SetDayOfWeekMask(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x1001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+long RecurrencePattern::GetDuration()
+{
+ long result;
+ InvokeHelper(0x100d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void RecurrencePattern::SetDuration(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x100d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+DATE RecurrencePattern::GetEndTime()
+{
+ DATE result;
+ InvokeHelper(0x100c, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+void RecurrencePattern::SetEndTime(DATE newValue)
+{
+ static BYTE parms[] =
+ VTS_DATE;
+ InvokeHelper(0x100c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ newValue);
+}
+
+LPDISPATCH RecurrencePattern::GetExceptions()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x100e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long RecurrencePattern::GetInstance()
+{
+ long result;
+ InvokeHelper(0x1003, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void RecurrencePattern::SetInstance(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x1003, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+long RecurrencePattern::GetInterval()
+{
+ long result;
+ InvokeHelper(0x1004, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void RecurrencePattern::SetInterval(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x1004, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+long RecurrencePattern::GetMonthOfYear()
+{
+ long result;
+ InvokeHelper(0x1006, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void RecurrencePattern::SetMonthOfYear(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x1006, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+BOOL RecurrencePattern::GetNoEndDate()
+{
+ BOOL result;
+ InvokeHelper(0x100b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void RecurrencePattern::SetNoEndDate(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x100b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+long RecurrencePattern::GetOccurrences()
+{
+ long result;
+ InvokeHelper(0x1005, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void RecurrencePattern::SetOccurrences(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x1005, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+DATE RecurrencePattern::GetPatternEndDate()
+{
+ DATE result;
+ InvokeHelper(0x1002, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+void RecurrencePattern::SetPatternEndDate(DATE newValue)
+{
+ static BYTE parms[] =
+ VTS_DATE;
+ InvokeHelper(0x1002, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ newValue);
+}
+
+DATE RecurrencePattern::GetPatternStartDate()
+{
+ DATE result;
+ InvokeHelper(0x1008, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+void RecurrencePattern::SetPatternStartDate(DATE newValue)
+{
+ static BYTE parms[] =
+ VTS_DATE;
+ InvokeHelper(0x1008, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ newValue);
+}
+
+long RecurrencePattern::GetRecurrenceType()
+{
+ long result;
+ InvokeHelper(0x1007, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+void RecurrencePattern::SetRecurrenceType(long nNewValue)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x1007, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ nNewValue);
+}
+
+BOOL RecurrencePattern::GetRegenerate()
+{
+ BOOL result;
+ InvokeHelper(0x100a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+void RecurrencePattern::SetRegenerate(BOOL bNewValue)
+{
+ static BYTE parms[] =
+ VTS_BOOL;
+ InvokeHelper(0x100a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ bNewValue);
+}
+
+DATE RecurrencePattern::GetStartTime()
+{
+ DATE result;
+ InvokeHelper(0x1009, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
+
+void RecurrencePattern::SetStartTime(DATE newValue)
+{
+ static BYTE parms[] =
+ VTS_DATE;
+ InvokeHelper(0x1009, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
+ newValue);
+}
+
+LPDISPATCH RecurrencePattern::GetOccurrence(DATE StartDate)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_DATE;
+ InvokeHelper(0x100f, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ StartDate);
+ return result;
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// UserProperties properties
+
+/////////////////////////////////////////////////////////////////////////////
+// UserProperties operations
+
+LPDISPATCH UserProperties::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long UserProperties::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH UserProperties::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH UserProperties::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long UserProperties::GetCount()
+{
+ long result;
+ InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH UserProperties::Item(const VARIANT& Index)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_VARIANT;
+ InvokeHelper(0x51, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ &Index);
+ return result;
+}
+
+LPDISPATCH UserProperties::Add(LPCTSTR Name, long Type, const VARIANT& AddToFolderFields, const VARIANT& DisplayFormat)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_BSTR VTS_I4 VTS_VARIANT VTS_VARIANT;
+ InvokeHelper(0x66, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ Name, Type, &AddToFolderFields, &DisplayFormat);
+ return result;
+}
+
+LPDISPATCH UserProperties::Find(LPCTSTR Name, const VARIANT& Custom)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_BSTR VTS_VARIANT;
+ InvokeHelper(0x67, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ Name, &Custom);
+ return result;
+}
+
+void UserProperties::Remove(long Index)
+{
+ static BYTE parms[] =
+ VTS_I4;
+ InvokeHelper(0x52, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
+ Index);
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Exceptions properties
+
+/////////////////////////////////////////////////////////////////////////////
+// Exceptions operations
+
+LPDISPATCH Exceptions::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long Exceptions::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Exceptions::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Exceptions::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long Exceptions::GetCount()
+{
+ long result;
+ InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Exceptions::Item(const VARIANT& Index)
+{
+ LPDISPATCH result;
+ static BYTE parms[] =
+ VTS_VARIANT;
+ InvokeHelper(0x51, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
+ &Index);
+ return result;
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Exception properties
+
+/////////////////////////////////////////////////////////////////////////////
+// Exception operations
+
+LPDISPATCH Exception::GetApplication()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+long Exception::GetClass()
+{
+ long result;
+ InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Exception::GetSession()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Exception::GetParent()
+{
+ LPDISPATCH result;
+ InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+LPDISPATCH Exception::GetAppointmentItem()
+{
+ LPDISPATCH result;
+ InvokeHelper(0x2001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
+ return result;
+}
+
+BOOL Exception::GetDeleted()
+{
+ BOOL result;
+ InvokeHelper(0x2002, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
+ return result;
+}
+
+DATE Exception::GetOriginalDate()
+{
+ DATE result;
+ InvokeHelper(0x2000, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
+ return result;
+}
diff --git a/outport/msoutl9.h b/outport/msoutl9.h new file mode 100644 index 0000000..a6fbfe7 --- a/dev/null +++ b/outport/msoutl9.h @@ -0,0 +1,1526 @@ +/*
+ Copyright 2001 Justin Kirby
+ This file is part of Outport.
+
+ Outport is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ Outport is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with olexp; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+*/
+// Machine generated IDispatch wrapper class(es) created with ClassWizard
+/////////////////////////////////////////////////////////////////////////////
+// _Application wrapper class
+#ifndef OLEXP_MSOUTL_H
+#define OLEXP_MSOUTL_H
+
+class _Application : public COleDispatchDriver
+{
+public:
+ _Application() {} // Calls COleDispatchDriver default constructor
+ _Application(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ _Application(const _Application& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ LPDISPATCH GetAssistant();
+ CString GetName();
+ CString GetVersion();
+ LPDISPATCH ActiveExplorer();
+ LPDISPATCH ActiveInspector();
+ LPDISPATCH CreateItem(long ItemType);
+ LPDISPATCH CreateItemFromTemplate(LPCTSTR TemplatePath, const VARIANT& InFolder);
+ LPDISPATCH CreateObject(LPCTSTR ObjectName);
+ LPDISPATCH GetNamespace(LPCTSTR Type);
+ void Quit();
+ LPDISPATCH GetCOMAddIns();
+ LPDISPATCH GetExplorers();
+ LPDISPATCH GetInspectors();
+ LPDISPATCH GetLanguageSettings();
+ CString GetProductCode();
+ LPDISPATCH GetAnswerWizard();
+ LPDISPATCH ActiveWindow();
+};
+/////////////////////////////////////////////////////////////////////////////
+// _Folders wrapper class
+
+class _Folders : public COleDispatchDriver
+{
+public:
+ _Folders() {} // Calls COleDispatchDriver default constructor
+ _Folders(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ _Folders(const _Folders& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ long GetCount();
+ LPDISPATCH Item(const VARIANT& Index);
+ LPDISPATCH Add(LPCTSTR Name, const VARIANT& Type);
+ LPDISPATCH GetFirst();
+ LPDISPATCH GetLast();
+ LPDISPATCH GetNext();
+ LPDISPATCH GetPrevious();
+ void Remove(long Index);
+};
+/////////////////////////////////////////////////////////////////////////////
+// MAPIFolder wrapper class
+
+class MAPIFolder : public COleDispatchDriver
+{
+public:
+ MAPIFolder() {} // Calls COleDispatchDriver default constructor
+ MAPIFolder(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ MAPIFolder(const MAPIFolder& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ long GetDefaultItemType();
+ CString GetDefaultMessageClass();
+ CString GetDescription();
+ void SetDescription(LPCTSTR lpszNewValue);
+ CString GetEntryID();
+ LPDISPATCH GetFolders();
+ LPDISPATCH GetItems();
+ CString GetName();
+ void SetName(LPCTSTR lpszNewValue);
+ CString GetStoreID();
+ long GetUnReadItemCount();
+ LPDISPATCH CopyTo(LPDISPATCH DestinationFolder);
+ void Delete();
+ void Display();
+ LPDISPATCH GetExplorer(const VARIANT& DisplayMode);
+ void MoveTo(LPDISPATCH DestinationFolder);
+ BOOL GetWebViewOn();
+ void SetWebViewOn(BOOL bNewValue);
+ CString GetWebViewURL();
+ void SetWebViewURL(LPCTSTR lpszNewValue);
+ BOOL GetWebViewAllowNavigation();
+ void SetWebViewAllowNavigation(BOOL bNewValue);
+};
+/////////////////////////////////////////////////////////////////////////////
+// _NameSpace wrapper class
+
+class _NameSpace : public COleDispatchDriver
+{
+public:
+ _NameSpace() {} // Calls COleDispatchDriver default constructor
+ _NameSpace(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ _NameSpace(const _NameSpace& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ LPDISPATCH GetCurrentUser();
+ LPDISPATCH GetFolders();
+ CString GetType();
+ LPDISPATCH GetAddressLists();
+ LPDISPATCH CreateRecipient(LPCTSTR RecipientName);
+ LPDISPATCH GetDefaultFolder(long FolderType);
+ LPDISPATCH GetFolderFromID(LPCTSTR EntryIDFolder, const VARIANT& EntryIDStore);
+ LPDISPATCH GetItemFromID(LPCTSTR EntryIDItem, const VARIANT& EntryIDStore);
+ LPDISPATCH GetRecipientFromID(LPCTSTR EntryID);
+ LPDISPATCH GetSharedDefaultFolder(LPDISPATCH Recipient, long FolderType);
+ void Logoff();
+ void Logon(const VARIANT& Profile, const VARIANT& Password, const VARIANT& ShowDialog, const VARIANT& NewSession);
+ LPDISPATCH PickFolder();
+ LPDISPATCH GetSyncObjects();
+ void AddStore(const VARIANT& Store);
+};
+/////////////////////////////////////////////////////////////////////////////
+// _Items wrapper class
+
+class _Items : public COleDispatchDriver
+{
+public:
+ _Items() {} // Calls COleDispatchDriver default constructor
+ _Items(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ _Items(const _Items& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ long GetCount();
+ LPDISPATCH Item(const VARIANT& Index);
+ BOOL GetIncludeRecurrences();
+ void SetIncludeRecurrences(BOOL bNewValue);
+ LPDISPATCH Add(const VARIANT& Type);
+ LPDISPATCH Find(LPCTSTR Filter);
+ LPDISPATCH FindNext();
+ LPDISPATCH GetFirst();
+ LPDISPATCH GetLast();
+ LPDISPATCH GetNext();
+ LPDISPATCH GetPrevious();
+ void Remove(long Index);
+ void ResetColumns();
+ LPDISPATCH Restrict(LPCTSTR Filter);
+ void SetColumns(LPCTSTR Columns);
+ void Sort(LPCTSTR Property_, const VARIANT& Descending);
+};
+/////////////////////////////////////////////////////////////////////////////
+// _TaskItem wrapper class
+
+class _TaskItem : public COleDispatchDriver
+{
+public:
+ _TaskItem() {} // Calls COleDispatchDriver default constructor
+ _TaskItem(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ _TaskItem(const _TaskItem& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ LPDISPATCH GetActions();
+ LPDISPATCH GetAttachments();
+ CString GetBillingInformation();
+ void SetBillingInformation(LPCTSTR lpszNewValue);
+ CString GetBody();
+ void SetBody(LPCTSTR lpszNewValue);
+ CString GetCategories();
+ void SetCategories(LPCTSTR lpszNewValue);
+ CString GetCompanies();
+ void SetCompanies(LPCTSTR lpszNewValue);
+ CString GetConversationIndex();
+ CString GetConversationTopic();
+ DATE GetCreationTime();
+ CString GetEntryID();
+ LPDISPATCH GetFormDescription();
+ LPDISPATCH GetGetInspector();
+ long GetImportance();
+ void SetImportance(long nNewValue);
+ DATE GetLastModificationTime();
+ CString GetMessageClass();
+ void SetMessageClass(LPCTSTR lpszNewValue);
+ CString GetMileage();
+ void SetMileage(LPCTSTR lpszNewValue);
+ BOOL GetNoAging();
+ void SetNoAging(BOOL bNewValue);
+ long GetOutlookInternalVersion();
+ CString GetOutlookVersion();
+ BOOL GetSaved();
+ long GetSensitivity();
+ void SetSensitivity(long nNewValue);
+ long GetSize();
+ CString GetSubject();
+ void SetSubject(LPCTSTR lpszNewValue);
+ BOOL GetUnRead();
+ void SetUnRead(BOOL bNewValue);
+ LPDISPATCH GetUserProperties();
+ void Close(long SaveMode);
+ LPDISPATCH Copy();
+ void Delete();
+ void Display(const VARIANT& Modal);
+ LPDISPATCH Move(LPDISPATCH DestFldr);
+ void PrintOut();
+ void Save();
+ void SaveAs(LPCTSTR Path, const VARIANT& Type);
+ long GetActualWork();
+ void SetActualWork(long nNewValue);
+ CString GetCardData();
+ void SetCardData(LPCTSTR lpszNewValue);
+ BOOL GetComplete();
+ void SetComplete(BOOL bNewValue);
+ CString GetContacts();
+ void SetContacts(LPCTSTR lpszNewValue);
+ CString GetContactNames();
+ void SetContactNames(LPCTSTR lpszNewValue);
+ DATE GetDateCompleted();
+ void SetDateCompleted(DATE newValue);
+ long GetDelegationState();
+ CString GetDelegator();
+ DATE GetDueDate();
+ void SetDueDate(DATE newValue);
+ BOOL GetIsRecurring();
+ long GetOrdinal();
+ void SetOrdinal(long nNewValue);
+ CString GetOwner();
+ void SetOwner(LPCTSTR lpszNewValue);
+ long GetOwnership();
+ long GetPercentComplete();
+ void SetPercentComplete(long nNewValue);
+ LPDISPATCH GetRecipients();
+ DATE GetReminderTime();
+ void SetReminderTime(DATE newValue);
+ BOOL GetReminderOverrideDefault();
+ void SetReminderOverrideDefault(BOOL bNewValue);
+ BOOL GetReminderPlaySound();
+ void SetReminderPlaySound(BOOL bNewValue);
+ BOOL GetReminderSet();
+ void SetReminderSet(BOOL bNewValue);
+ CString GetReminderSoundFile();
+ void SetReminderSoundFile(LPCTSTR lpszNewValue);
+ long GetResponseState();
+ CString GetRole();
+ void SetRole(LPCTSTR lpszNewValue);
+ CString GetSchedulePlusPriority();
+ void SetSchedulePlusPriority(LPCTSTR lpszNewValue);
+ DATE GetStartDate();
+ void SetStartDate(DATE newValue);
+ long GetStatus();
+ void SetStatus(long nNewValue);
+ CString GetStatusOnCompletionRecipients();
+ void SetStatusOnCompletionRecipients(LPCTSTR lpszNewValue);
+ CString GetStatusUpdateRecipients();
+ void SetStatusUpdateRecipients(LPCTSTR lpszNewValue);
+ BOOL GetTeamTask();
+ void SetTeamTask(BOOL bNewValue);
+ long GetTotalWork();
+ void SetTotalWork(long nNewValue);
+ LPDISPATCH Assign();
+ void CancelResponseState();
+ void ClearRecurrencePattern();
+ LPDISPATCH GetRecurrencePattern();
+ void MarkComplete();
+ LPDISPATCH Respond(long Response, const VARIANT& fNoUI, const VARIANT& fAdditionalTextDialog);
+ void Send();
+ BOOL SkipRecurrence();
+ LPDISPATCH StatusReport();
+ LPDISPATCH GetLinks();
+};
+/////////////////////////////////////////////////////////////////////////////
+// _AppointmentItem wrapper class
+
+class _AppointmentItem : public COleDispatchDriver
+{
+public:
+ _AppointmentItem() {} // Calls COleDispatchDriver default constructor
+ _AppointmentItem(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ _AppointmentItem(const _AppointmentItem& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ LPDISPATCH GetActions();
+ LPDISPATCH GetAttachments();
+ CString GetBillingInformation();
+ void SetBillingInformation(LPCTSTR lpszNewValue);
+ CString GetBody();
+ void SetBody(LPCTSTR lpszNewValue);
+ CString GetCategories();
+ void SetCategories(LPCTSTR lpszNewValue);
+ CString GetCompanies();
+ void SetCompanies(LPCTSTR lpszNewValue);
+ CString GetConversationIndex();
+ CString GetConversationTopic();
+ DATE GetCreationTime();
+ CString GetEntryID();
+ LPDISPATCH GetFormDescription();
+ LPDISPATCH GetGetInspector();
+ long GetImportance();
+ void SetImportance(long nNewValue);
+ DATE GetLastModificationTime();
+ CString GetMessageClass();
+ void SetMessageClass(LPCTSTR lpszNewValue);
+ CString GetMileage();
+ void SetMileage(LPCTSTR lpszNewValue);
+ BOOL GetNoAging();
+ void SetNoAging(BOOL bNewValue);
+ long GetOutlookInternalVersion();
+ CString GetOutlookVersion();
+ BOOL GetSaved();
+ long GetSensitivity();
+ void SetSensitivity(long nNewValue);
+ long GetSize();
+ CString GetSubject();
+ void SetSubject(LPCTSTR lpszNewValue);
+ BOOL GetUnRead();
+ void SetUnRead(BOOL bNewValue);
+ LPDISPATCH GetUserProperties();
+ void Close(long SaveMode);
+ LPDISPATCH Copy();
+ void Delete();
+ void Display(const VARIANT& Modal);
+ LPDISPATCH Move(LPDISPATCH DestFldr);
+ void PrintOut();
+ void Save();
+ void SaveAs(LPCTSTR Path, const VARIANT& Type);
+ BOOL GetAllDayEvent();
+ void SetAllDayEvent(BOOL bNewValue);
+ long GetBusyStatus();
+ void SetBusyStatus(long nNewValue);
+ long GetDuration();
+ void SetDuration(long nNewValue);
+ DATE GetEnd();
+ void SetEnd(DATE newValue);
+ BOOL GetIsOnlineMeeting();
+ void SetIsOnlineMeeting(BOOL bNewValue);
+ BOOL GetIsRecurring();
+ CString GetLocation();
+ void SetLocation(LPCTSTR lpszNewValue);
+ long GetMeetingStatus();
+ void SetMeetingStatus(long nNewValue);
+ BOOL GetNetMeetingAutoStart();
+ void SetNetMeetingAutoStart(BOOL bNewValue);
+ CString GetNetMeetingOrganizerAlias();
+ void SetNetMeetingOrganizerAlias(LPCTSTR lpszNewValue);
+ CString GetNetMeetingServer();
+ void SetNetMeetingServer(LPCTSTR lpszNewValue);
+ long GetNetMeetingType();
+ void SetNetMeetingType(long nNewValue);
+ CString GetOptionalAttendees();
+ void SetOptionalAttendees(LPCTSTR lpszNewValue);
+ CString GetOrganizer();
+ LPDISPATCH GetRecipients();
+ long GetRecurrenceState();
+ long GetReminderMinutesBeforeStart();
+ void SetReminderMinutesBeforeStart(long nNewValue);
+ BOOL GetReminderOverrideDefault();
+ void SetReminderOverrideDefault(BOOL bNewValue);
+ BOOL GetReminderPlaySound();
+ void SetReminderPlaySound(BOOL bNewValue);
+ BOOL GetReminderSet();
+ void SetReminderSet(BOOL bNewValue);
+ CString GetReminderSoundFile();
+ void SetReminderSoundFile(LPCTSTR lpszNewValue);
+ DATE GetReplyTime();
+ void SetReplyTime(DATE newValue);
+ CString GetRequiredAttendees();
+ void SetRequiredAttendees(LPCTSTR lpszNewValue);
+ CString GetResources();
+ void SetResources(LPCTSTR lpszNewValue);
+ BOOL GetResponseRequested();
+ void SetResponseRequested(BOOL bNewValue);
+ long GetResponseStatus();
+ DATE GetStart();
+ void SetStart(DATE newValue);
+ void ClearRecurrencePattern();
+ LPDISPATCH ForwardAsVcal();
+ LPDISPATCH GetRecurrencePattern();
+ LPDISPATCH Respond(long Response, const VARIANT& fNoUI, const VARIANT& fAdditionalTextDialog);
+ void Send();
+ CString GetNetMeetingDocPathName();
+ void SetNetMeetingDocPathName(LPCTSTR lpszNewValue);
+ CString GetNetShowURL();
+ void SetNetShowURL(LPCTSTR lpszNewValue);
+ LPDISPATCH GetLinks();
+ BOOL GetConferenceServerAllowExternal();
+ void SetConferenceServerAllowExternal(BOOL bNewValue);
+ CString GetConferenceServerPassword();
+ void SetConferenceServerPassword(LPCTSTR lpszNewValue);
+};
+/////////////////////////////////////////////////////////////////////////////
+// _MailItem wrapper class
+
+class _MailItem : public COleDispatchDriver
+{
+public:
+ _MailItem() {} // Calls COleDispatchDriver default constructor
+ _MailItem(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ _MailItem(const _MailItem& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ LPDISPATCH GetActions();
+ LPDISPATCH GetAttachments();
+ CString GetBillingInformation();
+ void SetBillingInformation(LPCTSTR lpszNewValue);
+ CString GetBody();
+ void SetBody(LPCTSTR lpszNewValue);
+ CString GetCategories();
+ void SetCategories(LPCTSTR lpszNewValue);
+ CString GetCompanies();
+ void SetCompanies(LPCTSTR lpszNewValue);
+ CString GetConversationIndex();
+ CString GetConversationTopic();
+ DATE GetCreationTime();
+ CString GetEntryID();
+ LPDISPATCH GetFormDescription();
+ LPDISPATCH GetGetInspector();
+ long GetImportance();
+ void SetImportance(long nNewValue);
+ DATE GetLastModificationTime();
+ CString GetMessageClass();
+ void SetMessageClass(LPCTSTR lpszNewValue);
+ CString GetMileage();
+ void SetMileage(LPCTSTR lpszNewValue);
+ BOOL GetNoAging();
+ void SetNoAging(BOOL bNewValue);
+ long GetOutlookInternalVersion();
+ CString GetOutlookVersion();
+ BOOL GetSaved();
+ long GetSensitivity();
+ void SetSensitivity(long nNewValue);
+ long GetSize();
+ CString GetSubject();
+ void SetSubject(LPCTSTR lpszNewValue);
+ BOOL GetUnRead();
+ void SetUnRead(BOOL bNewValue);
+ LPDISPATCH GetUserProperties();
+ void Close(long SaveMode);
+ LPDISPATCH Copy();
+ void Delete();
+ void Display(const VARIANT& Modal);
+ LPDISPATCH Move(LPDISPATCH DestFldr);
+ void PrintOut();
+ void Save();
+ void SaveAs(LPCTSTR Path, const VARIANT& Type);
+ BOOL GetAlternateRecipientAllowed();
+ void SetAlternateRecipientAllowed(BOOL bNewValue);
+ BOOL GetAutoForwarded();
+ void SetAutoForwarded(BOOL bNewValue);
+ CString GetBcc();
+ void SetBcc(LPCTSTR lpszNewValue);
+ CString GetCc();
+ void SetCc(LPCTSTR lpszNewValue);
+ DATE GetDeferredDeliveryTime();
+ void SetDeferredDeliveryTime(DATE newValue);
+ BOOL GetDeleteAfterSubmit();
+ void SetDeleteAfterSubmit(BOOL bNewValue);
+ DATE GetExpiryTime();
+ void SetExpiryTime(DATE newValue);
+ DATE GetFlagDueBy();
+ void SetFlagDueBy(DATE newValue);
+ CString GetFlagRequest();
+ void SetFlagRequest(LPCTSTR lpszNewValue);
+ long GetFlagStatus();
+ void SetFlagStatus(long nNewValue);
+ CString GetHTMLBody();
+ void SetHTMLBody(LPCTSTR lpszNewValue);
+ BOOL GetOriginatorDeliveryReportRequested();
+ void SetOriginatorDeliveryReportRequested(BOOL bNewValue);
+ BOOL GetReadReceiptRequested();
+ void SetReadReceiptRequested(BOOL bNewValue);
+ CString GetReceivedByEntryID();
+ CString GetReceivedByName();
+ CString GetReceivedOnBehalfOfEntryID();
+ CString GetReceivedOnBehalfOfName();
+ DATE GetReceivedTime();
+ BOOL GetRecipientReassignmentProhibited();
+ void SetRecipientReassignmentProhibited(BOOL bNewValue);
+ LPDISPATCH GetRecipients();
+ BOOL GetReminderOverrideDefault();
+ void SetReminderOverrideDefault(BOOL bNewValue);
+ BOOL GetReminderPlaySound();
+ void SetReminderPlaySound(BOOL bNewValue);
+ BOOL GetReminderSet();
+ void SetReminderSet(BOOL bNewValue);
+ CString GetReminderSoundFile();
+ void SetReminderSoundFile(LPCTSTR lpszNewValue);
+ DATE GetReminderTime();
+ void SetReminderTime(DATE newValue);
+ long GetRemoteStatus();
+ void SetRemoteStatus(long nNewValue);
+ CString GetReplyRecipientNames();
+ LPDISPATCH GetReplyRecipients();
+ LPDISPATCH GetSaveSentMessageFolder();
+ void SetRefSaveSentMessageFolder(LPDISPATCH newValue);
+ CString GetSenderName();
+ BOOL GetSent();
+ DATE GetSentOn();
+ CString GetSentOnBehalfOfName();
+ void SetSentOnBehalfOfName(LPCTSTR lpszNewValue);
+ BOOL GetSubmitted();
+ CString GetTo();
+ void SetTo(LPCTSTR lpszNewValue);
+ CString GetVotingOptions();
+ void SetVotingOptions(LPCTSTR lpszNewValue);
+ CString GetVotingResponse();
+ void SetVotingResponse(LPCTSTR lpszNewValue);
+ void ClearConversationIndex();
+ LPDISPATCH Forward();
+ LPDISPATCH Reply();
+ LPDISPATCH ReplyAll();
+ void Send();
+ LPDISPATCH GetLinks();
+};
+/////////////////////////////////////////////////////////////////////////////
+// _ContactItem wrapper class
+
+class _ContactItem : public COleDispatchDriver
+{
+public:
+ _ContactItem() {} // Calls COleDispatchDriver default constructor
+ _ContactItem(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ _ContactItem(const _ContactItem& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ LPDISPATCH GetActions();
+ LPDISPATCH GetAttachments();
+ CString GetBillingInformation();
+ void SetBillingInformation(LPCTSTR lpszNewValue);
+ CString GetBody();
+ void SetBody(LPCTSTR lpszNewValue);
+ CString GetCategories();
+ void SetCategories(LPCTSTR lpszNewValue);
+ CString GetCompanies();
+ void SetCompanies(LPCTSTR lpszNewValue);
+ CString GetConversationIndex();
+ CString GetConversationTopic();
+ DATE GetCreationTime();
+ CString GetEntryID();
+ LPDISPATCH GetFormDescription();
+ LPDISPATCH GetGetInspector();
+ long GetImportance();
+ void SetImportance(long nNewValue);
+ DATE GetLastModificationTime();
+ CString GetMessageClass();
+ void SetMessageClass(LPCTSTR lpszNewValue);
+ CString GetMileage();
+ void SetMileage(LPCTSTR lpszNewValue);
+ BOOL GetNoAging();
+ void SetNoAging(BOOL bNewValue);
+ long GetOutlookInternalVersion();
+ CString GetOutlookVersion();
+ BOOL GetSaved();
+ long GetSensitivity();
+ void SetSensitivity(long nNewValue);
+ long GetSize();
+ CString GetSubject();
+ void SetSubject(LPCTSTR lpszNewValue);
+ BOOL GetUnRead();
+ void SetUnRead(BOOL bNewValue);
+ LPDISPATCH GetUserProperties();
+ void Close(long SaveMode);
+ LPDISPATCH Copy();
+ void Delete();
+ void Display(const VARIANT& Modal);
+ LPDISPATCH Move(LPDISPATCH DestFldr);
+ void PrintOut();
+ void Save();
+ void SaveAs(LPCTSTR Path, const VARIANT& Type);
+ CString GetAccount();
+ void SetAccount(LPCTSTR lpszNewValue);
+ DATE GetAnniversary();
+ void SetAnniversary(DATE newValue);
+ CString GetAssistantName();
+ void SetAssistantName(LPCTSTR lpszNewValue);
+ CString GetAssistantTelephoneNumber();
+ void SetAssistantTelephoneNumber(LPCTSTR lpszNewValue);
+ DATE GetBirthday();
+ void SetBirthday(DATE newValue);
+ CString GetBusiness2TelephoneNumber();
+ void SetBusiness2TelephoneNumber(LPCTSTR lpszNewValue);
+ CString GetBusinessAddress();
+ void SetBusinessAddress(LPCTSTR lpszNewValue);
+ CString GetBusinessAddressCity();
+ void SetBusinessAddressCity(LPCTSTR lpszNewValue);
+ CString GetBusinessAddressCountry();
+ void SetBusinessAddressCountry(LPCTSTR lpszNewValue);
+ CString GetBusinessAddressPostalCode();
+ void SetBusinessAddressPostalCode(LPCTSTR lpszNewValue);
+ CString GetBusinessAddressPostOfficeBox();
+ void SetBusinessAddressPostOfficeBox(LPCTSTR lpszNewValue);
+ CString GetBusinessAddressState();
+ void SetBusinessAddressState(LPCTSTR lpszNewValue);
+ CString GetBusinessAddressStreet();
+ void SetBusinessAddressStreet(LPCTSTR lpszNewValue);
+ CString GetBusinessFaxNumber();
+ void SetBusinessFaxNumber(LPCTSTR lpszNewValue);
+ CString GetBusinessHomePage();
+ void SetBusinessHomePage(LPCTSTR lpszNewValue);
+ CString GetBusinessTelephoneNumber();
+ void SetBusinessTelephoneNumber(LPCTSTR lpszNewValue);
+ CString GetCallbackTelephoneNumber();
+ void SetCallbackTelephoneNumber(LPCTSTR lpszNewValue);
+ CString GetCarTelephoneNumber();
+ void SetCarTelephoneNumber(LPCTSTR lpszNewValue);
+ CString GetChildren();
+ void SetChildren(LPCTSTR lpszNewValue);
+ CString GetCompanyAndFullName();
+ CString GetCompanyLastFirstNoSpace();
+ CString GetCompanyLastFirstSpaceOnly();
+ CString GetCompanyMainTelephoneNumber();
+ void SetCompanyMainTelephoneNumber(LPCTSTR lpszNewValue);
+ CString GetCompanyName();
+ void SetCompanyName(LPCTSTR lpszNewValue);
+ CString GetComputerNetworkName();
+ void SetComputerNetworkName(LPCTSTR lpszNewValue);
+ CString GetCustomerID();
+ void SetCustomerID(LPCTSTR lpszNewValue);
+ CString GetDepartment();
+ void SetDepartment(LPCTSTR lpszNewValue);
+ CString GetEmail1Address();
+ void SetEmail1Address(LPCTSTR lpszNewValue);
+ CString GetEmail1AddressType();
+ void SetEmail1AddressType(LPCTSTR lpszNewValue);
+ CString GetEmail1DisplayName();
+ CString GetEmail1EntryID();
+ CString GetEmail2Address();
+ void SetEmail2Address(LPCTSTR lpszNewValue);
+ CString GetEmail2AddressType();
+ void SetEmail2AddressType(LPCTSTR lpszNewValue);
+ CString GetEmail2DisplayName();
+ CString GetEmail2EntryID();
+ CString GetEmail3Address();
+ void SetEmail3Address(LPCTSTR lpszNewValue);
+ CString GetEmail3AddressType();
+ void SetEmail3AddressType(LPCTSTR lpszNewValue);
+ CString GetEmail3DisplayName();
+ CString GetEmail3EntryID();
+ CString GetFileAs();
+ void SetFileAs(LPCTSTR lpszNewValue);
+ CString GetFirstName();
+ void SetFirstName(LPCTSTR lpszNewValue);
+ CString GetFTPSite();
+ void SetFTPSite(LPCTSTR lpszNewValue);
+ CString GetFullName();
+ void SetFullName(LPCTSTR lpszNewValue);
+ CString GetFullNameAndCompany();
+ long GetGender();
+ void SetGender(long nNewValue);
+ CString GetGovernmentIDNumber();
+ void SetGovernmentIDNumber(LPCTSTR lpszNewValue);
+ CString GetHobby();
+ void SetHobby(LPCTSTR lpszNewValue);
+ CString GetHome2TelephoneNumber();
+ void SetHome2TelephoneNumber(LPCTSTR lpszNewValue);
+ CString GetHomeAddress();
+ void SetHomeAddress(LPCTSTR lpszNewValue);
+ CString GetHomeAddressCity();
+ void SetHomeAddressCity(LPCTSTR lpszNewValue);
+ CString GetHomeAddressCountry();
+ void SetHomeAddressCountry(LPCTSTR lpszNewValue);
+ CString GetHomeAddressPostalCode();
+ void SetHomeAddressPostalCode(LPCTSTR lpszNewValue);
+ CString GetHomeAddressPostOfficeBox();
+ void SetHomeAddressPostOfficeBox(LPCTSTR lpszNewValue);
+ CString GetHomeAddressState();
+ void SetHomeAddressState(LPCTSTR lpszNewValue);
+ CString GetHomeAddressStreet();
+ void SetHomeAddressStreet(LPCTSTR lpszNewValue);
+ CString GetHomeFaxNumber();
+ void SetHomeFaxNumber(LPCTSTR lpszNewValue);
+ CString GetHomeTelephoneNumber();
+ void SetHomeTelephoneNumber(LPCTSTR lpszNewValue);
+ CString GetInitials();
+ void SetInitials(LPCTSTR lpszNewValue);
+ CString GetInternetFreeBusyAddress();
+ void SetInternetFreeBusyAddress(LPCTSTR lpszNewValue);
+ CString GetISDNNumber();
+ void SetISDNNumber(LPCTSTR lpszNewValue);
+ CString GetJobTitle();
+ void SetJobTitle(LPCTSTR lpszNewValue);
+ BOOL GetJournal();
+ void SetJournal(BOOL bNewValue);
+ CString GetLanguage();
+ void SetLanguage(LPCTSTR lpszNewValue);
+ CString GetLastFirstAndSuffix();
+ CString GetLastFirstNoSpace();
+ CString GetLastFirstNoSpaceCompany();
+ CString GetLastFirstSpaceOnly();
+ CString GetLastFirstSpaceOnlyCompany();
+ CString GetLastName();
+ void SetLastName(LPCTSTR lpszNewValue);
+ CString GetLastNameAndFirstName();
+ CString GetMailingAddress();
+ void SetMailingAddress(LPCTSTR lpszNewValue);
+ CString GetMailingAddressCity();
+ void SetMailingAddressCity(LPCTSTR lpszNewValue);
+ CString GetMailingAddressCountry();
+ void SetMailingAddressCountry(LPCTSTR lpszNewValue);
+ CString GetMailingAddressPostalCode();
+ void SetMailingAddressPostalCode(LPCTSTR lpszNewValue);
+ CString GetMailingAddressPostOfficeBox();
+ void SetMailingAddressPostOfficeBox(LPCTSTR lpszNewValue);
+ CString GetMailingAddressState();
+ void SetMailingAddressState(LPCTSTR lpszNewValue);
+ CString GetMailingAddressStreet();
+ void SetMailingAddressStreet(LPCTSTR lpszNewValue);
+ CString GetManagerName();
+ void SetManagerName(LPCTSTR lpszNewValue);
+ CString GetMiddleName();
+ void SetMiddleName(LPCTSTR lpszNewValue);
+ CString GetMobileTelephoneNumber();
+ void SetMobileTelephoneNumber(LPCTSTR lpszNewValue);
+ CString GetNetMeetingAlias();
+ void SetNetMeetingAlias(LPCTSTR lpszNewValue);
+ CString GetNetMeetingServer();
+ void SetNetMeetingServer(LPCTSTR lpszNewValue);
+ CString GetNickName();
+ void SetNickName(LPCTSTR lpszNewValue);
+ CString GetOfficeLocation();
+ void SetOfficeLocation(LPCTSTR lpszNewValue);
+ CString GetOrganizationalIDNumber();
+ void SetOrganizationalIDNumber(LPCTSTR lpszNewValue);
+ CString GetOtherAddress();
+ void SetOtherAddress(LPCTSTR lpszNewValue);
+ CString GetOtherAddressCity();
+ void SetOtherAddressCity(LPCTSTR lpszNewValue);
+ CString GetOtherAddressCountry();
+ void SetOtherAddressCountry(LPCTSTR lpszNewValue);
+ CString GetOtherAddressPostalCode();
+ void SetOtherAddressPostalCode(LPCTSTR lpszNewValue);
+ CString GetOtherAddressPostOfficeBox();
+ void SetOtherAddressPostOfficeBox(LPCTSTR lpszNewValue);
+ CString GetOtherAddressState();
+ void SetOtherAddressState(LPCTSTR lpszNewValue);
+ CString GetOtherAddressStreet();
+ void SetOtherAddressStreet(LPCTSTR lpszNewValue);
+ CString GetOtherFaxNumber();
+ void SetOtherFaxNumber(LPCTSTR lpszNewValue);
+ CString GetOtherTelephoneNumber();
+ void SetOtherTelephoneNumber(LPCTSTR lpszNewValue);
+ CString GetPagerNumber();
+ void SetPagerNumber(LPCTSTR lpszNewValue);
+ CString GetPersonalHomePage();
+ void SetPersonalHomePage(LPCTSTR lpszNewValue);
+ CString GetPrimaryTelephoneNumber();
+ void SetPrimaryTelephoneNumber(LPCTSTR lpszNewValue);
+ CString GetProfession();
+ void SetProfession(LPCTSTR lpszNewValue);
+ CString GetRadioTelephoneNumber();
+ void SetRadioTelephoneNumber(LPCTSTR lpszNewValue);
+ CString GetReferredBy();
+ void SetReferredBy(LPCTSTR lpszNewValue);
+ long GetSelectedMailingAddress();
+ void SetSelectedMailingAddress(long nNewValue);
+ CString GetSpouse();
+ void SetSpouse(LPCTSTR lpszNewValue);
+ CString GetSuffix();
+ void SetSuffix(LPCTSTR lpszNewValue);
+ CString GetTelexNumber();
+ void SetTelexNumber(LPCTSTR lpszNewValue);
+ CString GetTitle();
+ void SetTitle(LPCTSTR lpszNewValue);
+ CString GetTTYTDDTelephoneNumber();
+ void SetTTYTDDTelephoneNumber(LPCTSTR lpszNewValue);
+ CString GetUser1();
+ void SetUser1(LPCTSTR lpszNewValue);
+ CString GetUser2();
+ void SetUser2(LPCTSTR lpszNewValue);
+ CString GetUser3();
+ void SetUser3(LPCTSTR lpszNewValue);
+ CString GetUser4();
+ void SetUser4(LPCTSTR lpszNewValue);
+ CString GetUserCertificate();
+ void SetUserCertificate(LPCTSTR lpszNewValue);
+ CString GetWebPage();
+ void SetWebPage(LPCTSTR lpszNewValue);
+ CString GetYomiCompanyName();
+ void SetYomiCompanyName(LPCTSTR lpszNewValue);
+ CString GetYomiFirstName();
+ void SetYomiFirstName(LPCTSTR lpszNewValue);
+ CString GetYomiLastName();
+ void SetYomiLastName(LPCTSTR lpszNewValue);
+ LPDISPATCH ForwardAsVcard();
+ LPDISPATCH GetLinks();
+};
+/////////////////////////////////////////////////////////////////////////////
+// _DistListItem wrapper class
+
+class _DistListItem : public COleDispatchDriver
+{
+public:
+ _DistListItem() {} // Calls COleDispatchDriver default constructor
+ _DistListItem(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ _DistListItem(const _DistListItem& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ LPDISPATCH GetActions();
+ LPDISPATCH GetAttachments();
+ CString GetBillingInformation();
+ void SetBillingInformation(LPCTSTR lpszNewValue);
+ CString GetBody();
+ void SetBody(LPCTSTR lpszNewValue);
+ CString GetCategories();
+ void SetCategories(LPCTSTR lpszNewValue);
+ CString GetCompanies();
+ void SetCompanies(LPCTSTR lpszNewValue);
+ CString GetConversationIndex();
+ CString GetConversationTopic();
+ DATE GetCreationTime();
+ CString GetEntryID();
+ LPDISPATCH GetFormDescription();
+ LPDISPATCH GetGetInspector();
+ long GetImportance();
+ void SetImportance(long nNewValue);
+ DATE GetLastModificationTime();
+ CString GetMessageClass();
+ void SetMessageClass(LPCTSTR lpszNewValue);
+ CString GetMileage();
+ void SetMileage(LPCTSTR lpszNewValue);
+ BOOL GetNoAging();
+ void SetNoAging(BOOL bNewValue);
+ long GetOutlookInternalVersion();
+ CString GetOutlookVersion();
+ BOOL GetSaved();
+ long GetSensitivity();
+ void SetSensitivity(long nNewValue);
+ long GetSize();
+ CString GetSubject();
+ void SetSubject(LPCTSTR lpszNewValue);
+ BOOL GetUnRead();
+ void SetUnRead(BOOL bNewValue);
+ LPDISPATCH GetUserProperties();
+ void Close(long SaveMode);
+ LPDISPATCH Copy();
+ void Delete();
+ void Display(const VARIANT& Modal);
+ LPDISPATCH Move(LPDISPATCH DestFldr);
+ void PrintOut();
+ void Save();
+ void SaveAs(LPCTSTR Path, const VARIANT& Type);
+ CString GetDLName();
+ void SetDLName(LPCTSTR lpszNewValue);
+ long GetMemberCount();
+ LPDISPATCH GetLinks();
+ void AddMembers(LPDISPATCH Recipients);
+ void RemoveMembers(LPDISPATCH Recipients);
+ LPDISPATCH GetMember(long Index);
+};
+/////////////////////////////////////////////////////////////////////////////
+// _JournalItem wrapper class
+
+class _JournalItem : public COleDispatchDriver
+{
+public:
+ _JournalItem() {} // Calls COleDispatchDriver default constructor
+ _JournalItem(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ _JournalItem(const _JournalItem& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ LPDISPATCH GetActions();
+ LPDISPATCH GetAttachments();
+ CString GetBillingInformation();
+ void SetBillingInformation(LPCTSTR lpszNewValue);
+ CString GetBody();
+ void SetBody(LPCTSTR lpszNewValue);
+ CString GetCategories();
+ void SetCategories(LPCTSTR lpszNewValue);
+ CString GetCompanies();
+ void SetCompanies(LPCTSTR lpszNewValue);
+ CString GetConversationIndex();
+ CString GetConversationTopic();
+ DATE GetCreationTime();
+ CString GetEntryID();
+ LPDISPATCH GetFormDescription();
+ LPDISPATCH GetGetInspector();
+ long GetImportance();
+ void SetImportance(long nNewValue);
+ DATE GetLastModificationTime();
+ CString GetMessageClass();
+ void SetMessageClass(LPCTSTR lpszNewValue);
+ CString GetMileage();
+ void SetMileage(LPCTSTR lpszNewValue);
+ BOOL GetNoAging();
+ void SetNoAging(BOOL bNewValue);
+ long GetOutlookInternalVersion();
+ CString GetOutlookVersion();
+ BOOL GetSaved();
+ long GetSensitivity();
+ void SetSensitivity(long nNewValue);
+ long GetSize();
+ CString GetSubject();
+ void SetSubject(LPCTSTR lpszNewValue);
+ BOOL GetUnRead();
+ void SetUnRead(BOOL bNewValue);
+ LPDISPATCH GetUserProperties();
+ void Close(long SaveMode);
+ LPDISPATCH Copy();
+ void Delete();
+ void Display(const VARIANT& Modal);
+ LPDISPATCH Move(LPDISPATCH DestFldr);
+ void PrintOut();
+ void Save();
+ void SaveAs(LPCTSTR Path, const VARIANT& Type);
+ CString GetContactNames();
+ void SetContactNames(LPCTSTR lpszNewValue);
+ BOOL GetDocPosted();
+ void SetDocPosted(BOOL bNewValue);
+ BOOL GetDocPrinted();
+ void SetDocPrinted(BOOL bNewValue);
+ BOOL GetDocRouted();
+ void SetDocRouted(BOOL bNewValue);
+ BOOL GetDocSaved();
+ void SetDocSaved(BOOL bNewValue);
+ long GetDuration();
+ void SetDuration(long nNewValue);
+ DATE GetEnd();
+ void SetEnd(DATE newValue);
+ CString GetType();
+ void SetType(LPCTSTR lpszNewValue);
+ LPDISPATCH GetRecipients();
+ DATE GetStart();
+ void SetStart(DATE newValue);
+ LPDISPATCH Forward();
+ LPDISPATCH Reply();
+ LPDISPATCH ReplyAll();
+ void StartTimer();
+ void StopTimer();
+ LPDISPATCH GetLinks();
+};
+/////////////////////////////////////////////////////////////////////////////
+// _NoteItem wrapper class
+
+class _NoteItem : public COleDispatchDriver
+{
+public:
+ _NoteItem() {} // Calls COleDispatchDriver default constructor
+ _NoteItem(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ _NoteItem(const _NoteItem& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ CString GetBody();
+ void SetBody(LPCTSTR lpszNewValue);
+ CString GetCategories();
+ void SetCategories(LPCTSTR lpszNewValue);
+ long GetColor();
+ void SetColor(long nNewValue);
+ DATE GetCreationTime();
+ CString GetEntryID();
+ LPDISPATCH GetGetInspector();
+ long GetHeight();
+ void SetHeight(long nNewValue);
+ DATE GetLastModificationTime();
+ long GetLeft();
+ void SetLeft(long nNewValue);
+ CString GetMessageClass();
+ void SetMessageClass(LPCTSTR lpszNewValue);
+ BOOL GetSaved();
+ long GetSize();
+ CString GetSubject();
+ long GetTop();
+ void SetTop(long nNewValue);
+ long GetWidth();
+ void SetWidth(long nNewValue);
+ void Close(long SaveMode);
+ LPDISPATCH Copy();
+ void Delete();
+ void Display(const VARIANT& Modal);
+ LPDISPATCH Move(LPDISPATCH DestFldr);
+ void PrintOut();
+ void Save();
+ void SaveAs(LPCTSTR Path, const VARIANT& Type);
+ LPDISPATCH GetLinks();
+};
+/////////////////////////////////////////////////////////////////////////////
+// Action wrapper class
+
+class Action : public COleDispatchDriver
+{
+public:
+ Action() {} // Calls COleDispatchDriver default constructor
+ Action(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ Action(const Action& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ long GetCopyLike();
+ void SetCopyLike(long nNewValue);
+ BOOL GetEnabled();
+ void SetEnabled(BOOL bNewValue);
+ CString GetMessageClass();
+ void SetMessageClass(LPCTSTR lpszNewValue);
+ CString GetName();
+ void SetName(LPCTSTR lpszNewValue);
+ CString GetPrefix();
+ void SetPrefix(LPCTSTR lpszNewValue);
+ long GetReplyStyle();
+ void SetReplyStyle(long nNewValue);
+ long GetResponseStyle();
+ void SetResponseStyle(long nNewValue);
+ long GetShowOn();
+ void SetShowOn(long nNewValue);
+ void Delete();
+ LPDISPATCH Execute();
+};
+/////////////////////////////////////////////////////////////////////////////
+// Recipient wrapper class
+
+class Recipient : public COleDispatchDriver
+{
+public:
+ Recipient() {} // Calls COleDispatchDriver default constructor
+ Recipient(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ Recipient(const Recipient& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ CString GetAddress();
+ LPDISPATCH GetAddressEntry();
+ void SetRefAddressEntry(LPDISPATCH newValue);
+ CString GetAutoResponse();
+ void SetAutoResponse(LPCTSTR lpszNewValue);
+ long GetDisplayType();
+ CString GetEntryID();
+ long GetIndex();
+ long GetMeetingResponseStatus();
+ CString GetName();
+ BOOL GetResolved();
+ long GetTrackingStatus();
+ void SetTrackingStatus(long nNewValue);
+ DATE GetTrackingStatusTime();
+ void SetTrackingStatusTime(DATE newValue);
+ long GetType();
+ void SetType(long nNewValue);
+ void Delete();
+ CString FreeBusy(DATE Start, long MinPerChar, const VARIANT& CompleteFormat);
+ BOOL Resolve();
+};
+/////////////////////////////////////////////////////////////////////////////
+// _Inspector wrapper class
+
+class _Inspector : public COleDispatchDriver
+{
+public:
+ _Inspector() {} // Calls COleDispatchDriver default constructor
+ _Inspector(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ _Inspector(const _Inspector& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ LPDISPATCH GetCommandBars();
+ LPDISPATCH GetCurrentItem();
+ long GetEditorType();
+ LPDISPATCH GetModifiedFormPages();
+ void Close(long SaveMode);
+ void Display(const VARIANT& Modal);
+ void HideFormPage(LPCTSTR PageName);
+ BOOL IsWordMail();
+ void SetCurrentFormPage(LPCTSTR PageName);
+ void ShowFormPage(LPCTSTR PageName);
+ LPDISPATCH GetHTMLEditor();
+ LPDISPATCH GetWordEditor();
+ CString GetCaption();
+ long GetHeight();
+ void SetHeight(long nNewValue);
+ long GetLeft();
+ void SetLeft(long nNewValue);
+ long GetTop();
+ void SetTop(long nNewValue);
+ long GetWidth();
+ void SetWidth(long nNewValue);
+ long GetWindowState();
+ void SetWindowState(long nNewValue);
+ void Activate();
+};
+/////////////////////////////////////////////////////////////////////////////
+// Actions wrapper class
+
+class Actions : public COleDispatchDriver
+{
+public:
+ Actions() {} // Calls COleDispatchDriver default constructor
+ Actions(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ Actions(const Actions& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ long GetCount();
+ LPDISPATCH Item(const VARIANT& Index);
+ LPDISPATCH Add();
+ void Remove(long Index);
+};
+/////////////////////////////////////////////////////////////////////////////
+// Attachments wrapper class
+
+class Attachments : public COleDispatchDriver
+{
+public:
+ Attachments() {} // Calls COleDispatchDriver default constructor
+ Attachments(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ Attachments(const Attachments& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ long GetCount();
+ LPDISPATCH Item(const VARIANT& Index);
+ LPDISPATCH Add(const VARIANT& Source, const VARIANT& Type, const VARIANT& Position, const VARIANT& DisplayName);
+ void Remove(long Index);
+};
+/////////////////////////////////////////////////////////////////////////////
+// Attachment wrapper class
+
+class Attachment : public COleDispatchDriver
+{
+public:
+ Attachment() {} // Calls COleDispatchDriver default constructor
+ Attachment(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ Attachment(const Attachment& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ CString GetDisplayName();
+ void SetDisplayName(LPCTSTR lpszNewValue);
+ CString GetFileName();
+ long GetIndex();
+ CString GetPathName();
+ long GetPosition();
+ void SetPosition(long nNewValue);
+ long GetType();
+ void Delete();
+ void SaveAsFile(LPCTSTR Path);
+};
+/////////////////////////////////////////////////////////////////////////////
+// FormDescription wrapper class
+
+class FormDescription : public COleDispatchDriver
+{
+public:
+ FormDescription() {} // Calls COleDispatchDriver default constructor
+ FormDescription(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ FormDescription(const FormDescription& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ CString GetCategory();
+ void SetCategory(LPCTSTR lpszNewValue);
+ CString GetCategorySub();
+ void SetCategorySub(LPCTSTR lpszNewValue);
+ CString GetComment();
+ void SetComment(LPCTSTR lpszNewValue);
+ CString GetContactName();
+ void SetContactName(LPCTSTR lpszNewValue);
+ CString GetDisplayName();
+ void SetDisplayName(LPCTSTR lpszNewValue);
+ BOOL GetHidden();
+ void SetHidden(BOOL bNewValue);
+ CString GetIcon();
+ void SetIcon(LPCTSTR lpszNewValue);
+ BOOL GetLocked();
+ void SetLocked(BOOL bNewValue);
+ CString GetMessageClass();
+ CString GetMiniIcon();
+ void SetMiniIcon(LPCTSTR lpszNewValue);
+ CString GetName();
+ void SetName(LPCTSTR lpszNewValue);
+ CString GetNumber();
+ void SetNumber(LPCTSTR lpszNewValue);
+ BOOL GetOneOff();
+ void SetOneOff(BOOL bNewValue);
+ CString GetPassword();
+ void SetPassword(LPCTSTR lpszNewValue);
+ CString GetScriptText();
+ CString GetTemplate();
+ void SetTemplate(LPCTSTR lpszNewValue);
+ BOOL GetUseWordMail();
+ void SetUseWordMail(BOOL bNewValue);
+ CString GetVersion();
+ void SetVersion(LPCTSTR lpszNewValue);
+ void PublishForm(long Registry, const VARIANT& Folder);
+};
+/////////////////////////////////////////////////////////////////////////////
+// Recipients wrapper class
+
+class Recipients : public COleDispatchDriver
+{
+public:
+ Recipients() {} // Calls COleDispatchDriver default constructor
+ Recipients(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ Recipients(const Recipients& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ long GetCount();
+ LPDISPATCH Item(const VARIANT& Index);
+ LPDISPATCH Add(LPCTSTR Name);
+ void Remove(long Index);
+ BOOL ResolveAll();
+};
+/////////////////////////////////////////////////////////////////////////////
+// Links wrapper class
+
+class Links : public COleDispatchDriver
+{
+public:
+ Links() {} // Calls COleDispatchDriver default constructor
+ Links(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ Links(const Links& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ long GetCount();
+ LPDISPATCH Item(const VARIANT& Index);
+ LPDISPATCH Add(LPDISPATCH Item);
+ void Remove(const VARIANT& Index);
+};
+/////////////////////////////////////////////////////////////////////////////
+// Link wrapper class
+
+class Link : public COleDispatchDriver
+{
+public:
+ Link() {} // Calls COleDispatchDriver default constructor
+ Link(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ Link(const Link& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ CString GetName();
+ long GetType();
+ LPDISPATCH GetItem();
+};
+/////////////////////////////////////////////////////////////////////////////
+// RecurrencePattern wrapper class
+
+class RecurrencePattern : public COleDispatchDriver
+{
+public:
+ RecurrencePattern() {} // Calls COleDispatchDriver default constructor
+ RecurrencePattern(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ RecurrencePattern(const RecurrencePattern& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ long GetDayOfMonth();
+ void SetDayOfMonth(long nNewValue);
+ long GetDayOfWeekMask();
+ void SetDayOfWeekMask(long nNewValue);
+ long GetDuration();
+ void SetDuration(long nNewValue);
+ DATE GetEndTime();
+ void SetEndTime(DATE newValue);
+ LPDISPATCH GetExceptions();
+ long GetInstance();
+ void SetInstance(long nNewValue);
+ long GetInterval();
+ void SetInterval(long nNewValue);
+ long GetMonthOfYear();
+ void SetMonthOfYear(long nNewValue);
+ BOOL GetNoEndDate();
+ void SetNoEndDate(BOOL bNewValue);
+ long GetOccurrences();
+ void SetOccurrences(long nNewValue);
+ DATE GetPatternEndDate();
+ void SetPatternEndDate(DATE newValue);
+ DATE GetPatternStartDate();
+ void SetPatternStartDate(DATE newValue);
+ long GetRecurrenceType();
+ void SetRecurrenceType(long nNewValue);
+ BOOL GetRegenerate();
+ void SetRegenerate(BOOL bNewValue);
+ DATE GetStartTime();
+ void SetStartTime(DATE newValue);
+ LPDISPATCH GetOccurrence(DATE StartDate);
+};
+
+/////////////////////////////////////////////////////////////////////////////
+// UserProperties wrapper class
+
+class UserProperties : public COleDispatchDriver
+{
+public:
+ UserProperties() {} // Calls COleDispatchDriver default constructor
+ UserProperties(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ UserProperties(const UserProperties& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ long GetCount();
+ LPDISPATCH Item(const VARIANT& Index);
+ LPDISPATCH Add(LPCTSTR Name, long Type, const VARIANT& AddToFolderFields, const VARIANT& DisplayFormat);
+ LPDISPATCH Find(LPCTSTR Name, const VARIANT& Custom);
+ void Remove(long Index);
+};
+/////////////////////////////////////////////////////////////////////////////
+// Exceptions wrapper class
+
+class Exceptions : public COleDispatchDriver
+{
+public:
+ Exceptions() {} // Calls COleDispatchDriver default constructor
+ Exceptions(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ Exceptions(const Exceptions& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ long GetCount();
+ LPDISPATCH Item(const VARIANT& Index);
+};
+/////////////////////////////////////////////////////////////////////////////
+// Exception wrapper class
+
+class Exception : public COleDispatchDriver
+{
+public:
+ Exception() {} // Calls COleDispatchDriver default constructor
+ Exception(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
+ Exception(const Exception& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
+
+// Attributes
+public:
+
+// Operations
+public:
+ LPDISPATCH GetApplication();
+ long GetClass();
+ LPDISPATCH GetSession();
+ LPDISPATCH GetParent();
+ LPDISPATCH GetAppointmentItem();
+ BOOL GetDeleted();
+ DATE GetOriginalDate();
+};
+#endif
@@ -1 +1 @@ -version = "1.9.2a"; +version = "1.9.3"; |