summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--Makefile265
-rw-r--r--korganizer/koimportoldialog.cpp466
-rw-r--r--korganizer/koimportoldialog.h83
-rw-r--r--korganizer/korganizer.pro21
-rw-r--r--korganizer/mainwindow.cpp22
-rw-r--r--korganizer/mainwindow.h1
-rw-r--r--outport/StdAfx.h60
-rw-r--r--outport/msoutl9.cpp8214
-rw-r--r--outport/msoutl9.h1526
-rw-r--r--version2
10 files changed, 10536 insertions, 124 deletions
diff --git a/Makefile b/Makefile
index 22ba681..59e0664 100644
--- a/Makefile
+++ b/Makefile
@@ -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
@@ -1,172 +1,191 @@
TEMPLATE = app
CONFIG = qt warn_on
TARGET = kopi
OBJECTS_DIR = _obj/
MOC_DIR = _moc
DESTDIR= ../bin
include( ../variables.pri )
INCLUDEPATH += ../microkde ../ interfaces ../microkde/kdecore ../microkde/kdeui ../microkde/kio/kfile
#../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_
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 \
docprefs.h \
filtereditdialog.h \
incomingdialog.h \
incomingdialog_base.h \
interfaces/korganizer/baseview.h \
interfaces/korganizer/calendarviewbase.h \
journalentry.h \
kdatenavigator.h \
koagenda.h \
koagendaitem.h \
koagendaview.h \
kocounterdialog.h \
kodaymatrix.h \
kodialogmanager.h \
koeditordetails.h \
koeditorgeneral.h \
koeditorgeneralevent.h \
koeditorgeneraltodo.h \
koeditorrecurrence.h \
koeventeditor.h \
koeventpopupmenu.h \
koeventview.h \
koeventviewer.h \
koeventviewerdialog.h \
kofilterview.h \
koglobals.h \
koincidenceeditor.h \
kojournalview.h \
kolistview.h \
kolocationbox.h \
komonthview.h \
koprefs.h \
koprefsdialog.h \
kosyncprefsdialog.h \
kotimespanview.h \
kotodoeditor.h \
kotodoview.h \
kotodoviewitem.h \
koviewmanager.h \
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 \
kodialogmanager.cpp \
koeditordetails.cpp \
koeditorgeneral.cpp \
koeditorgeneralevent.cpp \
koeditorgeneraltodo.cpp \
koeditorrecurrence.cpp \
koeventeditor.cpp \
koeventpopupmenu.cpp \
koeventview.cpp \
koeventviewer.cpp \
koeventviewerdialog.cpp \
kofilterview.cpp \
koglobals.cpp \
koincidenceeditor.cpp \
kojournalview.cpp \
kolistview.cpp \
kolocationbox.cpp \
komonthview.cpp \
koprefs.cpp \
koprefsdialog.cpp \
kosyncprefsdialog.cpp \
kotimespanview.cpp \
kotodoeditor.cpp \
kotodoview.cpp \
kotodoviewitem.cpp \
koviewmanager.cpp \
kowhatsnextview.cpp \
ktimeedit.cpp \
lineview.cpp \
main.cpp \
mainwindow.cpp \
navigatorbar.cpp \
outgoingdialog.cpp \
outgoingdialog_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
@@ -1,247 +1,248 @@
#include <stdlib.h>
#include <qaction.h>
#include <qpopupmenu.h>
#include <qpainter.h>
#include <qwhatsthis.h>
#include <qmessagebox.h>
#include <qlineedit.h>
#include <qfile.h>
#include <qdir.h>
#include <qapp.h>
#include <qfileinfo.h>
#include <qlabel.h>
#include <qwmatrix.h>
#include <qtextbrowser.h>
#include <qtextstream.h>
#ifndef DESKTOP_VERSION
#include <qpe/global.h>
#include <qpe/qpemenubar.h>
#include <qpe/qpetoolbar.h>
#include <qpe/resource.h>
#include <qpe/qpeapplication.h>
#include <qtopia/alarmserver.h>
#include <qtopia/qcopenvelope_qws.h>
#else
#include <qmenubar.h>
#include <qtoolbar.h>
#include <qapplication.h>
//#include <resource.h>
#endif
#include <libkcal/calendarlocal.h>
#include <libkcal/todo.h>
#include <libkdepim/ksyncprofile.h>
#include <libkdepim/kincidenceformatter.h>
#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();
setIcon(SmallIcon( "ko24" ) );
mBlockAtStartup = true;
mFlagKeyPressed = false;
setCaption("KOrganizer/Pi");
KOPrefs *p = KOPrefs::instance();
// if ( QApplication::desktop()->height() > 480 ) {
// if ( p->mHourSize == 4 )
// p->mHourSize = 6;
// }
if ( p->mHourSize > 18 )
p->mHourSize = 18;
QMainWindow::ToolBarDock tbd;
if ( p->mToolBarHor ) {
if ( p->mToolBarUp )
tbd = Bottom;
else
tbd = Top;
}
else {
if ( p->mToolBarUp )
tbd = Right;
else
tbd = Left;
}
if ( KOPrefs::instance()->mUseAppColors )
QApplication::setPalette( QPalette (KOPrefs::instance()->mAppColor1, KOPrefs::instance()->mAppColor2), true );
globalFlagBlockStartup = 1;
iconToolBar = new QPEToolBar( this );
addToolBar (iconToolBar , tbd );
mBlockSaveFlag = false;
mCalendarModifiedFlag = false;
QLabel* splash = new QLabel(i18n("KO/Pi is starting ... "), this );
splash->setAlignment ( AlignCenter );
setCentralWidget( splash );
#ifndef DESKTOP_VERSION
showMaximized();
#endif
//qDebug("Mainwidget x %d y %d w %d h %d", x(), y(), width(), height ());
setDefaultPreferences();
mCalendar = new CalendarLocal();
mView = new CalendarView( mCalendar, this,"mCalendar " );
mView->hide();
//mView->resize(splash->size() );
initActions();
#ifndef DESKTOP_VERSION
iconToolBar->show();
qApp->processEvents();
#endif
//qDebug("Splashwidget x %d y %d w %d h %d", splash-> x(), splash->y(), splash->width(),splash-> height ());
int vh = height() ;
int vw = width();
//qDebug("Toolbar hei %d ",iconToolBar->height() );
if ( iconToolBar->orientation () == Qt:: Horizontal ) {
vh -= iconToolBar->height();
} else {
vw -= iconToolBar->height();
}
//mView->setMaximumSize( splash->size() );
//mView->resize( splash->size() );
//qDebug("MainView x %d y %d w %d h %d", mView->x(),mView-> y(), mView->width(), mView->height ());
mView->readSettings();
bool oldOpened = false;
bool newFile = false;
if( !QFile::exists( defaultFileName() ) ) {
QFileInfo finfo ( defaultFileName() );
QString oldFile = QDir::convertSeparators( QDir::homeDirPath()+"/Applications/korganizer/mycalendar.ics");
qDebug("oldfile %s ", oldFile.latin1());
QString message = "You are starting KO/Pi for the\nfirst time after updating to a\nversion >= 1.9.1. The location of the\ndefault calendar file has changed.\nA mycalendar.ics file was detected\nat the old location.\nThis file will be loaded now\nand stored at the new location!\n(Config file location has changed, too!)\nPlease read menu Help-What's New!\n";
finfo.setFile( oldFile );
if (finfo.exists() ) {
KMessageBox::information( this, message);
mView->openCalendar( oldFile );
qApp->processEvents();
} else {
oldFile = QDir::convertSeparators( QDir::homeDirPath()+"/korganizer/mycalendar.ics");
finfo.setFile( oldFile );
if (finfo.exists() ) {
KMessageBox::information( this, message);
mView->openCalendar( oldFile );
qApp->processEvents();
}
}
mView->saveCalendar( defaultFileName() );
newFile = true;
}
QTime neededSaveTime = QDateTime::currentDateTime().time();
if ( ! oldOpened )
mView->openCalendar( defaultFileName() );
int msNeeded = neededSaveTime.msecsTo( QDateTime::currentDateTime().time() );
qDebug("KO: Calendar loading time: %d ms",msNeeded );
if ( KOPrefs::instance()->mLanguageChanged ) {
KOPrefs::instance()->setCategoryDefaults();
int count = mView->addCategories();
KOPrefs::instance()->mLanguageChanged = false;
}
processIncidenceSelection( 0 );
connect( mView, SIGNAL( incidenceSelected( Incidence * ) ),
SLOT( processIncidenceSelection( Incidence * ) ) );
connect( mView, SIGNAL( modifiedChanged( bool ) ),
SLOT( slotModifiedChanged( bool ) ) );
connect( &mSaveTimer, SIGNAL( timeout() ), SLOT( save() ) );
mView->setModified( false );
mBlockAtStartup = false;
mView->setModified( false );
setCentralWidget( mView );
globalFlagBlockStartup = 0;
mView->show();
delete splash;
if ( newFile )
mView->updateConfig();
// qApp->processEvents();
//qDebug("MainView x %d y %d w %d h %d", mView->x(),mView-> y(), mView->width(), mView->height ());
fillSyncMenu();
mView->viewManager()->agendaView()->setStartHour( KOPrefs::instance()->mDayBegins );
if ( showWarning ) {
KMessageBox::information( this,
"You are starting KO/Pi for the first time.\nPlease read menu: Help-What's New,\nif you did an update!\nPlease choose your timezone in the \nConfigure Dialog TAB Time Zone!\nPlease choose your language\nin the TAB Locale!\nYou get the Configure Dialog\nvia Menu: Actions - Configure....\nClick OK to show the Configure Dialog!\n", "KO/Pi information");
qApp->processEvents();
mView->dialogManager()->showSyncOptions();
}
}
MainWindow::~MainWindow()
{
//qDebug("MainWindow::~MainWindow() ");
//save toolbar location
delete mCalendar;
delete KOPrefs::instance();
delete KIncidenceFormatter::instance();
}
void MainWindow::closeEvent( QCloseEvent* ce )
{
if ( ! KOPrefs::instance()->mAskForQuit ) {
saveOnClose();
ce->accept();
return;
}
switch( QMessageBox::information( this, "KO/Pi",
i18n("Do you really want\nto close KO/Pi?"),
i18n("Close"), i18n("No"),
0, 0 ) ) {
case 0:
saveOnClose();
ce->accept();
break;
case 1:
ce->ignore();
break;
case 2:
default:
break;
}
}
void MainWindow::recieve( const QCString& cmsg, const QByteArray& data )
{
QDataStream stream( data, IO_ReadOnly );
// QMessageBox::about( this, "About KOrganizer/Pi", "*" +msg +"*" );
//QString datamess;
//qDebug("message ");
qDebug("KO: QCOP message received: %s ", cmsg.data() );
@@ -395,1019 +396,1038 @@ void MainWindow::initActions()
configureAgendaMenu->insertSeparator();
configureAgendaMenu->insertItem(i18n("Tiny"), 4 );
configureAgendaMenu->insertItem(i18n("Small"), 6 );
configureAgendaMenu->insertItem(i18n("Medium"), 8 );
configureAgendaMenu->insertItem(i18n("Normal"), 10 );
configureAgendaMenu->insertItem(i18n("Large"), 12 );
configureAgendaMenu->insertItem(i18n("Big"), 14 );
configureAgendaMenu->insertItem(i18n("Bigger"), 16 );
configureAgendaMenu->insertItem(i18n("Biggest"), 18 );
//configureMenu->insertItem( "AgendaSize",configureAgendaMenu );
icon = loadPixmap( pathString + "configure" );
action = new QAction( i18n("Configure"),icon, i18n("Configure..."), 0, this );
action->addTo( actionMenu );
connect( action, SIGNAL( activated() ),
mView, SLOT( edit_options() ) );
actionMenu->insertSeparator();
icon = loadPixmap( pathString + "newevent" );
configureToolBarMenu->insertItem(i18n("Stretched TB"), 5 );
configureToolBarMenu->insertSeparator();
configureToolBarMenu->insertItem(icon, i18n("New Event..."), 10 );
QAction* ne_action = new QAction( i18n("New Event..."), icon, i18n("New Event..."), 0, this );
ne_action->addTo( actionMenu );
connect( ne_action, SIGNAL( activated() ),
mView, SLOT( newEvent() ) );
icon = loadPixmap( pathString + "newtodo" );
configureToolBarMenu->insertItem(icon, i18n("New Todo..."), 20 );
QAction* nt_action = new QAction( i18n("New Todo..."), icon, i18n("New Todo..."), 0, this );
nt_action->addTo( actionMenu );
connect( nt_action, SIGNAL( activated() ),
mView, SLOT( newTodo() ) );
icon = loadPixmap( pathString + "navi" );
action = new QAction( i18n("Toggle DateNavigator"), icon, i18n("Toggle DateNavigator"), 0, this );
action->addTo( viewMenu );
connect( action, SIGNAL( activated() ),
mView, SLOT( toggleDateNavigatorWidget() ) );
icon = loadPixmap( pathString + "filter" );
action = new QAction( i18n("Toggle FilterView"), icon, i18n("Toggle FilterView"), 0, this );
action->addTo( viewMenu );
connect( action, SIGNAL( activated() ),
mView, SLOT( toggleFilter() ) );
viewMenu->insertSeparator();
icon = loadPixmap( pathString + "picker" );
action = new QAction( i18n("Date Picker"), icon, i18n("Date Picker"), 0, this );
action->addTo( viewMenu );
connect( action, SIGNAL( activated() ),
mView, SLOT( showDatePicker() ) );
action->addTo( iconToolBar );
viewMenu->insertSeparator();
icon = loadPixmap( pathString + "list" );
configureToolBarMenu->insertItem(icon, i18n("List View"), 30 );
QAction* showlist_action = new QAction( i18n("List View"), icon, i18n("List View"), 0, this );
showlist_action->addTo( viewMenu );
connect( showlist_action, SIGNAL( activated() ),
mView->viewManager(), SLOT( showListView() ) );
icon = loadPixmap( pathString + "day" );
configureToolBarMenu->insertItem(icon, i18n("Day View"), 40 );
QAction* day1_action = new QAction( i18n("Day View"), icon, i18n("Day View"), 0, this );
day1_action->addTo( viewMenu );
// action->addTo( toolBar );
connect( day1_action, SIGNAL( activated() ),
mView->viewManager(), SLOT( showDayView() ) );
icon = loadPixmap( pathString + "workweek" );
configureToolBarMenu->insertItem(icon, i18n("Work Week"), 50 );
QAction* day5_action = new QAction( i18n("Work Week"), icon, i18n("Work Week"), 0, this );
day5_action->addTo( viewMenu );
connect( day5_action, SIGNAL( activated() ),
mView->viewManager(), SLOT( showWorkWeekView() ) );
icon = loadPixmap( pathString + "week" );
configureToolBarMenu->insertItem(icon, i18n("Week"), 60 );
QAction* day7_action = new QAction( i18n("Week"), icon, i18n("Week"), 0, this );
day7_action->addTo( viewMenu );
connect( day7_action, SIGNAL( activated() ),
mView->viewManager(), SLOT( showWeekView() ) );
icon = loadPixmap( pathString + "month" );
configureToolBarMenu->insertItem(icon, i18n("Month"), 70 );
QAction* month_action = new QAction( i18n("Month"), icon, i18n("Month"), 0, this );
month_action->addTo( viewMenu );
connect( month_action, SIGNAL( activated() ),
mView->viewManager(), SLOT( showMonthView() ) );
icon = loadPixmap( pathString + "todo" );
configureToolBarMenu->insertItem(icon, i18n("Todo View"), 80 );
QAction* todoview_action = new QAction( i18n("Todo View"), icon, i18n("Todo View"), 0, this );
todoview_action->addTo( viewMenu );
connect( todoview_action, SIGNAL( activated() ),
mView->viewManager(), SLOT( showTodoView() ) );
icon = loadPixmap( pathString + "journal" );
configureToolBarMenu->insertItem(icon, i18n("Journal"), 90 );
QAction* viewjournal_action = new QAction( i18n("Journal"), icon, i18n("Journal"), 0, this );
viewjournal_action->addTo( viewMenu );
connect( viewjournal_action, SIGNAL( activated() ),
mView->viewManager(), SLOT( showJournalView() ) );
icon = loadPixmap( pathString + "xdays" );
configureToolBarMenu->insertItem(icon, i18n("Next days"), 100,4 );
QAction* xdays_action = new QAction( i18n("Next days"), icon, i18n("Next days"), 0, this );
xdays_action->addTo( viewMenu );
connect( xdays_action, SIGNAL( activated() ),
mView->viewManager(), SLOT( showNextXView() ) );
icon = loadPixmap( pathString + "whatsnext" );
configureToolBarMenu->insertItem(icon, i18n("What's Next"), 110, 4 );
QAction* whatsnext_action = new QAction( i18n("What's Next"), icon, i18n("What's Next"), 0, this );
whatsnext_action->addTo( viewMenu );
connect( whatsnext_action, SIGNAL( activated() ),
mView->viewManager(), SLOT( showWhatsNextView() ) );
#if 0
action = new QAction( "view_timespan", "Time Span", 0, this );
action->addTo( viewMenu );
connect( action, SIGNAL( activated() ),
mView->viewManager(), SLOT( showTimeSpanView() ) );
#endif
mNewSubTodoAction = new QAction( "new_subtodo", i18n("New Sub-Todo..."), 0,
this );
mNewSubTodoAction->addTo( actionMenu );
connect( mNewSubTodoAction, SIGNAL( activated() ),
mView, SLOT( newSubTodo() ) );
actionMenu->insertSeparator();
mShowAction = new QAction( "show_incidence", i18n("Show..."), 0, this );
mShowAction->addTo( actionMenu );
connect( mShowAction, SIGNAL( activated() ),
mView, SLOT( showIncidence() ) );
mEditAction = new QAction( "edit_incidence", i18n("Edit..."), 0, this );
mEditAction->addTo( actionMenu );
connect( mEditAction, SIGNAL( activated() ),
mView, SLOT( editIncidence() ) );
mDeleteAction = new QAction( "delete_incidence", i18n("Delete..."), 0, this );
mDeleteAction->addTo( actionMenu );
connect( mDeleteAction, SIGNAL( activated() ),
mView, SLOT( deleteIncidence() ) );
actionMenu->insertSeparator();
action = new QAction( "purge_completed", i18n("Purge Completed"), 0,
this );
action->addTo( actionMenu );
connect( action, SIGNAL( activated() ), mView, SLOT( purgeCompleted() ) );
icon = loadPixmap( pathString + "search" );
QAction* search_action = new QAction( i18n("Search"), icon, i18n("Search..."), 0, this );
configureToolBarMenu->insertItem(icon, i18n("Search"), 120 , 4);
search_action->addTo( actionMenu );
connect( search_action, SIGNAL( activated() ),
mView->dialogManager(), SLOT( showSearchDialog() ) );
icon = loadPixmap( pathString + "today" );
configureToolBarMenu->insertItem(icon, i18n("Go to Today"), 130);
QAction* today_action = new QAction( i18n("Go to Today"), icon, i18n("Go to Today"), 0, this );
today_action->addTo( actionMenu );
connect( today_action, SIGNAL( activated() ),
mView, SLOT( goToday() ) );
if ( KOPrefs::instance()->mShowFullMenu ) {
actionMenu->insertSeparator();
actionMenu->insertItem( i18n("Configure Toolbar"),configureToolBarMenu );
}
// actionMenu->insertSeparator();
action = new QAction( "import_qtopia", i18n("Import (*.ics/*.vcs) file"), 0,
this );
action->addTo( importMenu );
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 );
action->addTo( importMenu ); connect( action, SIGNAL( activated() ), SLOT( exportVCalendar() ) );
importMenu->insertSeparator();
action = new QAction( "manage cat", i18n("Manage new categories..."), 0,
this );
action->addTo( importMenu );
connect( action, SIGNAL( activated() ), mView, SLOT( manageCategories() ) );
#ifndef DESKTOP_VERSION
importMenu->insertSeparator();
action = new QAction( "beam all", i18n("Beam complete calendar..."), 0,
this );
action->addTo( importMenu );
connect( action, SIGNAL( activated() ), mView, SLOT( beamCalendar() ) );
action = new QAction( "beam all", i18n("Beam filtered calendar..."), 0,
this );
action->addTo( importMenu );
connect( action, SIGNAL( activated() ), mView, SLOT( beamFilteredCalendar()) );
#else
importMenu->insertSeparator();
icon = loadPixmap( pathString + "print" );
action = new QAction( i18n("Print calendar..."),icon,i18n("Print calendar..."), 0, this );
action->addTo( importMenu );
connect( action, SIGNAL( activated() ),
this, SLOT( printCal() ) );
icon = loadPixmap( pathString + "print" );
action = new QAction( i18n("Print agenda selection..."),icon,i18n("Print agenda selection..."), 0, this );
action->addTo( importMenu );
connect( action, SIGNAL( activated() ),
this, SLOT( printSel() ) );
#endif
importMenu->insertSeparator();
action = new QAction( "beam all", i18n("Save"), 0,
this );
action->addTo( importMenu );
connect( action, SIGNAL( activated() ), this, SLOT( save() ) );
action = new QAction( "beam all", i18n("Exit (+save)"), 0,
this );
action->addTo( importMenu );
connect( action, SIGNAL( activated() ), this, SLOT( close() ) );
//menuBar->insertItem( "Configure",configureMenu );
//configureMenu->insertItem( "Toolbar",configureToolBarMenu );
icon = loadPixmap( "korganizer/korganizer" );
action = new QAction( "Keys + Colors", i18n("Keys + Colors..."), 0, this );
action->addTo( helpMenu );
connect( action, SIGNAL( activated() ),
SLOT( keyBindings() ) );
action = new QAction( "featureHowto", i18n("Features + hints..."), 0,this );
action->addTo( helpMenu );
connect( action, SIGNAL( activated() ),
SLOT( features() ) );
action = new QAction( "Auto saving", i18n("Auto saving..."), 0, this );
action->addTo( helpMenu );
connect( action, SIGNAL( activated() ),
SLOT( aboutAutoSaving() ) );
action = new QAction( "Problemd", i18n("Known Problems..."), 0,this );
action->addTo( helpMenu );
connect( action, SIGNAL( activated() ),
SLOT( aboutKnownBugs() ) );
action = new QAction( "Translate Howto", i18n("User translation..."), 0,this );
action->addTo( helpMenu );
connect( action, SIGNAL( activated() ),
SLOT( usertrans() ) );
action = new QAction( "Sync Howto", i18n("Sync HowTo..."), 0,this );
action->addTo( helpMenu );
connect( action, SIGNAL( activated() ),
SLOT( synchowto() ) );
action = new QAction( "Whats New", i18n("What's new?"), 0,this );
action->addTo( helpMenu );
connect( action, SIGNAL( activated() ),
SLOT( whatsNew() ) );
action = new QAction( "Frequently asked questions", i18n("FAQ..."), 0,this );
action->addTo( helpMenu );
connect( action, SIGNAL( activated() ),
SLOT( faq() ) );
action = new QAction( "about", i18n("About..."), 0, this );
action->addTo( helpMenu );
connect( action, SIGNAL( activated() ),
SLOT( about() ) );
//menuBar->insertSeparator();
// ******************************************************
// menubar icons
iconToolBar->setHorizontalStretchable (true );
//menuBar->insertItem( iconToolBar );
//xdays_action
if (p-> mShowIconNewEvent)
ne_action->addTo( iconToolBar );
if (p->mShowIconNewTodo )
nt_action->addTo( iconToolBar );
if (p-> mShowIconSearch)
search_action->addTo( iconToolBar );
if (p-> mShowIconNext)
whatsnext_action->addTo( iconToolBar );
if (p-> mShowIconNextDays)
xdays_action->addTo( iconToolBar );
if (p-> mShowIconList)
showlist_action->addTo( iconToolBar );
if (p-> mShowIconDay1)
day1_action->addTo( iconToolBar );
if (p-> mShowIconDay5)
day5_action->addTo( iconToolBar );
if (p-> mShowIconDay7)
day7_action->addTo( iconToolBar );
if (p-> mShowIconMonth)
month_action->addTo( iconToolBar );
if (p-> mShowIconTodoview)
todoview_action->addTo( iconToolBar );
if (p-> mShowIconJournal)
viewjournal_action->addTo( iconToolBar );
icon = loadPixmap( pathString + "2leftarrowB" );
configureToolBarMenu->insertItem(icon, i18n("Prev. month"), 200, 14);
if (p-> mShowIconBackFast) {
action = new QAction( i18n("Prev. month"), icon, i18n("Prev. month"),0 , this );
connect( action, SIGNAL( activated() ),
mView, SLOT( goPreviousMonth() ) );
action->addTo( iconToolBar );
}
icon = loadPixmap( pathString + "1leftarrowB" );
configureToolBarMenu->insertItem(icon, i18n("Go backward"), 210,15);
if (p-> mShowIconBack) {
action = new QAction( i18n("Go backward"), icon, i18n("Go backward"),0 , this );
connect( action, SIGNAL( activated() ),
mView, SLOT( goPrevious() ) );
action->addTo( iconToolBar );
}
if (p-> mShowIconToday)
today_action->addTo( iconToolBar );
icon = loadPixmap( pathString + "1rightarrowB" );
configureToolBarMenu->insertItem(icon, i18n("Go forward"), 220);
if (p-> mShowIconForward) {
action = new QAction( i18n("Go forward"), icon, i18n("Go forward"),0 , this );
connect( action, SIGNAL( activated() ),
mView, SLOT( goNext() ) );
action->addTo( iconToolBar );
}
icon = loadPixmap( pathString + "2rightarrowB" );
configureToolBarMenu->insertItem(icon, i18n("Next month"), 230);
if (p-> mShowIconForwardFast) {
action = new QAction( i18n("Next month"), icon, i18n("Next month"),0 , this );
connect( action, SIGNAL( activated() ),
mView, SLOT( goNextMonth() ) );
action->addTo( iconToolBar );
}
configureToolBarMenu->insertItem(i18n("What's This?"), 300);
if (p-> mShowIconNewEvent)
configureToolBarMenu->setItemChecked( 10, true );
if (p->mShowIconNewTodo )
configureToolBarMenu->setItemChecked( 20, true );
if (p-> mShowIconSearch)
configureToolBarMenu->setItemChecked( 120, true );
if (p-> mShowIconList)
configureToolBarMenu->setItemChecked( 30, true );
if (p-> mShowIconDay1)
configureToolBarMenu->setItemChecked( 40, true );
if (p-> mShowIconDay5)
configureToolBarMenu->setItemChecked( 50, true );
if (p-> mShowIconDay7)
configureToolBarMenu->setItemChecked( 60, true );
if (p-> mShowIconMonth)
configureToolBarMenu->setItemChecked( 70, true );
if (p-> mShowIconTodoview)
configureToolBarMenu->setItemChecked( 80, true );
if (p-> mShowIconBackFast)
configureToolBarMenu->setItemChecked( 200, true );
if (p-> mShowIconBack)
configureToolBarMenu->setItemChecked( 210, true );
if (p-> mShowIconToday)
configureToolBarMenu->setItemChecked( 130, true );
if (p-> mShowIconForward)
configureToolBarMenu->setItemChecked( 220, true );
if (p-> mShowIconForwardFast)
configureToolBarMenu->setItemChecked( 230, true );
if (p-> mShowIconNextDays)
configureToolBarMenu->setItemChecked( 100, true );
if (p-> mShowIconNext)
configureToolBarMenu->setItemChecked( 110, true );
if (p-> mShowIconJournal)
configureToolBarMenu->setItemChecked( 90, true );
if (p-> mShowIconWhatsThis)
configureToolBarMenu->setItemChecked( 300, true );
QLabel* dummy = new QLabel( iconToolBar );
dummy->setBackgroundColor( iconToolBar->backgroundColor() );
if (!p-> mShowIconStretch)
iconToolBar->setStretchableWidget ( dummy ) ;
else
configureToolBarMenu->setItemChecked( 5, true );
if (p-> mShowIconWhatsThis)
QWhatsThis::whatsThisButton ( iconToolBar );
connect( configureToolBarMenu, SIGNAL( activated( int ) ),this, SLOT(configureToolBar( int ) ) );
configureAgenda( p->mHourSize );
connect( configureAgendaMenu, SIGNAL( activated( int ) ),this, SLOT(configureAgenda( int ) ) );
}
void MainWindow::fillSyncMenu()
{
syncMenu->clear();
syncMenu->insertItem( i18n("Configure..."), 0 );
syncMenu->insertSeparator();
syncMenu->insertItem( i18n("Multiple sync"), 1 );
syncMenu->insertSeparator();
QStringList prof = KOPrefs::instance()->mSyncProfileNames;
if ( prof.count() < 3 ) {
KConfig *config = KOGlobals::config();
prof.clear();
prof << i18n("Sharp-DTM");
prof << i18n("Local file");
prof << i18n("Last file");
KSyncProfile* temp = new KSyncProfile ();
temp->setName( prof[0] );
temp->writeConfig(config);
temp->setName( prof[1] );
temp->writeConfig(config);
temp->setName( prof[2] );
temp->writeConfig(config);
config->sync();
delete temp;
KOPrefs::instance()->mSyncProfileNames = prof;
}
int i;
for ( i = 0; i < prof.count(); ++i ) {
syncMenu->insertItem( prof[i], 1000+i );
if ( i == 2 )
syncMenu->insertSeparator();
}
QDir app_dir;
if ( !app_dir.exists(QDir::homeDirPath()+"/Applications/dtm" ) ) {
syncMenu->setItemEnabled( false , 1000 );
}
}
int MainWindow::ringSync()
{
int syncedProfiles = 0;
int i;
QTime timer;
KConfig *config = KOGlobals::config();
QStringList syncProfileNames = KOPrefs::instance()->mSyncProfileNames;
KSyncProfile* temp = new KSyncProfile ();
KOPrefs::instance()->mAskForPreferences = false;
for ( i = 0; i < syncProfileNames.count(); ++i ) {
mCurrentSyncProfile = i;
temp->setName(syncProfileNames[mCurrentSyncProfile]);
temp->readConfig(config);
if ( temp->getIncludeInRingSync() && ( i < 1 || i > 2 )) {
setCaption(i18n("Profile ")+syncProfileNames[mCurrentSyncProfile]+ i18n(" is synced ... "));
++syncedProfiles;
// KOPrefs::instance()->mAskForPreferences = temp->getAskForPreferences();
KOPrefs::instance()->mWriteBackFile = temp->getWriteBackFile();
KOPrefs::instance()->mWriteBackExistingOnly = temp->getWriteBackExisting();
KOPrefs::instance()->mShowSyncSummary = false;
mView->setSyncDevice(syncProfileNames[i] );
mView->setSyncName( KOPrefs::instance()->mLocalMachineName );
if ( i == 0 ) {
syncSharp();
} else {
if ( temp->getIsLocalFileSync() ) {
if ( syncWithFile( temp->getRemoteFileName( ), true ) )
KOPrefs::instance()->mLastSyncedLocalFile = temp->getRemoteFileName();
} else {
syncRemote( temp, false );
}
}
timer.start();
setCaption(i18n("Multiple sync in progress ... please wait!") );
while ( timer.elapsed () < 2000 ) {
qApp->processEvents();
#ifndef _WIN32_
sleep (1);
#endif
}
}
}
delete temp;
return syncedProfiles;
}
void MainWindow::multiSync( bool askforPrefs )
{
if (mBlockSaveFlag)
return;
mBlockSaveFlag = true;
QString question = i18n("Do you really want\nto multiple sync\nwith all checked profiles?\nSyncing takes some\ntime - all profiles\nare synced twice!");
if ( QMessageBox::information( this, i18n("KO/Pi Sync"),
question,
i18n("Yes"), i18n("No"),
0, 0 ) != 0 ) {
mBlockSaveFlag = false;
setCaption(i18n("Aborted! Nothing synced!"));
return;
}
mView->setSyncDevice(i18n("Multiple profiles") );
KOPrefs::instance()->mSyncAlgoPrefs = KOPrefs::instance()->mRingSyncAlgoPrefs;
if ( askforPrefs ) {
mView->edit_sync_options();
KOPrefs::instance()->mRingSyncAlgoPrefs = KOPrefs::instance()->mSyncAlgoPrefs;
}
setCaption(i18n("Multiple sync started.") );
qApp->processEvents();
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]);
temp->readConfig(config);
KOPrefs::instance()->mAskForPreferences = temp->getAskForPreferences();
KOPrefs::instance()->mSyncAlgoPrefs = temp->getSyncPrefs();
KOPrefs::instance()->mWriteBackFile = temp->getWriteBackFile();
KOPrefs::instance()->mWriteBackExistingOnly = temp->getWriteBackExisting();
KOPrefs::instance()->mShowSyncSummary = temp->getShowSummaryAfterSync();
if ( action == 1000 ) {
syncSharp();
} else if ( action == 1001 ) {
syncLocalFile();
} else if ( action == 1002 ) {
quickSyncLocalFile();
} else if ( action >= 1003 ) {
if ( temp->getIsLocalFileSync() ) {
if ( syncWithFile( temp->getRemoteFileName( ), false ) )
KOPrefs::instance()->mLastSyncedLocalFile = temp->getRemoteFileName();
} else {
syncRemote( temp );
}
}
delete temp;
mBlockSaveFlag = false;
}
void MainWindow::setDefaultPreferences()
{
KOPrefs *p = KOPrefs::instance();
p->mCompactDialogs = true;
p->mConfirm = true;
// p->mEnableQuickTodo = false;
}
QString MainWindow::resourcePath()
{
return KGlobal::iconLoader()->iconPath();
}
void MainWindow::displayText( QString text ,QString cap )
{
QDialog dia( this, "name", true ); ;
dia.setCaption( cap );
QVBoxLayout* lay = new QVBoxLayout( &dia );
lay->setSpacing( 3 );
lay->setMargin( 3 );
QTextBrowser tb ( &dia );
lay->addWidget( &tb );
tb.setText( text );
#ifdef DESKTOP_VERSION
dia.resize( 640, 480);
#else
dia.showMaximized();
#endif
dia.exec();
}
void MainWindow::displayFile( QString fn, QString cap )
{
QString fileName = resourcePath() + fn;
QString text;
QFile file( fileName );
if (!file.open( IO_ReadOnly ) ) {
return ;
}
QTextStream ts( &file );
text = ts.read();
file.close();
displayText( text, cap);
}
void MainWindow::features()
{
displayFile( "featuresKOPI.txt",i18n("KO/Pi Features and hints") );
}
void MainWindow::usertrans()
{
displayFile( "usertranslationHOWTO.txt",i18n("KO/Pi User translation HowTo") );
}
void MainWindow::synchowto()
{
displayFile( "howtoSYNC.txt",i18n("KO/Pi Synchronization HowTo") );
}
void MainWindow::faq()
{
displayFile( "kopiFAQ.txt",i18n("KO/Pi FAQ") );
}
void MainWindow::whatsNew()
{
displayFile( "kopiWhatsNew.txt",i18n("KO/Pi Version Info") );
}
void MainWindow::about()
{
QString version;
#include <../version>
QMessageBox::about( this, i18n("About KOrganizer/Pi"),
i18n("KOrganizer/Platform-independent\n") +
"(KO/Pi) " + version + " - " +
#ifdef DESKTOP_VERSION
i18n("Desktop Edition\n") +
#else
i18n("PDA-Edition\nfor: Zaurus 5x00 / 7x0 / 8x0\n") +
#endif
i18n("(c) 2004 Lutz Rogowski\nEmail:lutz@pi-sync.net\nKO/Pi is based on KOrganizer\n(c) 2002,2003 Cornelius Schumacher\nEmail: schumacher@kde.org\nKOrganizer/Pi is licensed\nunder the GPL.\nKO/Pi can be compiled for\nLinux, Zaurus-PDA and Windows\nwww.korganizer.org\nwww.pi-sync.net\n") );
}
void MainWindow::keyBindings()
{
QString cap = i18n("Key bindings KOrganizer/Pi");
QString text = i18n("<p><h2>KO/Pi key shortcuts:</h2></p>\n") +
i18n("<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n")+
i18n("<p><b>I</b>: Show info for selected event/todo</p>\n") +
i18n("<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n")+
i18n("<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n")+
i18n("<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n")+
i18n("<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n")+
i18n("<p><b>N</b>: Next days view| <b>W</b>: What's next view\n ")+
i18n("<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n")+
i18n("<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n")+
i18n("<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n")+
i18n("<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n")+
i18n("<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n")+
i18n("<p><b>S+ctrl</b>: Add sub-todo | <b>X</b>: Toggle datenavigator</p>\n")+
i18n("<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n")+
i18n("<p><b>C</b>: Show current time in agenda view</p>\n")+
i18n("<p><b>B</b>: Edit description (details) of selected item</p>\n")+
i18n("<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n")+
i18n("<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n")+
i18n("<p><b>del,backspace</b>: Delete selected item</p>\n")+
i18n("<p><h3>In agenda view:</h3></p>\n") +
i18n("<p><b>up/down</b>: Scroll agenda view</p>\n")+
i18n("<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n")+
i18n("<p><h3>In todo view:</h3></p>\n") +
i18n("<p><b>Q</b>: Toggle quick todo line edit.</p>\n")+
i18n("<p><b>I</b>: Show info of current item+one step down.</p>\n")+
i18n("<p><b>return</b>: Mark item as completed+one step down.</p>\n")+
i18n("<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n")+
i18n("<p><h3>In list view:</h3></p>\n") +
i18n("<p><b>I</b>: Show info of current item+one step down.</p>\n")+
i18n("<p><b>return</b>: Select item+one step down</p>\n")+
i18n("<p><b>return+shift</b>: Deselect item+one step down</p>\n")+
i18n("<p><b>up/down</b>: Next/prev item</p>\n")+
i18n("<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n")+
i18n("<p><b>shift+up/down</b>: Goto first/last item</p>\n")+
i18n("<p><h3>In event/todo viewer:</h3></p>\n") +
i18n("<p><b>I,C</b>: Close dialog.</p>\n")+
i18n("<p><b>A</b>: Show agenda view.</p>\n")+
i18n("<p><b>E</b>: Edit item</p>\n") +
i18n("<p><h2>KO/Pi icon colors:</h2></p>\n") +
i18n("<p><b>(for square icons in agenda and month view)</b></p>\n") +
i18n("<p><b>Cross</b>: Item cancelled.([c] in Whats'Next view)</p>\n")+
i18n("<p><b>Red</b>: Alarm set.([a] in Whats'Next view)</p>\n")+
i18n("<p><b>Blue</b>: Recurrent event.([r] in Whats'Next view)</p>\n")+
i18n("<p><b>Dark green</b>: Information(description) available.([i] in WN view)</p>\n")+
i18n("<p><b>Black</b>: Event/todo with attendees. You are the organizer!</p>\n")+
i18n("<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n") +
i18n("<p><b>White</b>: Item readonly</p>\n");
displayText( text, cap);
}
void MainWindow::aboutAutoSaving()
{
QMessageBox* msg;
msg = new QMessageBox( i18n("Auto Saving in KOrganizer/Pi"),
i18n("After changing something, the data is\nautomatically saved to the file\n~/Applications/korganizer/calendar/mycalendar.ics\nafter (configureable) three minutes.\nFor safety reasons there is one autosaving\nafter 10 minutes (of idle time) again. The \ndata is saved automatically when closing KO/Pi\nYou can create a backup file \nwith: File - Save Calendar Backup\n"), QMessageBox::NoIcon,
QMessageBox::Ok,
QMessageBox::NoButton,
QMessageBox::NoButton);
msg->exec();
delete msg;
}
void MainWindow::aboutKnownBugs()
{
QMessageBox* msg;
msg = new QMessageBox( i18n("Known Problems in KOrganizer/Pi"),
i18n("1) Importing *.vcs or *.ics files from\nother applications may not work properly,\nif there are events with properties\nKO/Pi does not support.\n")+
i18n("2) Audio alarm daemon\nfor Zaurus is available!\nas an additional small application\n")+
i18n("\nPlease report unexpected behaviour to\nlutz@pi-sync.net\n") +
i18n("\nor report them in the bugtracker on\n") +
i18n("\nhttp://sourceforge.net/projects/kdepimpi\n"),
QMessageBox::NoIcon,
QMessageBox::Ok,
QMessageBox::NoButton,
QMessageBox::NoButton);
msg->exec();
delete msg;
}
QString MainWindow::defaultFileName()
{
return locateLocal( "data", "korganizer/mycalendar.ics" );
}
void MainWindow::processIncidenceSelection( Incidence *incidence )
{
if ( !incidence ) {
enableIncidenceActions( false );
mNewSubTodoAction->setEnabled( false );
setCaptionToDates();
return;
}
//KGlobal::locale()->formatDateTime(nextA, true);
QString startString = "";
if ( incidence->type() != "Todo" ) {
if ( incidence->dtStart().date() < incidence->dtEnd().date() ) {
if ( incidence->doesFloat() ) {
startString += ": "+incidence->dtStartDateStr( true );
startString += " --- "+((Event*)incidence)->dtEndDateStr( true );
} else {
startString = ": "+incidence->dtStartStr(true);
startString += " --- "+((Event*)incidence)->dtEndStr(true);
}
} else {
if ( incidence->dtStart().time() != incidence->dtEnd().time() )
startString = ": "+KGlobal::locale()->formatTime(incidence->dtStart().time())+
"-"+KGlobal::locale()->formatTime(incidence->dtEnd().time());
startString +=" "+KGlobal::locale()->formatDate( incidence->dtStart().date(), true);
}
}
else
startString = i18n(": (Prio ") +QString::number( (( KCal::Todo*)incidence)->priority() ) +") "+QString::number( (( KCal::Todo*)incidence)->percentComplete() ) +i18n("\% completed");
if ( !incidence->location().isEmpty() )
startString += " (" +incidence->location()+")";
setCaption( incidence->summary()+startString);
enableIncidenceActions( true );
if ( incidence->type() == "Event" ) {
mShowAction->setText( i18n("Show Event...") );
mEditAction->setText( i18n("Edit Event...") );
mDeleteAction->setText( i18n("Delete Event...") );
mNewSubTodoAction->setEnabled( false );
} else if ( incidence->type() == "Todo" ) {
mShowAction->setText( i18n("Show Todo...") );
mEditAction->setText( i18n("Edit Todo...") );
mDeleteAction->setText( i18n("Delete Todo...") );
mNewSubTodoAction->setEnabled( true );
} 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
int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),
i18n("When importing a calendar twice\nduplicated events will be ignored!\nYou can create a backup file with\nFile - Save Calendar Backup\nto revert importing"),
i18n("Import!"), i18n("Cancel"), 0,
0, 1 );
if ( result == 0 ) {
QString datebook = Global::applicationFileName( "datebook", "datebook.xml");
QString todolist = Global::applicationFileName( "todolist", "todolist.xml");
QString categories = QString( getenv( "HOME" ) ) + "/Settings/Categories.xml";
mView->importQtopia( categories, datebook, todolist );
}
#else
int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),
i18n("Not supported \non desktop!\n"),
i18n("Ok"), i18n("Cancel"), 0,
0, 1 );
#endif
}
void MainWindow::saveOnClose()
{
KOPrefs *p = KOPrefs::instance();
p->mToolBarHor = ( iconToolBar->orientation () == Qt:: Horizontal );
p->mToolBarUp = iconToolBar->x() > width()/2 ||
iconToolBar->y() > height()/2;
mView->writeSettings();
if ( mCalendarModifiedFlag || mView->checkFileChanged( defaultFileName()))
save();
}
void MainWindow::slotModifiedChanged( bool changed )
{
if ( mBlockAtStartup )
return;
int msec;
// we store the changes after 1 minute,
// and for safety reasons after 10 minutes again
if ( !mBlockSaveFlag )
msec = (1000 * 60*KOPrefs::instance()->mAutoSaveInterval) +1000;
else
msec = 1000 * 600;
mSaveTimer.start( msec, true ); // 1 minute
qDebug("KO: Saving File in %d secs!", msec/1000);
mCalendarModifiedFlag = true;
}
#include <qfileinfo.h>
void MainWindow::save()
{
if ( mBlockSaveFlag )
return;
bool store = mBlockSaveFlag;
mBlockSaveFlag = true;
if ( mView->checkFileVersion( defaultFileName()) ) {
QTime neededSaveTime = QDateTime::currentDateTime().time();
setCaption(i18n("KO/Pi:Saving Data to File ..." ));
qDebug("KO: Start saving data to file!");
mView->saveCalendar( defaultFileName() );
int msNeeded = neededSaveTime.msecsTo( QDateTime::currentDateTime().time() );
mView->setLoadedFileVersion(QDateTime::currentDateTime());
qDebug("KO: Needed %d ms for saving.",msNeeded );
QString savemes;
savemes.sprintf(i18n("KO/Pi:File Saved. Needed %d sec, %d ms"),(msNeeded/1000)%100,msNeeded%1000 );
setCaption(savemes);
} else
setCaption(i18n("Saving cancelled!"));
mCalendarModifiedFlag = false;
mBlockSaveFlag = store;
}
void MainWindow::keyReleaseEvent ( QKeyEvent * e)
{
if ( !e->isAutoRepeat() ) {
mFlagKeyPressed = false;
}
}
void MainWindow::keyPressEvent ( QKeyEvent * e )
{
qApp->processEvents();
if ( e->isAutoRepeat() && !mFlagKeyPressed ) {
e->ignore();
// qDebug(" ignore %d",e->isAutoRepeat() );
return;
}
if (! e->isAutoRepeat() )
mFlagKeyPressed = true;
KOPrefs *p = KOPrefs::instance();
bool showSelectedDates = false;
int size;
int pro = 0;
//qDebug("MainWindow::keyPressEvent ");
switch ( e->key() ) {
case Qt::Key_Right:
if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton)
mView->goNextMonth();
else
mView->goNext();
showSelectedDates = true;
break;
case Qt::Key_Left:
if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton )
mView->goPreviousMonth();
else
mView->goPrevious();
showSelectedDates = true;
break;
case Qt::Key_Down:
mView->viewManager()->agendaView()->scrollOneHourDown();
break;
case Qt::Key_Up:
mView->viewManager()->agendaView()->scrollOneHourUp();
break;
case Qt::Key_I:
mView->showIncidence();
break;
case Qt::Key_Delete:
case Qt::Key_Backspace:
mView->deleteIncidence();
break;
case Qt::Key_D:
mView->viewManager()->showDayView();
showSelectedDates = true;
break;
case Qt::Key_O:
mView->toggleFilerEnabled( );
break;
case Qt::Key_0:
case Qt::Key_1:
case Qt::Key_2:
case Qt::Key_3:
case Qt::Key_4:
case Qt::Key_5:
case Qt::Key_6:
case Qt::Key_7:
case Qt::Key_8:
case Qt::Key_9:
pro = e->key()-48;
if ( pro == 0 )
pro = 10;
if ( e->state() == Qt::ControlButton)
pro += 10;
break;
case Qt::Key_M:
mView->viewManager()->showMonthView();
showSelectedDates = true;
break;
case Qt::Key_Insert:
mView->newEvent();
break;
case Qt::Key_S :
if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton)
mView->newSubTodo();
else
mView->dialogManager()->showSearchDialog();
break;
case Qt::Key_Y :
case Qt::Key_Z :
mView->viewManager()->showWorkWeekView();
showSelectedDates = true;
break;
case Qt::Key_U :
mView->viewManager()->showWeekView();
showSelectedDates = true;
break;
case Qt::Key_H :
keyBindings();
break;
case Qt::Key_W:
mView->viewManager()->showWhatsNextView();
break;
case Qt::Key_L:
mView->viewManager()->showListView();
break;
case Qt::Key_N:
mView->viewManager()->showNextXView();
showSelectedDates = true;
diff --git a/korganizer/mainwindow.h b/korganizer/mainwindow.h
index ee4aaa6..a681f42 100644
--- a/korganizer/mainwindow.h
+++ b/korganizer/mainwindow.h
@@ -1,115 +1,116 @@
#ifndef KORGE_MAINWINDOW_H
#define KORGE_MAINWINDOW_H
#include <qmainwindow.h>
#include <qtimer.h>
#include <qdict.h>
#include <libkcal/incidence.h>
#include "simplealarmclient.h"
class QAction;
class CalendarView;
class KSyncProfile;
#ifdef DESKTOP_VERSION
#define QPEToolBar QToolBar
#define QPEMenuBar QMenuBar
#endif
class QPEToolBar;
namespace KCal {
class CalendarLocal;
}
using namespace KCal;
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow( QWidget *parent = 0, const char *name = 0, QString command = "");
~MainWindow();
public slots:
void configureAgenda( int );
void recieve( const QCString& msg, const QByteArray& data );
static QString defaultFileName();
static QString resourcePath();
protected slots:
void setCaptionToDates();
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();
void confSync();
void syncSharp();
void syncLocalFile();
bool syncWithFile( QString, bool );
void quickSyncLocalFile();
protected:
void displayText( QString, QString);
void displayFile( QString, QString);
void enableIncidenceActions( bool );
private:
void saveOnClose();
int mCurrentSyncProfile;
void syncRemote( KSyncProfile* , bool ask = true);
void fillSyncMenu();
bool mFlagKeyPressed;
bool mBlockAtStartup;
QPEToolBar *iconToolBar;
void initActions();
void setDefaultPreferences();
void keyPressEvent ( QKeyEvent * ) ;
void keyReleaseEvent ( QKeyEvent * ) ;
QPopupMenu *configureToolBarMenu;
QPopupMenu *configureAgendaMenu, *syncMenu;
CalendarLocal *mCalendar;
CalendarView *mView;
QString getPassword();
QAction *mNewSubTodoAction;
QAction *mShowAction;
QAction *mEditAction;
QAction *mDeleteAction;
void closeEvent( QCloseEvent* ce );
SimpleAlarmClient mAlarmClient;
QTimer mSaveTimer;
bool mBlockSaveFlag;
bool mCalendarModifiedFlag;
QPixmap loadPixmap( QString );
};
#endif
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
diff --git a/version b/version
index 045af9f..c9b8723 100644
--- a/version
+++ b/version
@@ -1 +1 @@
-version = "1.9.2a";
+version = "1.9.3";