summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile265
-rw-r--r--korganizer/koimportoldialog.cpp466
-rw-r--r--korganizer/koimportoldialog.h83
-rw-r--r--korganizer/korganizer.pro23
-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, 10537 insertions, 125 deletions
diff --git a/Makefile b/Makefile
index 22ba681..59e0664 100644
--- a/Makefile
+++ b/Makefile
@@ -1,122 +1,145 @@
1DISTPATH = $(shell pwd) 1#############################################################################
2DISTDIR = $(shell basename $(DISTPATH)) 2# Makefile for building: kopi-desktop
3 3# Generated by qmake (1.07a) (Qt 3.3.1) on: Sat Jul 10 00:50:39 2004
4SUBDIRS = libical/src/libical libical/src/libicalss qtcompat microkde \ 4# Project: kopi-desktop.pro
5 libkcal libkdepim kabc kabc/converter/opie kabc/formats/binary kabc/plugins/file kabc/plugins/dir \ 5# Template: subdirs
6 kabc/plugins/opie kaddressbook/xxport/opie \ 6# Command: $(QMAKE) -o Makefile kopi-desktop.pro
7 korganizer kalarmd kaddressbook kmicromail/libetpan kmicromail/libmailwrapper kmicromail 7#############################################################################
8all: tmake 8
9 for i in $(SUBDIRS); do pushd $$i; \ 9 MAKEFILE =Makefile
10 make -f Makefile$(PLATFORM) || exit 1; popd; \ 10 QMAKE =qmake
11 done 11DEL_FILE = rm -f
12 12CHK_DIR_EXISTS= test -d
13objects: 13MKDIR = mkdir -p
14 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done 14 SUBTARGETS = \
15 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done 15 sub-libical \
16 mkdir -p libical/lib/$(PLATFORM) 16 sub-libkcal \
17 17 sub-microkde \
18clean: 18 sub-libkdepim \
19 rm -f libical/lib/$(PLATFORM)/*; 19 sub-kabc \
20 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ 20 sub-korganizer \
21 rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ 21 sub-kaddressbook \
22 done 22 sub-kabc-plugins-file \
23install: 23 sub-kabc-plugins-dir
24 cd bin/kdepim; make install 24
25 cp db2file/db2file $(QPEDIR)/bin/db2file 25first: all
26 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop 26
27 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop 27all: Makefile $(SUBTARGETS)
28 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop 28
29 29libical/$(MAKEFILE):
30dist: 30 @$(CHK_DIR_EXISTS) "libical" || $(MKDIR) "libical"
31 @echo Dont forget to do "make install" before "make dist" 31 cd libical && $(QMAKE) libical.pro -o $(MAKEFILE)
32 rm -f *arm.ipk 32sub-libical: libical/$(MAKEFILE) FORCE
33 rm -f *~ 33 cd libical && $(MAKE) -f $(MAKEFILE)
34 cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim 34
35 mkipks kmicrokdelibs.control 35libkcal/$(MAKEFILE):
36 mkipks korganizer.control 36 @$(CHK_DIR_EXISTS) "libkcal" || $(MKDIR) "libkcal"
37 mkipks kaddressbook.control 37 cd libkcal && $(QMAKE) libkcal.pro -o $(MAKEFILE)
38 mkipks kopiemail.control 38sub-libkcal: libkcal/$(MAKEFILE) FORCE
39 mkipks korganizer-alarm.control 39 cd libkcal && $(MAKE) -f $(MAKEFILE)
40 40
41tmake: objects qtcompat/Makefile$(PLATFORM) microkde/Makefile$(PLATFORM) \ 41microkde/$(MAKEFILE):
42 libkcal/Makefile$(PLATFORM) \ 42 @$(CHK_DIR_EXISTS) "microkde" || $(MKDIR) "microkde"
43 libkdepim/Makefile$(PLATFORM) korganizer/Makefile$(PLATFORM) \ 43 cd microkde && $(QMAKE) microkde.pro -o $(MAKEFILE)
44 kalarmd/Makefile$(PLATFORM) \ 44sub-microkde: microkde/$(MAKEFILE) FORCE
45 libical/src/libical/Makefile$(PLATFORM) \ 45 cd microkde && $(MAKE) -f $(MAKEFILE)
46 libical/src/libicalss/Makefile$(PLATFORM) \ 46
47 kabc/Makefile$(PLATFORM) \ 47libkdepim/$(MAKEFILE):
48 kabc/converter/opie/Makefile$(PLATFORM) \ 48 @$(CHK_DIR_EXISTS) "libkdepim" || $(MKDIR) "libkdepim"
49 kaddressbook/xxport/opie/Makefile$(PLATFORM) \ 49 cd libkdepim && $(QMAKE) libkdepim.pro -o $(MAKEFILE)
50 kabc/formats/binary/Makefile$(PLATFORM) \ 50sub-libkdepim: libkdepim/$(MAKEFILE) FORCE
51 kabc/plugins/file/Makefile$(PLATFORM) \ 51 cd libkdepim && $(MAKE) -f $(MAKEFILE)
52 kabc/plugins/dir/Makefile$(PLATFORM) \ 52
53 kabc/plugins/ldap/Makefile$(PLATFORM) \ 53kabc/$(MAKEFILE):
54 kabc/plugins/opie/Makefile$(PLATFORM) \ 54 @$(CHK_DIR_EXISTS) "kabc" || $(MKDIR) "kabc"
55 kaddressbook/Makefile$(PLATFORM) \ 55 cd kabc && $(QMAKE) kabc.pro -o $(MAKEFILE)
56 kmicromail/Makefile$(PLATFORM) \ 56sub-kabc: kabc/$(MAKEFILE) FORCE
57 kmicromail/libetpan/Makefile$(PLATFORM) \ 57 cd kabc && $(MAKE) -f $(MAKEFILE)
58 kmicromail/libmailwrapper/Makefile$(PLATFORM) 58
59 59korganizer/$(MAKEFILE):
60 60 @$(CHK_DIR_EXISTS) "korganizer" || $(MKDIR) "korganizer"
61 61 cd korganizer && $(QMAKE) korganizer.pro -o $(MAKEFILE)
62qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro 62sub-korganizer: korganizer/$(MAKEFILE) FORCE
63 cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) 63 cd korganizer && $(MAKE) -f $(MAKEFILE)
64 64
65microkde/Makefile$(PLATFORM): microkde/microkdeE.pro 65kaddressbook/$(MAKEFILE):
66 cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) 66 @$(CHK_DIR_EXISTS) "kaddressbook" || $(MKDIR) "kaddressbook"
67 67 cd kaddressbook && $(QMAKE) kaddressbook.pro -o $(MAKEFILE)
68libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro 68sub-kaddressbook: kaddressbook/$(MAKEFILE) FORCE
69 cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) 69 cd kaddressbook && $(MAKE) -f $(MAKEFILE)
70 70
71 71kabc/plugins/file/$(MAKEFILE):
72libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro 72 @$(CHK_DIR_EXISTS) "kabc/plugins/file" || $(MKDIR) "kabc/plugins/file"
73 cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) 73 cd kabc/plugins/file && $(QMAKE) file.pro -o $(MAKEFILE)
74 74sub-kabc-plugins-file: kabc/plugins/file/$(MAKEFILE) FORCE
75kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro 75 cd kabc/plugins/file && $(MAKE) -f $(MAKEFILE)
76 cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) 76
77 77kabc/plugins/dir/$(MAKEFILE):
78korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro 78 @$(CHK_DIR_EXISTS) "kabc/plugins/dir" || $(MKDIR) "kabc/plugins/dir"
79 cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) 79 cd kabc/plugins/dir && $(QMAKE) dir.pro -o $(MAKEFILE)
80 80sub-kabc-plugins-dir: kabc/plugins/dir/$(MAKEFILE) FORCE
81libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro 81 cd kabc/plugins/dir && $(MAKE) -f $(MAKEFILE)
82 cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) 82
83 83Makefile: kopi-desktop.pro /usr/lib/qt3/mkspecs/default/qmake.conf
84libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro 84 $(QMAKE) -o Makefile kopi-desktop.pro
85 cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) 85qmake: qmake_all
86 86 @$(QMAKE) -o Makefile kopi-desktop.pro
87kabc/Makefile$(PLATFORM): kabc/kabcE.pro 87
88 cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) 88all: $(SUBTARGETS)
89 89qmake_all: libical/$(MAKEFILE) libkcal/$(MAKEFILE) microkde/$(MAKEFILE) libkdepim/$(MAKEFILE) kabc/$(MAKEFILE) korganizer/$(MAKEFILE) kaddressbook/$(MAKEFILE) kabc/plugins/file/$(MAKEFILE) kabc/plugins/dir/$(MAKEFILE)
90kabc/converter/opie/Makefile$(PLATFORM): kabc/converter/opie/opieconverterE.pro 90 ( [ -d libical ] && cd libical ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
91 cd kabc/converter/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieconverterE.pro -o Makefile$(PLATFORM) 91 ( [ -d libkcal ] && cd libkcal ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
92 92 ( [ -d microkde ] && cd microkde ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
93kaddressbook/xxport/opie/Makefile$(PLATFORM): kaddressbook/xxport/opie/opieE.pro 93 ( [ -d libkdepim ] && cd libkdepim ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
94 cd kaddressbook/xxport/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieE.pro -o Makefile$(PLATFORM) 94 ( [ -d kabc ] && cd kabc ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
95 95 ( [ -d korganizer ] && cd korganizer ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
96kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro 96 ( [ -d kaddressbook ] && cd kaddressbook ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
97 cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) 97 ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
98 98 ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
99kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/kabc_fileE.pro 99clean uicables mocables uiclean mocclean lexclean yaccclean : qmake_all FORCE
100 cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_fileE.pro -o Makefile$(PLATFORM) 100 ( [ -d libical ] && cd libical ; $(MAKE) -f $(MAKEFILE) $@; ) || true
101 101 ( [ -d libkcal ] && cd libkcal ; $(MAKE) -f $(MAKEFILE) $@; ) || true
102kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/kabc_dirE.pro 102 ( [ -d microkde ] && cd microkde ; $(MAKE) -f $(MAKEFILE) $@; ) || true
103 cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_dirE.pro -o Makefile$(PLATFORM) 103 ( [ -d libkdepim ] && cd libkdepim ; $(MAKE) -f $(MAKEFILE) $@; ) || true
104 104 ( [ -d kabc ] && cd kabc ; $(MAKE) -f $(MAKEFILE) $@; ) || true
105kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/kabc_ldapE.pro 105 ( [ -d korganizer ] && cd korganizer ; $(MAKE) -f $(MAKEFILE) $@; ) || true
106 cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_ldapE.pro -o Makefile$(PLATFORM) 106 ( [ -d kaddressbook ] && cd kaddressbook ; $(MAKE) -f $(MAKEFILE) $@; ) || true
107 107 ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) $@; ) || true
108kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/kabc_opieE.pro 108 ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) $@; ) || true
109 cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_opieE.pro -o Makefile$(PLATFORM) 109uninstall_subdirs: qmake_all FORCE
110 110 ( [ -d libical ] && cd libical ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true
111 111 ( [ -d libkcal ] && cd libkcal ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true
112kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro 112 ( [ -d microkde ] && cd microkde ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true
113 cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) 113 ( [ -d libkdepim ] && cd libkdepim ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true
114 114 ( [ -d kabc ] && cd kabc ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true
115 115 ( [ -d korganizer ] && cd korganizer ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true
116kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro 116 ( [ -d kaddressbook ] && cd kaddressbook ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true
117 cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM) 117 ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true
118kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro 118 ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true
119 cd kmicromail/libetpan; tmake "CONFIG+=$(RELEASE_DEBUG)" libetpanE.pro -o Makefile$(PLATFORM) 119install_subdirs: qmake_all FORCE
120kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro 120 ( [ -d libical ] && cd libical ; $(MAKE) -f $(MAKEFILE) install; ) || true
121 cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" libmailwrapperE.pro -o Makefile$(PLATFORM) 121 ( [ -d libkcal ] && cd libkcal ; $(MAKE) -f $(MAKEFILE) install; ) || true
122 ( [ -d microkde ] && cd microkde ; $(MAKE) -f $(MAKEFILE) install; ) || true
123 ( [ -d libkdepim ] && cd libkdepim ; $(MAKE) -f $(MAKEFILE) install; ) || true
124 ( [ -d kabc ] && cd kabc ; $(MAKE) -f $(MAKEFILE) install; ) || true
125 ( [ -d korganizer ] && cd korganizer ; $(MAKE) -f $(MAKEFILE) install; ) || true
126 ( [ -d kaddressbook ] && cd kaddressbook ; $(MAKE) -f $(MAKEFILE) install; ) || true
127 ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) install; ) || true
128 ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) install; ) || true
129distclean: qmake_all FORCE
130 ( [ -d libical ] && cd libical ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true
131 ( [ -d libkcal ] && cd libkcal ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true
132 ( [ -d microkde ] && cd microkde ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true
133 ( [ -d libkdepim ] && cd libkdepim ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true
134 ( [ -d kabc ] && cd kabc ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true
135 ( [ -d korganizer ] && cd korganizer ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true
136 ( [ -d kaddressbook ] && cd kaddressbook ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true
137 ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true
138 ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true
139
140install: install_subdirs
141
142uninstall: uninstall_subdirs
143
144FORCE:
122 145
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 @@
1/*
2 This file is part of KOrganizer.
3 Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org>
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
19 As a special exception, permission is given to link this program
20 with any edition of Qt, and distribute the resulting executable,
21 without including the source code for Qt in the source distribution.
22*/
23
24#include <qtooltip.h>
25#include <qframe.h>
26#include <qpixmap.h>
27#include <qlayout.h>
28#include <qprogressbar.h>
29#include <qwidgetstack.h>
30#include <qdatetime.h>
31#include <qdir.h>
32#include <qapplication.h>
33#include <qhbox.h>
34#include <qheader.h>
35#include <qdatetime.h>
36#include <qlistview.h>
37
38#include <kdebug.h>
39#include <klocale.h>
40#include <kstandarddirs.h>
41#include <kmessagebox.h>
42#include <kfiledialog.h>
43
44#include <libkdepim/categoryselectdialog.h>
45#include <libkdepim/kinputdialog.h>
46
47#include <libkcal/calendarlocal.h>
48#include <libkcal/icalformat.h>
49
50#include "koprefs.h"
51#include "koglobals.h"
52
53#include "koimportoldialog.h"
54
55#include "../outport/msoutl9.h"
56#include <ole2.h>
57#include <comutil.h>
58_Application gOlApp;
59
60QDateTime mDdate2Qdtr( DATE dt)
61{
62 COleDateTime odt;
63 SYSTEMTIME st;
64 odt = dt;
65 odt.GetAsSystemTime(st);
66 QDateTime qdt (QDate(st.wYear, st.wMonth,st.wDay ),QTime( st.wHour, st.wMinute,st.wSecond ) );
67 return qdt;
68}
69
70class OLEListViewItem : public QCheckListItem
71{
72 public:
73 OLEListViewItem( QListView *parent, QString text ) :
74 QCheckListItem( parent, text, QCheckListItem::CheckBox ) { ; };
75 OLEListViewItem( QListViewItem *after, QString text ) :
76 QCheckListItem( after, text, QCheckListItem::CheckBox ) { ; };
77 ~OLEListViewItem() {};
78 void setData( DWORD data ) {mData= data; };
79 DWORD data() { return mData ;};
80 private:
81 DWORD mData;
82};
83
84KOImportOLdialog::KOImportOLdialog( const QString &caption,
85 Calendar *calendar, QWidget *parent ) :
86 KDialogBase( Plain, caption, User1 | Close, Ok,
87 parent, caption, true, false, i18n("Import!") )
88{
89 QHBox * mw = new QHBox( this );
90 setMainWidget( mw );
91 mListView = new QListView( mw );
92 mListView->addColumn(i18n("Select Folder to import"));
93 mListView->addColumn(i18n("Content Type"));
94 mCalendar = calendar;
95 connect( this, SIGNAL( user1Clicked() ),SLOT ( slotApply()));
96 setupFolderView();
97 resize( sizeHint().width()+50, sizeHint().height()+50 );
98}
99
100KOImportOLdialog::~KOImportOLdialog()
101{
102
103}
104
105
106void KOImportOLdialog::setupFolderView()
107{
108 SCODE sc = ::OleInitialize(NULL);
109 if ( FAILED ( sc ) ) {
110 KMessageBox::information(this,"OLE initialisation failed");
111 return;
112 }
113
114 if(!gOlApp.CreateDispatch(_T("Outlook.Application"),NULL)){
115 KMessageBox::information(this,"Sorry, cannot access Outlook");
116 return ;
117 }
118 MAPIFolder mfInbox;
119 MAPIFolder mfRoot;
120 CString szName;
121 _NameSpace olNS;
122 olNS = gOlApp.GetNamespace(_T("MAPI"));
123 mfInbox = olNS.GetDefaultFolder(6);
124 mfRoot = mfInbox.GetParent();
125 szName = mfRoot.GetName();
126 long iType = mfRoot.GetDefaultItemType();
127 QString mes;
128 mes = QString::fromUcs2( szName.GetBuffer() );
129 OLEListViewItem * root = new OLEListViewItem( mListView, mes );
130 mfRoot.m_lpDispatch->AddRef();
131 addFolder( root, mfRoot.m_lpDispatch );
132 root->setOpen( true );
133 mListView->setSortColumn( 0 );
134 mListView->sort( );
135}
136
137
138void KOImportOLdialog::addFolder(OLEListViewItem* iParent, LPDISPATCH dispParent)
139{
140 MAPIFolder mfParent(dispParent), mfChild;
141 _Folders folders;
142 _variant_t fndx((long)0);
143 CString szName;
144 long iType;
145 OLEListViewItem* hChild;
146
147 folders = mfParent.GetFolders();
148 for(int i=1; i <= folders.GetCount(); ++i)
149 {
150 fndx = (long)i;
151 mfChild = folders.Item(fndx.Detach());
152 mfChild.m_lpDispatch->AddRef();
153 szName = mfChild.GetName();
154 iType = mfChild.GetDefaultItemType();
155 hChild = new OLEListViewItem( iParent , QString::fromUcs2( szName.GetBuffer() ) );
156 if ( iType != 1)
157 hChild->setEnabled( false );
158 QString ts;
159 switch( iType ) {
160 case 0:
161 ts = i18n("Mail");
162 break;
163 case 1:
164 ts = i18n("Calendar");
165 break;
166 case 2:
167 ts = i18n("Contacts");
168 break;
169 case 3:
170 ts = i18n("Todos");
171 break;
172 case 4:
173 ts = i18n("Journals");
174 break;
175 case 5:
176 ts = i18n("Notes");
177 break;
178 default:
179 ts = i18n("Unknown");
180 }
181 hChild->setText( 1,ts);
182 hChild->setData( (DWORD) mfChild.m_lpDispatch );
183 mfChild.m_lpDispatch->AddRef();
184 addFolder(hChild, mfChild.m_lpDispatch);
185 }
186}
187
188void KOImportOLdialog::slotApply()
189{
190 importedItems = 0;
191 OLEListViewItem* child = (OLEListViewItem*) mListView->firstChild();
192 while ( child ) {
193 if ( child->isOn() )
194 readCalendarData( child->data() );
195 child = (OLEListViewItem*) child->itemBelow();
196 }
197 QString mes = i18n("Importing complete.\n\n%1 items imported.").arg( importedItems);
198 KMessageBox::information(this,mes);
199}
200void KOImportOLdialog::readCalendarData( DWORD folder )
201{
202
203 LPDISPATCH dispItem = (LPDISPATCH)folder;
204 dispItem->AddRef();
205 MAPIFolder mf(dispItem);
206 mf.m_lpDispatch->AddRef();
207 _Items folderItems;
208 _variant_t indx((long)0);
209 LPDISPATCH itm;
210 int i;
211 folderItems = mf.GetItems();
212 QProgressBar bar( folderItems.GetCount(),0 );
213 bar.setCaption (i18n("Importing - close to abort!") );
214 int h = bar.sizeHint().height() ;
215 int w = 300;
216 int dw = QApplication::desktop()->width();
217 int dh = QApplication::desktop()->height();
218 bar.setGeometry( (dw-w)/2, (dh - h )/2 ,w,h );
219 bar.show();
220 for(i=1; i <= folderItems.GetCount(); ++i)
221 {
222 qApp->processEvents();
223 if ( ! bar.isVisible() )
224 return ;
225 bar.setProgress( i );
226 indx = (long)i;
227 itm = folderItems.Item(indx.Detach());
228 _AppointmentItem * pItem = (_AppointmentItem *)&itm;
229 ol2kopiCalendar( pItem );
230 itm->Release();
231 }
232}
233void KOImportOLdialog::slotOk()
234{
235 QDialog::accept();
236}
237
238void KOImportOLdialog::ol2kopiCalendar( _AppointmentItem * aItem, bool computeRecurrence )
239{
240 KCal::Event* event = new KCal::Event();
241 if ( aItem->GetAllDayEvent() ){
242 event->setDtStart( QDateTime( mDdate2Qdtr( aItem->GetStart()).date(),QTime(0,0,0 ) ));
243 event->setDtEnd( QDateTime( mDdate2Qdtr( aItem->GetEnd()) .date(),QTime(0,0,0 )).addDays(-1));
244 event->setFloats( true );
245 } else {
246 event->setDtStart( mDdate2Qdtr( aItem->GetStart()) );
247 event->setDtEnd( mDdate2Qdtr( aItem->GetEnd()) );
248 event->setFloats( false );
249 }
250 event->setSummary( QString::fromUcs2( aItem->GetSubject().GetBuffer()) );
251 event->setLocation( QString::fromUcs2( aItem->GetLocation().GetBuffer()) );
252 event->setDescription( QString::fromUcs2( aItem->GetBody().GetBuffer()) );
253 QString cat = QString::fromUcs2( aItem->GetCategories().GetBuffer());
254 event->setCategories( QStringList::split( ";", cat ));
255 if ( aItem->GetReminderSet() ) {
256 event->clearAlarms();
257 Alarm* alarm = event->newAlarm();
258 alarm->setStartOffset( -aItem->GetReminderMinutesBeforeStart()*60 );
259 alarm->setEnabled( true );
260 if ( aItem->GetReminderPlaySound() ) {
261 alarm->setType( Alarm::Audio );
262 alarm->setAudioFile( QString::fromUcs2( aItem->GetReminderSoundFile().GetBuffer()));
263 }
264 else
265 alarm->setType( Alarm::Display );
266 alarm->setRepeatCount( aItem->GetReplyTime() );
267 }
268 // OL :pub 0 - pers 1 - priv 2 - conf 3
269 // KO : pub 0 - priv 1 - conf 2
270 int sec = aItem->GetSensitivity() ;
271 if ( sec > 1 )// mapping pers -> private
272 --sec;
273 event->setSecrecy( sec );
274 if ( aItem->GetBusyStatus() == 0 )
275 event->setTransparency( Event::Transparent);// OL free
276 else
277 event->setTransparency( Event::Opaque);//OL all other
278
279 if ( aItem->GetIsRecurring() && computeRecurrence ) { //recur
280
281 RecurrencePattern recpat = aItem->GetRecurrencePattern();
282
283 QDate startDate = mDdate2Qdtr(recpat.GetPatternStartDate()).date();
284 int freq = recpat.GetInterval();
285
286 bool hasEndDate = !recpat.GetNoEndDate();
287 QDate endDate = mDdate2Qdtr(recpat.GetPatternEndDate()).date();
288 QBitArray weekDays( 7 );
289 weekDays.fill(false );
290 uint weekDaysNum = recpat.GetDayOfWeekMask();
291 int i;
292 int bb = 2;
293 for( i = 1; i <= 6; ++i ) {
294 weekDays.setBit( i - 1, ( bb & weekDaysNum ));
295 bb = 4 << (i-1);
296 //qDebug(" %d bit %d ",i-1,weekDays.at(i-1) );
297 }
298 if ( 1 & weekDaysNum)
299 weekDays.setBit( 6 );
300 // int pos = 1;// pending
301
302 Recurrence *r = event->recurrence();
303 int rtype = recpat.GetRecurrenceType();
304 //recurrence types are:
305 /*
306 olRecursDaily(0)
307 olRecursWeekly(1)
308 olRecursMonthly(2)
309 olRecursMonthNth(3)
310 olRecursYearly(5)
311 olRecursYearNth(6)
312 */
313
314 int duration = recpat.GetOccurrences();
315 if ( !hasEndDate )
316 duration = -1;
317
318 //LPDISPATCH RecurrencePattern::GetExceptions()
319 //long RecurrencePattern::GetMonthOfYear()
320 if ( rtype == 0 ) {
321 if ( hasEndDate ) r->setDaily( freq, endDate );
322 else r->setDaily( freq, duration );
323 } else if ( rtype == 1 ) {
324 if ( hasEndDate ) r->setWeekly( freq, weekDays, endDate );
325 else r->setWeekly( freq, weekDays, duration );
326 } else if ( rtype == 2 ) {
327 if ( hasEndDate )
328 r->setMonthly( Recurrence::rMonthlyDay, freq, endDate );
329 else
330 r->setMonthly( Recurrence::rMonthlyDay, freq, duration );
331 //r->addMonthlyDay( startDate.day() );
332 r->addMonthlyDay( recpat.GetDayOfMonth() );
333 } else if ( rtype == 3 ) {
334 if ( hasEndDate )
335 r->setMonthly( Recurrence::rMonthlyPos, freq, endDate );
336 else
337 r->setMonthly( Recurrence::rMonthlyPos, freq, duration );
338 QBitArray days( 7 );
339 days.fill( false );
340 days.setBit( startDate.dayOfWeek() - 1 );
341 int pos = (startDate.day()/7)+1;
342 r->addMonthlyPos( pos, days );
343 //QString mes = i18n("Importing monthlypos.\n\npos: %1 , day: %2").arg( pos).arg( startDate.dayOfWeek() - 1);
344 //KMessageBox::information(this,mes);
345 } else if ( rtype == 5 ) {
346 freq = 1;
347 if ( hasEndDate )
348 r->setYearly( Recurrence::rYearlyMonth, freq, endDate );
349 else
350 r->setYearly( Recurrence::rYearlyMonth, freq, duration );
351 r->addYearlyNum( startDate.month() );
352 } else if ( true /*rtype == 6*/ ) {
353 // KOganizer cannot handle this in the GUI
354 // we are mapping this to monthly - every 12. month
355 freq = 12;
356 if ( hasEndDate )
357 r->setMonthly( Recurrence::rMonthlyPos, freq, endDate );
358 else
359 r->setMonthly( Recurrence::rMonthlyPos, freq, duration );
360 QBitArray days( 7 );
361 days.fill( false );
362 days.setBit( startDate.dayOfWeek() - 1 );
363 int pos = (startDate.day()/7)+1;
364 r->addMonthlyPos( pos, days );
365 }
366 // recurrence exceptions
367 LPDISPATCH dispItem = recpat.GetExceptions();
368 dispItem->AddRef();
369 Exceptions ex(dispItem);
370 _variant_t indx((long)0);
371 LPDISPATCH itm;
372 for(i=1; i <= ex.GetCount(); ++i) {
373 indx = (long)i;
374 itm = ex.Item( indx.Detach() );
375 ::Exception * pItem = (::Exception *)&itm;
376 event->addExDate( QDateTime( mDdate2Qdtr( pItem->GetOriginalDate())).date() );
377 if ( !pItem->GetDeleted() ) {
378 LPDISPATCH appIt = pItem->GetAppointmentItem();
379 _AppointmentItem * paItem = (_AppointmentItem *)&appIt;
380 ol2kopiCalendar( paItem, false );
381 }
382 itm->Release();
383 }
384 }
385 // recurrence ENTE
386 event->setOrganizer( QString::fromUcs2( aItem->GetOrganizer().GetBuffer()));
387
388 //GetOptionalAttendees()
389 //GetRequiredAttendees()
390 LPDISPATCH dispItem = aItem->GetRecipients();
391 dispItem->AddRef();
392 _Folders mf(dispItem);
393 mf.m_lpDispatch->AddRef();
394 _variant_t indx((long)0);
395 LPDISPATCH itm;
396 int i;
397 QString optAtt = QString::fromUcs2( aItem->GetOptionalAttendees().GetBuffer());
398 QString reqAtt = QString::fromUcs2( aItem->GetRequiredAttendees().GetBuffer());
399 //GetRequiredAttendees()
400 for(i=1; i <= mf.GetCount(); ++i) {
401 indx = (long)i;
402 itm = mf.Item( indx.Detach() );
403 Recipient * pItem = (Recipient *)&itm;
404
405 //a = new KCal::Attendee( (*it).realName(), (*it).preferredEmail(),false,KCal::Attendee::NeedsAction,KCal::Attendee::ReqParticipant,(*it).uid()) ;
406 QString name = QString::fromUcs2( pItem->GetName().GetBuffer());
407 KCal::Attendee::PartStat stat;
408 bool rsvp = false;
409 switch ( pItem->GetMeetingResponseStatus() ) {
410 case 0: //not answered
411 rsvp = true;
412 case 5: //not answered
413 stat = Attendee::NeedsAction;
414 break;
415 case 1: //organizer
416 stat = Attendee::Delegated ;
417 break;
418 case 2: //tentative
419 stat = Attendee::Tentative ;
420 break;
421 case 3: //accepted
422 stat = Attendee::Accepted;
423 break;
424 case 4: //declined
425 stat =Attendee::Declined ;
426 break;
427 default:
428 stat = Attendee::NeedsAction ;
429
430 }
431 KCal::Attendee::Role role;
432 if ( event->organizer() == name )
433 role = KCal::Attendee::Chair;
434 else if ( reqAtt.find( name ) >= 0 )
435 role = KCal::Attendee::ReqParticipant;
436 else if ( optAtt.find( name ) >= 0 )
437 role = KCal::Attendee::OptParticipant;
438 else
439 role = KCal::Attendee::NonParticipant;
440 QString mail = QString::fromUcs2(pItem->GetAddress().GetBuffer());
441 if( mail.isEmpty() && name.find("@") > 0 )
442 mail = name;
443 QString uid;
444 if ( mail.isEmpty() )
445 uid = QString::fromUcs2( pItem->GetEntryID().GetBuffer());
446 else
447 uid = mail;
448 mail = mail.stripWhiteSpace();
449 KCal::Attendee * a = new KCal::Attendee( name, mail,rsvp,stat,role,uid) ;
450 event->addAttendee( a , false );
451 itm->Release();
452 }
453
454
455 if ( !mCalendar->addEventNoDup( event ))
456 delete event;
457 else {
458 // QString mes = i18n("Importing %1.\n date: %2 date: %3").arg( event->summary()).arg( event->dtStart().toString()).arg( event->dtEnd().toString());
459 //KMessageBox::information(this,mes);
460 ++importedItems;
461 }
462}
463void KOImportOLdialog::slotCancel()
464{
465 reject();
466}
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 @@
1/*
2 This file is part of KOrganizer.
3 Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org>
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
19 As a special exception, permission is given to link this program
20 with any edition of Qt, and distribute the resulting executable,
21 without including the source code for Qt in the source distribution.
22*/
23#ifndef KOINCIDENCEEDITOR_H
24#define KOINCIDENCEEDITOR_H
25
26#include <kdialogbase.h>
27
28#include <afxdisp.h>
29#include <libkcal/calendar.h>
30#include <libkcal/event.h>
31
32
33class QDateTime;
34class QListView;
35class OLEListViewItem;
36class _AppointmentItem;
37namespace KPIM { class CategorySelectDialog; }
38
39using namespace KCal;
40
41/**
42 This is the base class for the calendar component editors.
43*/
44class KOImportOLdialog : public KDialogBase
45{
46 Q_OBJECT
47 public:
48 /**
49 Construct new IncidenceEditor.
50 */
51 KOImportOLdialog( const QString &caption, Calendar *calendar,
52 QWidget *parent );
53 virtual ~KOImportOLdialog();
54
55 /** Initialize editor. This function creates the tab widgets. */
56 void init();
57
58 public slots:
59
60
61 signals:
62
63 protected slots:
64 void slotApply();
65 void slotOk();
66 void slotCancel();
67
68 protected:
69 void setupFolderView();
70 void addFolder(OLEListViewItem* iParent, LPDISPATCH dispParent);
71 void readCalendarData( DWORD folder );
72 void ol2kopiCalendar( _AppointmentItem * , bool computeRecurrence = true );
73
74 Calendar *mCalendar;
75 QListView * mListView;
76
77 private:
78 int importedItems;
79};
80
81#endif
82
83
diff --git a/korganizer/korganizer.pro b/korganizer/korganizer.pro
index fe2250e..4e8ce11 100644
--- a/korganizer/korganizer.pro
+++ b/korganizer/korganizer.pro
@@ -1,66 +1,70 @@
1 TEMPLATE= app 1 TEMPLATE= app
2 CONFIG = qt warn_on 2 CONFIG = qt warn_on
3 TARGET = kopi 3 TARGET = kopi
4OBJECTS_DIR = _obj/ 4OBJECTS_DIR = _obj/
5MOC_DIR = _moc 5MOC_DIR = _moc
6DESTDIR= ../bin 6DESTDIR= ../bin
7 7
8include( ../variables.pri ) 8include( ../variables.pri )
9 9
10INCLUDEPATH += ../microkde ../ interfaces ../microkde/kdecore ../microkde/kdeui ../microkde/kio/kfile 10INCLUDEPATH += ../microkde ../ interfaces ../microkde/kdecore ../microkde/kdeui ../microkde/kio/kfile
11#../qtcompat 11#../qtcompat
12DEFINES += KORG_NODND KORG_NOPLUGINS KORG_NOARCHIVE KORG_NOMAIL 12DEFINES += KORG_NODND KORG_NOPLUGINS KORG_NOARCHIVE KORG_NOMAIL
13DEFINES += KORG_NODCOP KORG_NOKALARMD KORG_NORESOURCEVIEW KORG_NOSPLITTER 13DEFINES += KORG_NODCOP KORG_NOKALARMD KORG_NORESOURCEVIEW KORG_NOSPLITTER
14#KORG_NOPRINTER KORG_NOKABC 14#KORG_NOPRINTER KORG_NOKABC
15DEFINES += KORG_NOLVALTERNATION 15DEFINES += KORG_NOLVALTERNATION
16DEFINES += DESKTOP_VERSION 16DEFINES += DESKTOP_VERSION
17unix : { 17unix : {
18LIBS += ../bin/libmicrokdepim.so 18LIBS += ../bin/libmicrokdepim.so
19LIBS += ../bin/libmicrokcal.so 19LIBS += ../bin/libmicrokcal.so
20LIBS += ../bin/libmicrokde.so 20LIBS += ../bin/libmicrokde.so
21LIBS += ../bin/libmicrokabc.so 21LIBS += ../bin/libmicrokabc.so
22LIBS += -lldap 22LIBS += -lldap
23OBJECTS_DIR = obj/unix 23OBJECTS_DIR = obj/unix
24MOC_DIR = moc/unix 24MOC_DIR = moc/unix
25} 25}
26win32: { 26win32: {
27DEFINES += _WIN32_ 27DEFINES += _WIN32_
28LIBS += ../bin/microkdepim.lib 28LIBS += ../bin/microkdepim.lib
29LIBS += ../bin/microkcal.lib 29LIBS += ../bin/microkcal.lib
30LIBS += ../bin/microkde.lib 30LIBS += ../bin/microkde.lib
31LIBS += ../bin/microkabc.lib 31LIBS += ../bin/microkabc.lib
32LIBS += ../libical/lib/ical.lib 32LIBS += ../libical/lib/ical.lib
33LIBS += ../libical/lib/icalss.lib 33LIBS += ../libical/lib/icalss.lib
34#LIBS += atls.lib
35LIBS += mfc71u.lib
34QMAKE_LINK += /NODEFAULTLIB:LIBC 36QMAKE_LINK += /NODEFAULTLIB:LIBC
37#QMAKE_LINK += /NODEFAULTLIB:MSVCRT
38#QMAKE_LINK += /NODEFAULTLIB:uafxcw.lib
35OBJECTS_DIR = obj/win 39OBJECTS_DIR = obj/win
36MOC_DIR = moc/win 40MOC_DIR = moc/win
37} 41}
38 42
39 43
40INTERFACES = kofilterview_base.ui 44INTERFACES = kofilterview_base.ui
41# filteredit_base.ui 45# filteredit_base.ui
42 46
43# kdateedit.h \ 47# kdateedit.h \
44 48
45HEADERS = \ 49HEADERS = \
46 filteredit_base.h \ 50 filteredit_base.h \
47 alarmclient.h \ 51 alarmclient.h \
48 calendarview.h \ 52 calendarview.h \
49 customlistviewitem.h \ 53 customlistviewitem.h \
50 datenavigator.h \ 54 datenavigator.h \
51 docprefs.h \ 55 docprefs.h \
52 filtereditdialog.h \ 56 filtereditdialog.h \
53 incomingdialog.h \ 57 incomingdialog.h \
54 incomingdialog_base.h \ 58 incomingdialog_base.h \
55 interfaces/korganizer/baseview.h \ 59 interfaces/korganizer/baseview.h \
56 interfaces/korganizer/calendarviewbase.h \ 60 interfaces/korganizer/calendarviewbase.h \
57 journalentry.h \ 61 journalentry.h \
58 kdatenavigator.h \ 62 kdatenavigator.h \
59 koagenda.h \ 63 koagenda.h \
60 koagendaitem.h \ 64 koagendaitem.h \
61 koagendaview.h \ 65 koagendaview.h \
62 kocounterdialog.h \ 66 kocounterdialog.h \
63 kodaymatrix.h \ 67 kodaymatrix.h \
64 kodialogmanager.h \ 68 kodialogmanager.h \
65 koeditordetails.h \ 69 koeditordetails.h \
66 koeditorgeneral.h \ 70 koeditorgeneral.h \
@@ -74,65 +78,66 @@ HEADERS = \
74 koeventviewerdialog.h \ 78 koeventviewerdialog.h \
75 kofilterview.h \ 79 kofilterview.h \
76 koglobals.h \ 80 koglobals.h \
77 koincidenceeditor.h \ 81 koincidenceeditor.h \
78 kojournalview.h \ 82 kojournalview.h \
79 kolistview.h \ 83 kolistview.h \
80 kolocationbox.h \ 84 kolocationbox.h \
81 komonthview.h \ 85 komonthview.h \
82 koprefs.h \ 86 koprefs.h \
83 koprefsdialog.h \ 87 koprefsdialog.h \
84 kosyncprefsdialog.h \ 88 kosyncprefsdialog.h \
85 kotimespanview.h \ 89 kotimespanview.h \
86 kotodoeditor.h \ 90 kotodoeditor.h \
87 kotodoview.h \ 91 kotodoview.h \
88 kotodoviewitem.h \ 92 kotodoviewitem.h \
89 koviewmanager.h \ 93 koviewmanager.h \
90 kowhatsnextview.h \ 94 kowhatsnextview.h \
91 ktimeedit.h \ 95 ktimeedit.h \
92 lineview.h \ 96 lineview.h \
93 mainwindow.h \ 97 mainwindow.h \
94 navigatorbar.h \ 98 navigatorbar.h \
95 outgoingdialog.h \ 99 outgoingdialog.h \
96 outgoingdialog_base.h \ 100 outgoingdialog_base.h \
97 publishdialog.h \ 101 publishdialog.h \
98 publishdialog_base.h \ 102 publishdialog_base.h \
99 savetemplatedialog.h \ 103 savetemplatedialog.h \
100 searchdialog.h \ 104 searchdialog.h \
101 simplealarmclient.h \ 105 simplealarmclient.h \
102 statusdialog.h \ 106 statusdialog.h \
103 timeline.h \ 107 timeline.h \
104 timespanview.h \ 108 timespanview.h \
105 version.h \ 109 version.h \
106 ../kalarmd/alarmdialog.h 110 ../kalarmd/alarmdialog.h \
111
107 112
108SOURCES = \ 113SOURCES = \
109filteredit_base.cpp \ 114filteredit_base.cpp \
110 calendarview.cpp \ 115 calendarview.cpp \
111 datenavigator.cpp \ 116 datenavigator.cpp \
112 docprefs.cpp \ 117 docprefs.cpp \
113 filtereditdialog.cpp \ 118 filtereditdialog.cpp \
114 incomingdialog.cpp \ 119 incomingdialog.cpp \
115 incomingdialog_base.cpp \ 120 incomingdialog_base.cpp \
116 journalentry.cpp \ 121 journalentry.cpp \
117 kdatenavigator.cpp \ 122 kdatenavigator.cpp \
118 koagenda.cpp \ 123 koagenda.cpp \
119 koagendaitem.cpp \ 124 koagendaitem.cpp \
120 koagendaview.cpp \ 125 koagendaview.cpp \
121 kocounterdialog.cpp \ 126 kocounterdialog.cpp \
122 kodaymatrix.cpp \ 127 kodaymatrix.cpp \
123 kodialogmanager.cpp \ 128 kodialogmanager.cpp \
124 koeditordetails.cpp \ 129 koeditordetails.cpp \
125 koeditorgeneral.cpp \ 130 koeditorgeneral.cpp \
126 koeditorgeneralevent.cpp \ 131 koeditorgeneralevent.cpp \
127 koeditorgeneraltodo.cpp \ 132 koeditorgeneraltodo.cpp \
128 koeditorrecurrence.cpp \ 133 koeditorrecurrence.cpp \
129 koeventeditor.cpp \ 134 koeventeditor.cpp \
130 koeventpopupmenu.cpp \ 135 koeventpopupmenu.cpp \
131 koeventview.cpp \ 136 koeventview.cpp \
132 koeventviewer.cpp \ 137 koeventviewer.cpp \
133 koeventviewerdialog.cpp \ 138 koeventviewerdialog.cpp \
134 kofilterview.cpp \ 139 kofilterview.cpp \
135 koglobals.cpp \ 140 koglobals.cpp \
136 koincidenceeditor.cpp \ 141 koincidenceeditor.cpp \
137 kojournalview.cpp \ 142 kojournalview.cpp \
138 kolistview.cpp \ 143 kolistview.cpp \
@@ -141,32 +146,46 @@ filteredit_base.cpp \
141 koprefs.cpp \ 146 koprefs.cpp \
142 koprefsdialog.cpp \ 147 koprefsdialog.cpp \
143 kosyncprefsdialog.cpp \ 148 kosyncprefsdialog.cpp \
144 kotimespanview.cpp \ 149 kotimespanview.cpp \
145 kotodoeditor.cpp \ 150 kotodoeditor.cpp \
146 kotodoview.cpp \ 151 kotodoview.cpp \
147 kotodoviewitem.cpp \ 152 kotodoviewitem.cpp \
148 koviewmanager.cpp \ 153 koviewmanager.cpp \
149 kowhatsnextview.cpp \ 154 kowhatsnextview.cpp \
150 ktimeedit.cpp \ 155 ktimeedit.cpp \
151 lineview.cpp \ 156 lineview.cpp \
152 main.cpp \ 157 main.cpp \
153 mainwindow.cpp \ 158 mainwindow.cpp \
154 navigatorbar.cpp \ 159 navigatorbar.cpp \
155 outgoingdialog.cpp \ 160 outgoingdialog.cpp \
156 outgoingdialog_base.cpp \ 161 outgoingdialog_base.cpp \
157 publishdialog.cpp \ 162 publishdialog.cpp \
158 publishdialog_base.cpp \ 163 publishdialog_base.cpp \
159 savetemplatedialog.cpp \ 164 savetemplatedialog.cpp \
160 searchdialog.cpp \ 165 searchdialog.cpp \
161 simplealarmclient.cpp \ 166 simplealarmclient.cpp \
162 statusdialog.cpp \ 167 statusdialog.cpp \
163 timeline.cpp \ 168 timeline.cpp \
164 timespanview.cpp \ 169 timespanview.cpp \
165 ../kalarmd/alarmdialog.cpp 170 ../kalarmd/alarmdialog.cpp
166 171
167HEADERS += calprintbase.h calprinter.h calprintplugins.h cellitem.h 172HEADERS += calprintbase.h calprinter.h calprintplugins.h cellitem.h
168INTERFACES += calprintdayconfig_base.ui \ 173INTERFACES += calprintdayconfig_base.ui \
169 calprintmonthconfig_base.ui \ 174 calprintmonthconfig_base.ui \
170 calprinttodoconfig_base.ui \ 175 calprinttodoconfig_base.ui \
171 calprintweekconfig_base.ui 176 calprintweekconfig_base.ui
172SOURCES += calprintbase.cpp calprinter.cpp calprintplugins.cpp cellitem.cpp 177SOURCES += calprintbase.cpp calprinter.cpp calprintplugins.cpp cellitem.cpp
178
179
180
181win32: {
182HEADERS += ../outport/msoutl9.h \
183 koimportoldialog.h
184
185
186SOURCES += ../outport/msoutl9.cpp \
187 koimportoldialog.cpp
188
189
190}
191
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp
index 40f2cf4..be69be7 100644
--- a/korganizer/mainwindow.cpp
+++ b/korganizer/mainwindow.cpp
@@ -20,68 +20,69 @@
20#include <qpe/qpetoolbar.h> 20#include <qpe/qpetoolbar.h>
21#include <qpe/resource.h> 21#include <qpe/resource.h>
22#include <qpe/qpeapplication.h> 22#include <qpe/qpeapplication.h>
23#include <qtopia/alarmserver.h> 23#include <qtopia/alarmserver.h>
24#include <qtopia/qcopenvelope_qws.h> 24#include <qtopia/qcopenvelope_qws.h>
25#else 25#else
26#include <qmenubar.h> 26#include <qmenubar.h>
27#include <qtoolbar.h> 27#include <qtoolbar.h>
28#include <qapplication.h> 28#include <qapplication.h>
29//#include <resource.h> 29//#include <resource.h>
30 30
31#endif 31#endif
32#include <libkcal/calendarlocal.h> 32#include <libkcal/calendarlocal.h>
33#include <libkcal/todo.h> 33#include <libkcal/todo.h>
34#include <libkdepim/ksyncprofile.h> 34#include <libkdepim/ksyncprofile.h>
35#include <libkdepim/kincidenceformatter.h> 35#include <libkdepim/kincidenceformatter.h>
36 36
37#include "calendarview.h" 37#include "calendarview.h"
38#include "koviewmanager.h" 38#include "koviewmanager.h"
39#include "datenavigator.h" 39#include "datenavigator.h"
40#include "koagendaview.h" 40#include "koagendaview.h"
41#include "koagenda.h" 41#include "koagenda.h"
42#include "kodialogmanager.h" 42#include "kodialogmanager.h"
43#include "kdialogbase.h" 43#include "kdialogbase.h"
44#include "kstandarddirs.h" 44#include "kstandarddirs.h"
45#include "koprefs.h" 45#include "koprefs.h"
46#include "kfiledialog.h" 46#include "kfiledialog.h"
47#include "koglobals.h" 47#include "koglobals.h"
48#include "kglobal.h" 48#include "kglobal.h"
49#include "klocale.h" 49#include "klocale.h"
50#include "kconfig.h" 50#include "kconfig.h"
51#include "simplealarmclient.h" 51#include "simplealarmclient.h"
52
53using namespace KCal; 52using namespace KCal;
54#ifndef _WIN32_ 53#ifndef _WIN32_
55#include <unistd.h> 54#include <unistd.h>
55#else
56#include "koimportoldialog.h"
56#endif 57#endif
57#include "mainwindow.h" 58#include "mainwindow.h"
58 59
59int globalFlagBlockStartup; 60int globalFlagBlockStartup;
60MainWindow::MainWindow( QWidget *parent, const char *name, QString msg) : 61MainWindow::MainWindow( QWidget *parent, const char *name, QString msg) :
61 QMainWindow( parent, name ) 62 QMainWindow( parent, name )
62{ 63{
63 64
64#ifdef DESKTOP_VERSION 65#ifdef DESKTOP_VERSION
65 setFont( QFont("Arial"), 14 ); 66 setFont( QFont("Arial"), 14 );
66#endif 67#endif
67 68
68 //QString confFile = KStandardDirs::appDir() + "config/korganizerrc"; 69 //QString confFile = KStandardDirs::appDir() + "config/korganizerrc";
69 QString confFile = locateLocal("config","korganizerrc"); 70 QString confFile = locateLocal("config","korganizerrc");
70 QFileInfo finf ( confFile ); 71 QFileInfo finf ( confFile );
71 bool showWarning = !finf.exists(); 72 bool showWarning = !finf.exists();
72 setIcon(SmallIcon( "ko24" ) ); 73 setIcon(SmallIcon( "ko24" ) );
73 mBlockAtStartup = true; 74 mBlockAtStartup = true;
74 mFlagKeyPressed = false; 75 mFlagKeyPressed = false;
75 setCaption("KOrganizer/Pi"); 76 setCaption("KOrganizer/Pi");
76 KOPrefs *p = KOPrefs::instance(); 77 KOPrefs *p = KOPrefs::instance();
77 // if ( QApplication::desktop()->height() > 480 ) { 78 // if ( QApplication::desktop()->height() > 480 ) {
78// if ( p->mHourSize == 4 ) 79// if ( p->mHourSize == 4 )
79// p->mHourSize = 6; 80// p->mHourSize = 6;
80// } 81// }
81 if ( p->mHourSize > 18 ) 82 if ( p->mHourSize > 18 )
82 p->mHourSize = 18; 83 p->mHourSize = 18;
83 QMainWindow::ToolBarDock tbd; 84 QMainWindow::ToolBarDock tbd;
84 if ( p->mToolBarHor ) { 85 if ( p->mToolBarHor ) {
85 if ( p->mToolBarUp ) 86 if ( p->mToolBarUp )
86 tbd = Bottom; 87 tbd = Bottom;
87 else 88 else
@@ -555,64 +556,72 @@ void MainWindow::initActions()
555 icon = loadPixmap( pathString + "today" ); 556 icon = loadPixmap( pathString + "today" );
556 configureToolBarMenu->insertItem(icon, i18n("Go to Today"), 130); 557 configureToolBarMenu->insertItem(icon, i18n("Go to Today"), 130);
557 QAction* today_action = new QAction( i18n("Go to Today"), icon, i18n("Go to Today"), 0, this ); 558 QAction* today_action = new QAction( i18n("Go to Today"), icon, i18n("Go to Today"), 0, this );
558 today_action->addTo( actionMenu ); 559 today_action->addTo( actionMenu );
559 connect( today_action, SIGNAL( activated() ), 560 connect( today_action, SIGNAL( activated() ),
560 mView, SLOT( goToday() ) ); 561 mView, SLOT( goToday() ) );
561 562
562 if ( KOPrefs::instance()->mShowFullMenu ) { 563 if ( KOPrefs::instance()->mShowFullMenu ) {
563 actionMenu->insertSeparator(); 564 actionMenu->insertSeparator();
564 actionMenu->insertItem( i18n("Configure Toolbar"),configureToolBarMenu ); 565 actionMenu->insertItem( i18n("Configure Toolbar"),configureToolBarMenu );
565 566
566 } 567 }
567 // actionMenu->insertSeparator(); 568 // actionMenu->insertSeparator();
568 action = new QAction( "import_qtopia", i18n("Import (*.ics/*.vcs) file"), 0, 569 action = new QAction( "import_qtopia", i18n("Import (*.ics/*.vcs) file"), 0,
569 this ); 570 this );
570 action->addTo( importMenu ); 571 action->addTo( importMenu );
571 connect( action, SIGNAL( activated() ), SLOT( importIcal() ) ); 572 connect( action, SIGNAL( activated() ), SLOT( importIcal() ) );
572 action = new QAction( "import_quick", i18n("Import last file"), 0, 573 action = new QAction( "import_quick", i18n("Import last file"), 0,
573 this ); 574 this );
574 action->addTo( importMenu ); 575 action->addTo( importMenu );
575 connect( action, SIGNAL( activated() ), SLOT( quickImportIcal() ) ); 576 connect( action, SIGNAL( activated() ), SLOT( quickImportIcal() ) );
576 importMenu->insertSeparator(); 577 importMenu->insertSeparator();
577 action = new QAction( "import_bday", i18n("Import Birthdays (KA/Pi)"), 0, 578 action = new QAction( "import_bday", i18n("Import Birthdays (KA/Pi)"), 0,
578 this ); 579 this );
579 action->addTo( importMenu ); 580 action->addTo( importMenu );
580 connect( action, SIGNAL( activated() ), SLOT( importBday() ) ); 581 connect( action, SIGNAL( activated() ), SLOT( importBday() ) );
581#ifndef DESKTOP_VERSION 582#ifndef DESKTOP_VERSION
582 importMenu->insertSeparator(); 583 importMenu->insertSeparator();
583 action = new QAction( "import_qtopia", i18n("Import Opie/Qtopia Cal."), 0, 584 action = new QAction( "import_qtopia", i18n("Import Opie/Qtopia Cal."), 0,
584 this ); 585 this );
585 action->addTo( importMenu ); 586 action->addTo( importMenu );
586 connect( action, SIGNAL( activated() ), SLOT( importQtopia() ) ); 587 connect( action, SIGNAL( activated() ), SLOT( importQtopia() ) );
588#else
589#ifdef _WIN32_
590 importMenu->insertSeparator();
591 action = new QAction( "import_ol", i18n("Import from OL"), 0,
592 this );
593 action->addTo( importMenu );
594 connect( action, SIGNAL( activated() ), SLOT( importOL() ) );
595#endif
587#endif 596#endif
588 597
589 importMenu->insertSeparator(); 598 importMenu->insertSeparator();
590 action = new QAction( "load_cal", i18n("Load Calendar Backup"), 0, 599 action = new QAction( "load_cal", i18n("Load Calendar Backup"), 0,
591 this ); 600 this );
592 action->addTo( importMenu ); 601 action->addTo( importMenu );
593 connect( action, SIGNAL( activated() ), SLOT( loadCalendar() ) ); 602 connect( action, SIGNAL( activated() ), SLOT( loadCalendar() ) );
594 603
595 action = new QAction( "save_cal", i18n("Save Calendar Backup"), 0, 604 action = new QAction( "save_cal", i18n("Save Calendar Backup"), 0,
596 this ); 605 this );
597 action->addTo( importMenu ); 606 action->addTo( importMenu );
598 connect( action, SIGNAL( activated() ), SLOT( saveCalendar() ) ); 607 connect( action, SIGNAL( activated() ), SLOT( saveCalendar() ) );
599 608
600 importMenu->insertSeparator(); 609 importMenu->insertSeparator();
601 action = new QAction( "import_qtopia", i18n("Export VCalendar"), 0, 610 action = new QAction( "import_qtopia", i18n("Export VCalendar"), 0,
602 this ); 611 this );
603 action->addTo( importMenu ); connect( action, SIGNAL( activated() ), SLOT( exportVCalendar() ) ); 612 action->addTo( importMenu ); connect( action, SIGNAL( activated() ), SLOT( exportVCalendar() ) );
604 importMenu->insertSeparator(); 613 importMenu->insertSeparator();
605 action = new QAction( "manage cat", i18n("Manage new categories..."), 0, 614 action = new QAction( "manage cat", i18n("Manage new categories..."), 0,
606 this ); 615 this );
607 action->addTo( importMenu ); 616 action->addTo( importMenu );
608 connect( action, SIGNAL( activated() ), mView, SLOT( manageCategories() ) ); 617 connect( action, SIGNAL( activated() ), mView, SLOT( manageCategories() ) );
609#ifndef DESKTOP_VERSION 618#ifndef DESKTOP_VERSION
610 importMenu->insertSeparator(); 619 importMenu->insertSeparator();
611 action = new QAction( "beam all", i18n("Beam complete calendar..."), 0, 620 action = new QAction( "beam all", i18n("Beam complete calendar..."), 0,
612 this ); 621 this );
613 action->addTo( importMenu ); 622 action->addTo( importMenu );
614 connect( action, SIGNAL( activated() ), mView, SLOT( beamCalendar() ) ); 623 connect( action, SIGNAL( activated() ), mView, SLOT( beamCalendar() ) );
615 624
616 action = new QAction( "beam all", i18n("Beam filtered calendar..."), 0, 625 action = new QAction( "beam all", i18n("Beam filtered calendar..."), 0,
617 this ); 626 this );
618 action->addTo( importMenu ); 627 action->addTo( importMenu );
@@ -901,65 +910,67 @@ void MainWindow::multiSync( bool askforPrefs )
901 if ( QMessageBox::information( this, i18n("KO/Pi Sync"), 910 if ( QMessageBox::information( this, i18n("KO/Pi Sync"),
902 question, 911 question,
903 i18n("Yes"), i18n("No"), 912 i18n("Yes"), i18n("No"),
904 0, 0 ) != 0 ) { 913 0, 0 ) != 0 ) {
905 mBlockSaveFlag = false; 914 mBlockSaveFlag = false;
906 setCaption(i18n("Aborted! Nothing synced!")); 915 setCaption(i18n("Aborted! Nothing synced!"));
907 return; 916 return;
908 } 917 }
909 mView->setSyncDevice(i18n("Multiple profiles") ); 918 mView->setSyncDevice(i18n("Multiple profiles") );
910 KOPrefs::instance()->mSyncAlgoPrefs = KOPrefs::instance()->mRingSyncAlgoPrefs; 919 KOPrefs::instance()->mSyncAlgoPrefs = KOPrefs::instance()->mRingSyncAlgoPrefs;
911 if ( askforPrefs ) { 920 if ( askforPrefs ) {
912 mView->edit_sync_options(); 921 mView->edit_sync_options();
913 KOPrefs::instance()->mRingSyncAlgoPrefs = KOPrefs::instance()->mSyncAlgoPrefs; 922 KOPrefs::instance()->mRingSyncAlgoPrefs = KOPrefs::instance()->mSyncAlgoPrefs;
914 } 923 }
915 setCaption(i18n("Multiple sync started.") ); 924 setCaption(i18n("Multiple sync started.") );
916 qApp->processEvents(); 925 qApp->processEvents();
917 int num = ringSync() ; 926 int num = ringSync() ;
918 if ( num > 1 ) 927 if ( num > 1 )
919 ringSync(); 928 ringSync();
920 mBlockSaveFlag = false; 929 mBlockSaveFlag = false;
921 if ( num ) 930 if ( num )
922 save(); 931 save();
923 if ( num ) 932 if ( num )
924 setCaption(i18n("%1 profiles synced. Multiple sync completed!").arg(num) ); 933 setCaption(i18n("%1 profiles synced. Multiple sync completed!").arg(num) );
925 else 934 else
926 setCaption(i18n("Nothing synced! No profiles defined for multisync!")); 935 setCaption(i18n("Nothing synced! No profiles defined for multisync!"));
927 return; 936 return;
928} 937}
929void MainWindow::slotSyncMenu( int action ) 938void MainWindow::slotSyncMenu( int action )
930{ 939{
931 //qDebug("syncaction %d ", action); 940 //qDebug("syncaction %d ", action);
932 if ( action == 0 ) { 941 if ( action == 0 ) {
942
933 confSync(); 943 confSync();
944
934 return; 945 return;
935 } 946 }
936 if ( action == 1 ) { 947 if ( action == 1 ) {
937 multiSync( true ); 948 multiSync( true );
938 return; 949 return;
939 } 950 }
940 951
941 if (mBlockSaveFlag) 952 if (mBlockSaveFlag)
942 return; 953 return;
943 mBlockSaveFlag = true; 954 mBlockSaveFlag = true;
944 mCurrentSyncProfile = action - 1000 ; 955 mCurrentSyncProfile = action - 1000 ;
945 mView->setSyncDevice(KOPrefs::instance()->mSyncProfileNames[mCurrentSyncProfile] ); 956 mView->setSyncDevice(KOPrefs::instance()->mSyncProfileNames[mCurrentSyncProfile] );
946 mView->setSyncName( KOPrefs::instance()->mLocalMachineName ); 957 mView->setSyncName( KOPrefs::instance()->mLocalMachineName );
947 KConfig *config = KOGlobals::config(); 958 KConfig *config = KOGlobals::config();
948 KSyncProfile* temp = new KSyncProfile (); 959 KSyncProfile* temp = new KSyncProfile ();
949 temp->setName(KOPrefs::instance()->mSyncProfileNames[mCurrentSyncProfile]); 960 temp->setName(KOPrefs::instance()->mSyncProfileNames[mCurrentSyncProfile]);
950 temp->readConfig(config); 961 temp->readConfig(config);
951 KOPrefs::instance()->mAskForPreferences = temp->getAskForPreferences(); 962 KOPrefs::instance()->mAskForPreferences = temp->getAskForPreferences();
952 KOPrefs::instance()->mSyncAlgoPrefs = temp->getSyncPrefs(); 963 KOPrefs::instance()->mSyncAlgoPrefs = temp->getSyncPrefs();
953 KOPrefs::instance()->mWriteBackFile = temp->getWriteBackFile(); 964 KOPrefs::instance()->mWriteBackFile = temp->getWriteBackFile();
954 KOPrefs::instance()->mWriteBackExistingOnly = temp->getWriteBackExisting(); 965 KOPrefs::instance()->mWriteBackExistingOnly = temp->getWriteBackExisting();
955 KOPrefs::instance()->mShowSyncSummary = temp->getShowSummaryAfterSync(); 966 KOPrefs::instance()->mShowSyncSummary = temp->getShowSummaryAfterSync();
956 if ( action == 1000 ) { 967 if ( action == 1000 ) {
957 syncSharp(); 968 syncSharp();
958 969
959 } else if ( action == 1001 ) { 970 } else if ( action == 1001 ) {
960 syncLocalFile(); 971 syncLocalFile();
961 972
962 } else if ( action == 1002 ) { 973 } else if ( action == 1002 ) {
963 quickSyncLocalFile(); 974 quickSyncLocalFile();
964 975
965 } else if ( action >= 1003 ) { 976 } else if ( action >= 1003 ) {
@@ -1190,64 +1201,73 @@ void MainWindow::processIncidenceSelection( Incidence *incidence )
1190 setCaption( incidence->summary()+startString); 1201 setCaption( incidence->summary()+startString);
1191 1202
1192 enableIncidenceActions( true ); 1203 enableIncidenceActions( true );
1193 1204
1194 if ( incidence->type() == "Event" ) { 1205 if ( incidence->type() == "Event" ) {
1195 mShowAction->setText( i18n("Show Event...") ); 1206 mShowAction->setText( i18n("Show Event...") );
1196 mEditAction->setText( i18n("Edit Event...") ); 1207 mEditAction->setText( i18n("Edit Event...") );
1197 mDeleteAction->setText( i18n("Delete Event...") ); 1208 mDeleteAction->setText( i18n("Delete Event...") );
1198 1209
1199 mNewSubTodoAction->setEnabled( false ); 1210 mNewSubTodoAction->setEnabled( false );
1200 } else if ( incidence->type() == "Todo" ) { 1211 } else if ( incidence->type() == "Todo" ) {
1201 mShowAction->setText( i18n("Show Todo...") ); 1212 mShowAction->setText( i18n("Show Todo...") );
1202 mEditAction->setText( i18n("Edit Todo...") ); 1213 mEditAction->setText( i18n("Edit Todo...") );
1203 mDeleteAction->setText( i18n("Delete Todo...") ); 1214 mDeleteAction->setText( i18n("Delete Todo...") );
1204 1215
1205 mNewSubTodoAction->setEnabled( true ); 1216 mNewSubTodoAction->setEnabled( true );
1206 } else { 1217 } else {
1207 mShowAction->setText( i18n("Show...") ); 1218 mShowAction->setText( i18n("Show...") );
1208 mShowAction->setText( i18n("Edit...") ); 1219 mShowAction->setText( i18n("Edit...") );
1209 mShowAction->setText( i18n("Delete...") ); 1220 mShowAction->setText( i18n("Delete...") );
1210 1221
1211 mNewSubTodoAction->setEnabled( false ); 1222 mNewSubTodoAction->setEnabled( false );
1212 } 1223 }
1213} 1224}
1214 1225
1215void MainWindow::enableIncidenceActions( bool enabled ) 1226void MainWindow::enableIncidenceActions( bool enabled )
1216{ 1227{
1217 mShowAction->setEnabled( enabled ); 1228 mShowAction->setEnabled( enabled );
1218 mEditAction->setEnabled( enabled ); 1229 mEditAction->setEnabled( enabled );
1219 mDeleteAction->setEnabled( enabled ); 1230 mDeleteAction->setEnabled( enabled );
1220} 1231}
1221 1232
1233void MainWindow::importOL()
1234{
1235#ifdef _WIN32_
1236 KOImportOLdialog *id = new KOImportOLdialog("Import from OL - select folder!" , mView->calendar(),this );
1237 id->exec();
1238 delete id;
1239 mView->updateView();
1240#endif
1241}
1222void MainWindow::importBday() 1242void MainWindow::importBday()
1223{ 1243{
1224 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"), 1244 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),
1225 i18n("When importing birthdays twice\nduplicated events will be ignored,\nif the event has not been\nchanged in KO/Pi!\n"), 1245 i18n("When importing birthdays twice\nduplicated events will be ignored,\nif the event has not been\nchanged in KO/Pi!\n"),
1226 i18n("Import!"), i18n("Cancel"), 0, 1246 i18n("Import!"), i18n("Cancel"), 0,
1227 0, 1 ); 1247 0, 1 );
1228 if ( result == 0 ) { 1248 if ( result == 0 ) {
1229 mView->importBday(); 1249 mView->importBday();
1230 1250
1231 } 1251 }
1232 1252
1233 1253
1234} 1254}
1235void MainWindow::importQtopia() 1255void MainWindow::importQtopia()
1236{ 1256{
1237#ifndef DESKTOP_VERSION 1257#ifndef DESKTOP_VERSION
1238 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"), 1258 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),
1239 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"), 1259 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"),
1240 i18n("Import!"), i18n("Cancel"), 0, 1260 i18n("Import!"), i18n("Cancel"), 0,
1241 0, 1 ); 1261 0, 1 );
1242 if ( result == 0 ) { 1262 if ( result == 0 ) {
1243 QString datebook = Global::applicationFileName( "datebook", "datebook.xml"); 1263 QString datebook = Global::applicationFileName( "datebook", "datebook.xml");
1244 QString todolist = Global::applicationFileName( "todolist", "todolist.xml"); 1264 QString todolist = Global::applicationFileName( "todolist", "todolist.xml");
1245 QString categories = QString( getenv( "HOME" ) ) + "/Settings/Categories.xml"; 1265 QString categories = QString( getenv( "HOME" ) ) + "/Settings/Categories.xml";
1246 mView->importQtopia( categories, datebook, todolist ); 1266 mView->importQtopia( categories, datebook, todolist );
1247 } 1267 }
1248#else 1268#else
1249 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"), 1269 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),
1250 i18n("Not supported \non desktop!\n"), 1270 i18n("Not supported \non desktop!\n"),
1251 i18n("Ok"), i18n("Cancel"), 0, 1271 i18n("Ok"), i18n("Cancel"), 0,
1252 0, 1 ); 1272 0, 1 );
1253 1273
diff --git a/korganizer/mainwindow.h b/korganizer/mainwindow.h
index ee4aaa6..a681f42 100644
--- a/korganizer/mainwindow.h
+++ b/korganizer/mainwindow.h
@@ -24,64 +24,65 @@ class CalendarLocal;
24 24
25using namespace KCal; 25using namespace KCal;
26 26
27class MainWindow : public QMainWindow 27class MainWindow : public QMainWindow
28{ 28{
29 Q_OBJECT 29 Q_OBJECT
30 public: 30 public:
31 MainWindow( QWidget *parent = 0, const char *name = 0, QString command = ""); 31 MainWindow( QWidget *parent = 0, const char *name = 0, QString command = "");
32 ~MainWindow(); 32 ~MainWindow();
33 public slots: 33 public slots:
34 void configureAgenda( int ); 34 void configureAgenda( int );
35 void recieve( const QCString& msg, const QByteArray& data ); 35 void recieve( const QCString& msg, const QByteArray& data );
36 static QString defaultFileName(); 36 static QString defaultFileName();
37 static QString resourcePath(); 37 static QString resourcePath();
38 protected slots: 38 protected slots:
39 void setCaptionToDates(); 39 void setCaptionToDates();
40 int ringSync(); 40 int ringSync();
41 void multiSync( bool askforPrefs = false ); 41 void multiSync( bool askforPrefs = false );
42 void about(); 42 void about();
43 void faq(); 43 void faq();
44 void usertrans(); 44 void usertrans();
45 void features(); 45 void features();
46 void synchowto(); 46 void synchowto();
47 void whatsNew(); 47 void whatsNew();
48 void keyBindings(); 48 void keyBindings();
49 void aboutAutoSaving();; 49 void aboutAutoSaving();;
50 void aboutKnownBugs(); 50 void aboutKnownBugs();
51 51
52 void processIncidenceSelection( Incidence * ); 52 void processIncidenceSelection( Incidence * );
53 53
54 void importQtopia(); 54 void importQtopia();
55 void importBday(); 55 void importBday();
56 void importOL();
56 void importIcal(); 57 void importIcal();
57 void importFile( QString, bool ); 58 void importFile( QString, bool );
58 void quickImportIcal(); 59 void quickImportIcal();
59 60
60 void slotModifiedChanged( bool ); 61 void slotModifiedChanged( bool );
61 62
62 void save(); 63 void save();
63 void configureToolBar( int ); 64 void configureToolBar( int );
64 void printSel(); 65 void printSel();
65 void printCal(); 66 void printCal();
66 void saveCalendar(); 67 void saveCalendar();
67 void loadCalendar(); 68 void loadCalendar();
68 void exportVCalendar(); 69 void exportVCalendar();
69 70
70 void slotSyncMenu( int ); 71 void slotSyncMenu( int );
71 void syncSSH(); 72 void syncSSH();
72 void confSync(); 73 void confSync();
73 void syncSharp(); 74 void syncSharp();
74 void syncLocalFile(); 75 void syncLocalFile();
75 bool syncWithFile( QString, bool ); 76 bool syncWithFile( QString, bool );
76 void quickSyncLocalFile(); 77 void quickSyncLocalFile();
77 78
78 79
79 protected: 80 protected:
80 void displayText( QString, QString); 81 void displayText( QString, QString);
81 void displayFile( QString, QString); 82 void displayFile( QString, QString);
82 83
83 void enableIncidenceActions( bool ); 84 void enableIncidenceActions( bool );
84 85
85 private: 86 private:
86 void saveOnClose(); 87 void saveOnClose();
87 int mCurrentSyncProfile; 88 int mCurrentSyncProfile;
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 @@
1/*
2 Copyright 2001 Justin Kirby
3 This file is part of Outport.
4
5 Outport is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9
10 Outport is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with olexp; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
19*/
20// stdafx.h : include file for standard system include files,
21// or project specific include files that are used frequently, but
22// are changed infrequently
23//
24
25#ifndef OLEXP_STDAFX_H
26#define OLEXP_STDAFX_H
27
28#if _MSC_VER > 1000
29#pragma once
30#endif // _MSC_VER > 1000
31
32 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
33
34//#include <afxwin.h> // MFC core and standard components
35#include <afxext.h> // MFC extensions
36#include <atlbase.h>
37//CComModule _Module;
38#include <atlcom.h>
39#include <afxdisp.h> // MFC Automation classes
40 #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
41#ifndef _AFX_NO_AFXCMN_SUPPORT
42 #include <afxcmn.h> // MFC support for Windows Common Controls
43#include <comdef.h>
44#endif // _AFX_NO_AFXCMN_SUPPORT
45
46#include <afxtempl.h>
47#include "resource.h"
48
49#ifndef IMPLEMENT_OLECREATE2
50#define IMPLEMENT_OLECREATE2(class_name, external_name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
51 AFX_DATADEF COleObjectFactory class_name::factory(class_name::guid, \
52 RUNTIME_CLASS(class_name), TRUE, _T(external_name)); \
53 const AFX_DATADEF GUID class_name::guid = \
54 { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } };
55#endif // IMPLEMENT_OLECREATE2
56
57//{{AFX_INSERT_LOCATION}}
58// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
59
60#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 @@
1/*
2 Copyright 2001 Justin Kirby
3 This file is part of Outport.
4
5 Outport is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9
10 Outport is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with olexp; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
19*/
20// Machine generated IDispatch wrapper class(es) created with ClassWizard
21
22#include "stdafx.h"
23#include "msoutl9.h"
24
25#ifdef _DEBUG
26#define new DEBUG_NEW
27#undef THIS_FILE
28static char THIS_FILE[] = __FILE__;
29#endif
30
31
32
33/////////////////////////////////////////////////////////////////////////////
34// _Application properties
35
36/////////////////////////////////////////////////////////////////////////////
37// _Application operations
38
39LPDISPATCH _Application::GetApplication()
40{
41 LPDISPATCH result;
42 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
43 return result;
44}
45
46long _Application::GetClass()
47{
48 long result;
49 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
50 return result;
51}
52
53LPDISPATCH _Application::GetSession()
54{
55 LPDISPATCH result;
56 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
57 return result;
58}
59
60LPDISPATCH _Application::GetParent()
61{
62 LPDISPATCH result;
63 InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
64 return result;
65}
66
67LPDISPATCH _Application::GetAssistant()
68{
69 LPDISPATCH result;
70 InvokeHelper(0x114, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
71 return result;
72}
73
74CString _Application::GetName()
75{
76 CString result;
77 InvokeHelper(0x3001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
78 return result;
79}
80
81CString _Application::GetVersion()
82{
83 CString result;
84 InvokeHelper(0x116, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
85 return result;
86}
87
88LPDISPATCH _Application::ActiveExplorer()
89{
90 LPDISPATCH result;
91 InvokeHelper(0x111, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
92 return result;
93}
94
95LPDISPATCH _Application::ActiveInspector()
96{
97 LPDISPATCH result;
98 InvokeHelper(0x112, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
99 return result;
100}
101
102LPDISPATCH _Application::CreateItem(long ItemType)
103{
104 LPDISPATCH result;
105 static BYTE parms[] =
106 VTS_I4;
107 InvokeHelper(0x10a, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
108 ItemType);
109 return result;
110}
111
112LPDISPATCH _Application::CreateItemFromTemplate(LPCTSTR TemplatePath, const VARIANT& InFolder)
113{
114 LPDISPATCH result;
115 static BYTE parms[] =
116 VTS_BSTR VTS_VARIANT;
117 InvokeHelper(0x10b, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
118 TemplatePath, &InFolder);
119 return result;
120}
121
122LPDISPATCH _Application::CreateObject(LPCTSTR ObjectName)
123{
124 LPDISPATCH result;
125 static BYTE parms[] =
126 VTS_BSTR;
127 InvokeHelper(0x115, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
128 ObjectName);
129 return result;
130}
131
132LPDISPATCH _Application::GetNamespace(LPCTSTR Type)
133{
134 LPDISPATCH result;
135 static BYTE parms[] =
136 VTS_BSTR;
137 InvokeHelper(0x110, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
138 Type);
139 return result;
140}
141
142void _Application::Quit()
143{
144 InvokeHelper(0x113, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
145}
146
147LPDISPATCH _Application::GetCOMAddIns()
148{
149 LPDISPATCH result;
150 InvokeHelper(0x118, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
151 return result;
152}
153
154LPDISPATCH _Application::GetExplorers()
155{
156 LPDISPATCH result;
157 InvokeHelper(0x119, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
158 return result;
159}
160
161LPDISPATCH _Application::GetInspectors()
162{
163 LPDISPATCH result;
164 InvokeHelper(0x11a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
165 return result;
166}
167
168LPDISPATCH _Application::GetLanguageSettings()
169{
170 LPDISPATCH result;
171 InvokeHelper(0x11b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
172 return result;
173}
174
175CString _Application::GetProductCode()
176{
177 CString result;
178 InvokeHelper(0x11c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
179 return result;
180}
181
182LPDISPATCH _Application::GetAnswerWizard()
183{
184 LPDISPATCH result;
185 InvokeHelper(0x11d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
186 return result;
187}
188
189LPDISPATCH _Application::ActiveWindow()
190{
191 LPDISPATCH result;
192 InvokeHelper(0x11f, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
193 return result;
194}
195
196
197/////////////////////////////////////////////////////////////////////////////
198// _Folders properties
199
200/////////////////////////////////////////////////////////////////////////////
201// _Folders operations
202
203LPDISPATCH _Folders::GetApplication()
204{
205 LPDISPATCH result;
206 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
207 return result;
208}
209
210long _Folders::GetClass()
211{
212 long result;
213 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
214 return result;
215}
216
217LPDISPATCH _Folders::GetSession()
218{
219 LPDISPATCH result;
220 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
221 return result;
222}
223
224LPDISPATCH _Folders::GetParent()
225{
226 LPDISPATCH result;
227 InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
228 return result;
229}
230
231long _Folders::GetCount()
232{
233 long result;
234 InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
235 return result;
236}
237
238LPDISPATCH _Folders::Item(const VARIANT& Index)
239{
240 LPDISPATCH result;
241 static BYTE parms[] =
242 VTS_VARIANT;
243 InvokeHelper(0x51, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
244 &Index);
245 return result;
246}
247
248LPDISPATCH _Folders::Add(LPCTSTR Name, const VARIANT& Type)
249{
250 LPDISPATCH result;
251 static BYTE parms[] =
252 VTS_BSTR VTS_VARIANT;
253 InvokeHelper(0x5f, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
254 Name, &Type);
255 return result;
256}
257
258LPDISPATCH _Folders::GetFirst()
259{
260 LPDISPATCH result;
261 InvokeHelper(0x56, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
262 return result;
263}
264
265LPDISPATCH _Folders::GetLast()
266{
267 LPDISPATCH result;
268 InvokeHelper(0x58, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
269 return result;
270}
271
272LPDISPATCH _Folders::GetNext()
273{
274 LPDISPATCH result;
275 InvokeHelper(0x57, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
276 return result;
277}
278
279LPDISPATCH _Folders::GetPrevious()
280{
281 LPDISPATCH result;
282 InvokeHelper(0x59, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
283 return result;
284}
285
286void _Folders::Remove(long Index)
287{
288 static BYTE parms[] =
289 VTS_I4;
290 InvokeHelper(0x54, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
291 Index);
292}
293
294
295/////////////////////////////////////////////////////////////////////////////
296// MAPIFolder properties
297
298/////////////////////////////////////////////////////////////////////////////
299// MAPIFolder operations
300
301LPDISPATCH MAPIFolder::GetApplication()
302{
303 LPDISPATCH result;
304 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
305 return result;
306}
307
308long MAPIFolder::GetClass()
309{
310 long result;
311 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
312 return result;
313}
314
315LPDISPATCH MAPIFolder::GetSession()
316{
317 LPDISPATCH result;
318 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
319 return result;
320}
321
322LPDISPATCH MAPIFolder::GetParent()
323{
324 LPDISPATCH result;
325 InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
326 return result;
327}
328
329long MAPIFolder::GetDefaultItemType()
330{
331 long result;
332 InvokeHelper(0x3106, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
333 return result;
334}
335
336CString MAPIFolder::GetDefaultMessageClass()
337{
338 CString result;
339 InvokeHelper(0x3107, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
340 return result;
341}
342
343CString MAPIFolder::GetDescription()
344{
345 CString result;
346 InvokeHelper(0x3004, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
347 return result;
348}
349
350void MAPIFolder::SetDescription(LPCTSTR lpszNewValue)
351{
352 static BYTE parms[] =
353 VTS_BSTR;
354 InvokeHelper(0x3004, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
355 lpszNewValue);
356}
357
358CString MAPIFolder::GetEntryID()
359{
360 CString result;
361 InvokeHelper(0xf01e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
362 return result;
363}
364
365LPDISPATCH MAPIFolder::GetFolders()
366{
367 LPDISPATCH result;
368 InvokeHelper(0x2103, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
369 return result;
370}
371
372LPDISPATCH MAPIFolder::GetItems()
373{
374 LPDISPATCH result;
375 InvokeHelper(0x3100, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
376 return result;
377}
378
379CString MAPIFolder::GetName()
380{
381 CString result;
382 InvokeHelper(0x3001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
383 return result;
384}
385
386void MAPIFolder::SetName(LPCTSTR lpszNewValue)
387{
388 static BYTE parms[] =
389 VTS_BSTR;
390 InvokeHelper(0x3001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
391 lpszNewValue);
392}
393
394CString MAPIFolder::GetStoreID()
395{
396 CString result;
397 InvokeHelper(0x3108, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
398 return result;
399}
400
401long MAPIFolder::GetUnReadItemCount()
402{
403 long result;
404 InvokeHelper(0x3603, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
405 return result;
406}
407
408LPDISPATCH MAPIFolder::CopyTo(LPDISPATCH DestinationFolder)
409{
410 LPDISPATCH result;
411 static BYTE parms[] =
412 VTS_DISPATCH;
413 InvokeHelper(0xf032, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
414 DestinationFolder);
415 return result;
416}
417
418void MAPIFolder::Delete()
419{
420 InvokeHelper(0xf045, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
421}
422
423void MAPIFolder::Display()
424{
425 InvokeHelper(0x3104, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
426}
427
428LPDISPATCH MAPIFolder::GetExplorer(const VARIANT& DisplayMode)
429{
430 LPDISPATCH result;
431 static BYTE parms[] =
432 VTS_VARIANT;
433 InvokeHelper(0x3101, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
434 &DisplayMode);
435 return result;
436}
437
438void MAPIFolder::MoveTo(LPDISPATCH DestinationFolder)
439{
440 static BYTE parms[] =
441 VTS_DISPATCH;
442 InvokeHelper(0xf034, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
443 DestinationFolder);
444}
445
446BOOL MAPIFolder::GetWebViewOn()
447{
448 BOOL result;
449 InvokeHelper(0x3112, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
450 return result;
451}
452
453void MAPIFolder::SetWebViewOn(BOOL bNewValue)
454{
455 static BYTE parms[] =
456 VTS_BOOL;
457 InvokeHelper(0x3112, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
458 bNewValue);
459}
460
461CString MAPIFolder::GetWebViewURL()
462{
463 CString result;
464 InvokeHelper(0x3113, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
465 return result;
466}
467
468void MAPIFolder::SetWebViewURL(LPCTSTR lpszNewValue)
469{
470 static BYTE parms[] =
471 VTS_BSTR;
472 InvokeHelper(0x3113, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
473 lpszNewValue);
474}
475
476BOOL MAPIFolder::GetWebViewAllowNavigation()
477{
478 BOOL result;
479 InvokeHelper(0x3114, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
480 return result;
481}
482
483void MAPIFolder::SetWebViewAllowNavigation(BOOL bNewValue)
484{
485 static BYTE parms[] =
486 VTS_BOOL;
487 InvokeHelper(0x3114, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
488 bNewValue);
489}
490
491
492/////////////////////////////////////////////////////////////////////////////
493// _NameSpace properties
494
495/////////////////////////////////////////////////////////////////////////////
496// _NameSpace operations
497
498LPDISPATCH _NameSpace::GetApplication()
499{
500 LPDISPATCH result;
501 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
502 return result;
503}
504
505long _NameSpace::GetClass()
506{
507 long result;
508 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
509 return result;
510}
511
512LPDISPATCH _NameSpace::GetSession()
513{
514 LPDISPATCH result;
515 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
516 return result;
517}
518
519LPDISPATCH _NameSpace::GetParent()
520{
521 LPDISPATCH result;
522 InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
523 return result;
524}
525
526LPDISPATCH _NameSpace::GetCurrentUser()
527{
528 LPDISPATCH result;
529 InvokeHelper(0x2101, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
530 return result;
531}
532
533LPDISPATCH _NameSpace::GetFolders()
534{
535 LPDISPATCH result;
536 InvokeHelper(0x2103, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
537 return result;
538}
539
540CString _NameSpace::GetType()
541{
542 CString result;
543 InvokeHelper(0x2104, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
544 return result;
545}
546
547LPDISPATCH _NameSpace::GetAddressLists()
548{
549 LPDISPATCH result;
550 InvokeHelper(0x210d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
551 return result;
552}
553
554LPDISPATCH _NameSpace::CreateRecipient(LPCTSTR RecipientName)
555{
556 LPDISPATCH result;
557 static BYTE parms[] =
558 VTS_BSTR;
559 InvokeHelper(0x210a, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
560 RecipientName);
561 return result;
562}
563
564LPDISPATCH _NameSpace::GetDefaultFolder(long FolderType)
565{
566 LPDISPATCH result;
567 static BYTE parms[] =
568 VTS_I4;
569 InvokeHelper(0x210b, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
570 FolderType);
571 return result;
572}
573
574LPDISPATCH _NameSpace::GetFolderFromID(LPCTSTR EntryIDFolder, const VARIANT& EntryIDStore)
575{
576 LPDISPATCH result;
577 static BYTE parms[] =
578 VTS_BSTR VTS_VARIANT;
579 InvokeHelper(0x2108, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
580 EntryIDFolder, &EntryIDStore);
581 return result;
582}
583
584LPDISPATCH _NameSpace::GetItemFromID(LPCTSTR EntryIDItem, const VARIANT& EntryIDStore)
585{
586 LPDISPATCH result;
587 static BYTE parms[] =
588 VTS_BSTR VTS_VARIANT;
589 InvokeHelper(0x2109, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
590 EntryIDItem, &EntryIDStore);
591 return result;
592}
593
594LPDISPATCH _NameSpace::GetRecipientFromID(LPCTSTR EntryID)
595{
596 LPDISPATCH result;
597 static BYTE parms[] =
598 VTS_BSTR;
599 InvokeHelper(0x2107, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
600 EntryID);
601 return result;
602}
603
604LPDISPATCH _NameSpace::GetSharedDefaultFolder(LPDISPATCH Recipient, long FolderType)
605{
606 LPDISPATCH result;
607 static BYTE parms[] =
608 VTS_DISPATCH VTS_I4;
609 InvokeHelper(0x210c, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
610 Recipient, FolderType);
611 return result;
612}
613
614void _NameSpace::Logoff()
615{
616 InvokeHelper(0x2106, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
617}
618
619void _NameSpace::Logon(const VARIANT& Profile, const VARIANT& Password, const VARIANT& ShowDialog, const VARIANT& NewSession)
620{
621 static BYTE parms[] =
622 VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
623 InvokeHelper(0x2105, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
624 &Profile, &Password, &ShowDialog, &NewSession);
625}
626
627LPDISPATCH _NameSpace::PickFolder()
628{
629 LPDISPATCH result;
630 InvokeHelper(0x210e, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
631 return result;
632}
633
634LPDISPATCH _NameSpace::GetSyncObjects()
635{
636 LPDISPATCH result;
637 InvokeHelper(0x2118, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
638 return result;
639}
640
641void _NameSpace::AddStore(const VARIANT& Store)
642{
643 static BYTE parms[] =
644 VTS_VARIANT;
645 InvokeHelper(0x2119, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
646 &Store);
647}
648
649
650/////////////////////////////////////////////////////////////////////////////
651// _Items properties
652
653/////////////////////////////////////////////////////////////////////////////
654// _Items operations
655
656LPDISPATCH _Items::GetApplication()
657{
658 LPDISPATCH result;
659 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
660 return result;
661}
662
663long _Items::GetClass()
664{
665 long result;
666 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
667 return result;
668}
669
670LPDISPATCH _Items::GetSession()
671{
672 LPDISPATCH result;
673 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
674 return result;
675}
676
677LPDISPATCH _Items::GetParent()
678{
679 LPDISPATCH result;
680 InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
681 return result;
682}
683
684long _Items::GetCount()
685{
686 long result;
687 InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
688 return result;
689}
690
691LPDISPATCH _Items::Item(const VARIANT& Index)
692{
693 LPDISPATCH result;
694 static BYTE parms[] =
695 VTS_VARIANT;
696 InvokeHelper(0x51, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
697 &Index);
698 return result;
699}
700
701BOOL _Items::GetIncludeRecurrences()
702{
703 BOOL result;
704 InvokeHelper(0xce, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
705 return result;
706}
707
708void _Items::SetIncludeRecurrences(BOOL bNewValue)
709{
710 static BYTE parms[] =
711 VTS_BOOL;
712 InvokeHelper(0xce, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
713 bNewValue);
714}
715
716LPDISPATCH _Items::Add(const VARIANT& Type)
717{
718 LPDISPATCH result;
719 static BYTE parms[] =
720 VTS_VARIANT;
721 InvokeHelper(0x5f, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
722 &Type);
723 return result;
724}
725
726LPDISPATCH _Items::Find(LPCTSTR Filter)
727{
728 LPDISPATCH result;
729 static BYTE parms[] =
730 VTS_BSTR;
731 InvokeHelper(0x62, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
732 Filter);
733 return result;
734}
735
736LPDISPATCH _Items::FindNext()
737{
738 LPDISPATCH result;
739 InvokeHelper(0x63, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
740 return result;
741}
742
743LPDISPATCH _Items::GetFirst()
744{
745 LPDISPATCH result;
746 InvokeHelper(0x56, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
747 return result;
748}
749
750LPDISPATCH _Items::GetLast()
751{
752 LPDISPATCH result;
753 InvokeHelper(0x58, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
754 return result;
755}
756
757LPDISPATCH _Items::GetNext()
758{
759 LPDISPATCH result;
760 InvokeHelper(0x57, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
761 return result;
762}
763
764LPDISPATCH _Items::GetPrevious()
765{
766 LPDISPATCH result;
767 InvokeHelper(0x59, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
768 return result;
769}
770
771void _Items::Remove(long Index)
772{
773 static BYTE parms[] =
774 VTS_I4;
775 InvokeHelper(0x54, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
776 Index);
777}
778
779void _Items::ResetColumns()
780{
781 InvokeHelper(0x5d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
782}
783
784LPDISPATCH _Items::Restrict(LPCTSTR Filter)
785{
786 LPDISPATCH result;
787 static BYTE parms[] =
788 VTS_BSTR;
789 InvokeHelper(0x64, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
790 Filter);
791 return result;
792}
793
794void _Items::SetColumns(LPCTSTR Columns)
795{
796 static BYTE parms[] =
797 VTS_BSTR;
798 InvokeHelper(0x5c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
799 Columns);
800}
801
802void _Items::Sort(LPCTSTR Property_, const VARIANT& Descending)
803{
804 static BYTE parms[] =
805 VTS_BSTR VTS_VARIANT;
806 InvokeHelper(0x61, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
807 Property_, &Descending);
808}
809
810
811/////////////////////////////////////////////////////////////////////////////
812// _TaskItem properties
813
814/////////////////////////////////////////////////////////////////////////////
815// _TaskItem operations
816
817LPDISPATCH _TaskItem::GetApplication()
818{
819 LPDISPATCH result;
820 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
821 return result;
822}
823
824long _TaskItem::GetClass()
825{
826 long result;
827 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
828 return result;
829}
830
831LPDISPATCH _TaskItem::GetSession()
832{
833 LPDISPATCH result;
834 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
835 return result;
836}
837
838LPDISPATCH _TaskItem::GetParent()
839{
840 LPDISPATCH result;
841 InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
842 return result;
843}
844
845LPDISPATCH _TaskItem::GetActions()
846{
847 LPDISPATCH result;
848 InvokeHelper(0xf817, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
849 return result;
850}
851
852LPDISPATCH _TaskItem::GetAttachments()
853{
854 LPDISPATCH result;
855 InvokeHelper(0xf815, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
856 return result;
857}
858
859CString _TaskItem::GetBillingInformation()
860{
861 CString result;
862 InvokeHelper(0x8535, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
863 return result;
864}
865
866void _TaskItem::SetBillingInformation(LPCTSTR lpszNewValue)
867{
868 static BYTE parms[] =
869 VTS_BSTR;
870 InvokeHelper(0x8535, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
871 lpszNewValue);
872}
873
874CString _TaskItem::GetBody()
875{
876 CString result;
877 InvokeHelper(0x9100, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
878 return result;
879}
880
881void _TaskItem::SetBody(LPCTSTR lpszNewValue)
882{
883 static BYTE parms[] =
884 VTS_BSTR;
885 InvokeHelper(0x9100, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
886 lpszNewValue);
887}
888
889CString _TaskItem::GetCategories()
890{
891 CString result;
892 InvokeHelper(0x9001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
893 return result;
894}
895
896void _TaskItem::SetCategories(LPCTSTR lpszNewValue)
897{
898 static BYTE parms[] =
899 VTS_BSTR;
900 InvokeHelper(0x9001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
901 lpszNewValue);
902}
903
904CString _TaskItem::GetCompanies()
905{
906 CString result;
907 InvokeHelper(0x853b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
908 return result;
909}
910
911void _TaskItem::SetCompanies(LPCTSTR lpszNewValue)
912{
913 static BYTE parms[] =
914 VTS_BSTR;
915 InvokeHelper(0x853b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
916 lpszNewValue);
917}
918
919CString _TaskItem::GetConversationIndex()
920{
921 CString result;
922 InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
923 return result;
924}
925
926CString _TaskItem::GetConversationTopic()
927{
928 CString result;
929 InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
930 return result;
931}
932
933DATE _TaskItem::GetCreationTime()
934{
935 DATE result;
936 InvokeHelper(0x3007, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
937 return result;
938}
939
940CString _TaskItem::GetEntryID()
941{
942 CString result;
943 InvokeHelper(0xf01e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
944 return result;
945}
946
947LPDISPATCH _TaskItem::GetFormDescription()
948{
949 LPDISPATCH result;
950 InvokeHelper(0xf095, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
951 return result;
952}
953
954LPDISPATCH _TaskItem::GetGetInspector()
955{
956 LPDISPATCH result;
957 InvokeHelper(0xf03e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
958 return result;
959}
960
961long _TaskItem::GetImportance()
962{
963 long result;
964 InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
965 return result;
966}
967
968void _TaskItem::SetImportance(long nNewValue)
969{
970 static BYTE parms[] =
971 VTS_I4;
972 InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
973 nNewValue);
974}
975
976DATE _TaskItem::GetLastModificationTime()
977{
978 DATE result;
979 InvokeHelper(0x3008, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
980 return result;
981}
982
983CString _TaskItem::GetMessageClass()
984{
985 CString result;
986 InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
987 return result;
988}
989
990void _TaskItem::SetMessageClass(LPCTSTR lpszNewValue)
991{
992 static BYTE parms[] =
993 VTS_BSTR;
994 InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
995 lpszNewValue);
996}
997
998CString _TaskItem::GetMileage()
999{
1000 CString result;
1001 InvokeHelper(0x8534, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1002 return result;
1003}
1004
1005void _TaskItem::SetMileage(LPCTSTR lpszNewValue)
1006{
1007 static BYTE parms[] =
1008 VTS_BSTR;
1009 InvokeHelper(0x8534, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1010 lpszNewValue);
1011}
1012
1013BOOL _TaskItem::GetNoAging()
1014{
1015 BOOL result;
1016 InvokeHelper(0x850e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1017 return result;
1018}
1019
1020void _TaskItem::SetNoAging(BOOL bNewValue)
1021{
1022 static BYTE parms[] =
1023 VTS_BOOL;
1024 InvokeHelper(0x850e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1025 bNewValue);
1026}
1027
1028long _TaskItem::GetOutlookInternalVersion()
1029{
1030 long result;
1031 InvokeHelper(0x8552, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1032 return result;
1033}
1034
1035CString _TaskItem::GetOutlookVersion()
1036{
1037 CString result;
1038 InvokeHelper(0x8554, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1039 return result;
1040}
1041
1042BOOL _TaskItem::GetSaved()
1043{
1044 BOOL result;
1045 InvokeHelper(0xf0a3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1046 return result;
1047}
1048
1049long _TaskItem::GetSensitivity()
1050{
1051 long result;
1052 InvokeHelper(0x36, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1053 return result;
1054}
1055
1056void _TaskItem::SetSensitivity(long nNewValue)
1057{
1058 static BYTE parms[] =
1059 VTS_I4;
1060 InvokeHelper(0x36, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1061 nNewValue);
1062}
1063
1064long _TaskItem::GetSize()
1065{
1066 long result;
1067 InvokeHelper(0xe08, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1068 return result;
1069}
1070
1071CString _TaskItem::GetSubject()
1072{
1073 CString result;
1074 InvokeHelper(0x37, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1075 return result;
1076}
1077
1078void _TaskItem::SetSubject(LPCTSTR lpszNewValue)
1079{
1080 static BYTE parms[] =
1081 VTS_BSTR;
1082 InvokeHelper(0x37, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1083 lpszNewValue);
1084}
1085
1086BOOL _TaskItem::GetUnRead()
1087{
1088 BOOL result;
1089 InvokeHelper(0xf01c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1090 return result;
1091}
1092
1093void _TaskItem::SetUnRead(BOOL bNewValue)
1094{
1095 static BYTE parms[] =
1096 VTS_BOOL;
1097 InvokeHelper(0xf01c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1098 bNewValue);
1099}
1100
1101LPDISPATCH _TaskItem::GetUserProperties()
1102{
1103 LPDISPATCH result;
1104 InvokeHelper(0xf816, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1105 return result;
1106}
1107
1108void _TaskItem::Close(long SaveMode)
1109{
1110 static BYTE parms[] =
1111 VTS_I4;
1112 InvokeHelper(0xf023, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1113 SaveMode);
1114}
1115
1116LPDISPATCH _TaskItem::Copy()
1117{
1118 LPDISPATCH result;
1119 InvokeHelper(0xf032, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
1120 return result;
1121}
1122
1123void _TaskItem::Delete()
1124{
1125 InvokeHelper(0xf04a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1126}
1127
1128void _TaskItem::Display(const VARIANT& Modal)
1129{
1130 static BYTE parms[] =
1131 VTS_VARIANT;
1132 InvokeHelper(0xf0a6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1133 &Modal);
1134}
1135
1136LPDISPATCH _TaskItem::Move(LPDISPATCH DestFldr)
1137{
1138 LPDISPATCH result;
1139 static BYTE parms[] =
1140 VTS_DISPATCH;
1141 InvokeHelper(0xf034, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1142 DestFldr);
1143 return result;
1144}
1145
1146void _TaskItem::PrintOut()
1147{
1148 InvokeHelper(0xf033, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1149}
1150
1151void _TaskItem::Save()
1152{
1153 InvokeHelper(0xf048, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1154}
1155
1156void _TaskItem::SaveAs(LPCTSTR Path, const VARIANT& Type)
1157{
1158 static BYTE parms[] =
1159 VTS_BSTR VTS_VARIANT;
1160 InvokeHelper(0xf051, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1161 Path, &Type);
1162}
1163
1164long _TaskItem::GetActualWork()
1165{
1166 long result;
1167 InvokeHelper(0x8110, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1168 return result;
1169}
1170
1171void _TaskItem::SetActualWork(long nNewValue)
1172{
1173 static BYTE parms[] =
1174 VTS_I4;
1175 InvokeHelper(0x8110, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1176 nNewValue);
1177}
1178
1179CString _TaskItem::GetCardData()
1180{
1181 CString result;
1182 InvokeHelper(0x812b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1183 return result;
1184}
1185
1186void _TaskItem::SetCardData(LPCTSTR lpszNewValue)
1187{
1188 static BYTE parms[] =
1189 VTS_BSTR;
1190 InvokeHelper(0x812b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1191 lpszNewValue);
1192}
1193
1194BOOL _TaskItem::GetComplete()
1195{
1196 BOOL result;
1197 InvokeHelper(0x811c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1198 return result;
1199}
1200
1201void _TaskItem::SetComplete(BOOL bNewValue)
1202{
1203 static BYTE parms[] =
1204 VTS_BOOL;
1205 InvokeHelper(0x811c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1206 bNewValue);
1207}
1208
1209CString _TaskItem::GetContacts()
1210{
1211 CString result;
1212 InvokeHelper(0x853a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1213 return result;
1214}
1215
1216void _TaskItem::SetContacts(LPCTSTR lpszNewValue)
1217{
1218 static BYTE parms[] =
1219 VTS_BSTR;
1220 InvokeHelper(0x853a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1221 lpszNewValue);
1222}
1223
1224CString _TaskItem::GetContactNames()
1225{
1226 CString result;
1227 InvokeHelper(0x853c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1228 return result;
1229}
1230
1231void _TaskItem::SetContactNames(LPCTSTR lpszNewValue)
1232{
1233 static BYTE parms[] =
1234 VTS_BSTR;
1235 InvokeHelper(0x853c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1236 lpszNewValue);
1237}
1238
1239DATE _TaskItem::GetDateCompleted()
1240{
1241 DATE result;
1242 InvokeHelper(0x810f, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
1243 return result;
1244}
1245
1246void _TaskItem::SetDateCompleted(DATE newValue)
1247{
1248 static BYTE parms[] =
1249 VTS_DATE;
1250 InvokeHelper(0x810f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1251 newValue);
1252}
1253
1254long _TaskItem::GetDelegationState()
1255{
1256 long result;
1257 InvokeHelper(0x812a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1258 return result;
1259}
1260
1261CString _TaskItem::GetDelegator()
1262{
1263 CString result;
1264 InvokeHelper(0x8121, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1265 return result;
1266}
1267
1268DATE _TaskItem::GetDueDate()
1269{
1270 DATE result;
1271 InvokeHelper(0x8105, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
1272 return result;
1273}
1274
1275void _TaskItem::SetDueDate(DATE newValue)
1276{
1277 static BYTE parms[] =
1278 VTS_DATE;
1279 InvokeHelper(0x8105, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1280 newValue);
1281}
1282
1283BOOL _TaskItem::GetIsRecurring()
1284{
1285 BOOL result;
1286 InvokeHelper(0xf617, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1287 return result;
1288}
1289
1290long _TaskItem::GetOrdinal()
1291{
1292 long result;
1293 InvokeHelper(0x8123, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1294 return result;
1295}
1296
1297void _TaskItem::SetOrdinal(long nNewValue)
1298{
1299 static BYTE parms[] =
1300 VTS_I4;
1301 InvokeHelper(0x8123, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1302 nNewValue);
1303}
1304
1305CString _TaskItem::GetOwner()
1306{
1307 CString result;
1308 InvokeHelper(0x811f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1309 return result;
1310}
1311
1312void _TaskItem::SetOwner(LPCTSTR lpszNewValue)
1313{
1314 static BYTE parms[] =
1315 VTS_BSTR;
1316 InvokeHelper(0x811f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1317 lpszNewValue);
1318}
1319
1320long _TaskItem::GetOwnership()
1321{
1322 long result;
1323 InvokeHelper(0x8129, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1324 return result;
1325}
1326
1327long _TaskItem::GetPercentComplete()
1328{
1329 long result;
1330 InvokeHelper(0xf61f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1331 return result;
1332}
1333
1334void _TaskItem::SetPercentComplete(long nNewValue)
1335{
1336 static BYTE parms[] =
1337 VTS_I4;
1338 InvokeHelper(0xf61f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1339 nNewValue);
1340}
1341
1342LPDISPATCH _TaskItem::GetRecipients()
1343{
1344 LPDISPATCH result;
1345 InvokeHelper(0xf814, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1346 return result;
1347}
1348
1349DATE _TaskItem::GetReminderTime()
1350{
1351 DATE result;
1352 InvokeHelper(0x8502, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
1353 return result;
1354}
1355
1356void _TaskItem::SetReminderTime(DATE newValue)
1357{
1358 static BYTE parms[] =
1359 VTS_DATE;
1360 InvokeHelper(0x8502, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1361 newValue);
1362}
1363
1364BOOL _TaskItem::GetReminderOverrideDefault()
1365{
1366 BOOL result;
1367 InvokeHelper(0x851c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1368 return result;
1369}
1370
1371void _TaskItem::SetReminderOverrideDefault(BOOL bNewValue)
1372{
1373 static BYTE parms[] =
1374 VTS_BOOL;
1375 InvokeHelper(0x851c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1376 bNewValue);
1377}
1378
1379BOOL _TaskItem::GetReminderPlaySound()
1380{
1381 BOOL result;
1382 InvokeHelper(0x851e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1383 return result;
1384}
1385
1386void _TaskItem::SetReminderPlaySound(BOOL bNewValue)
1387{
1388 static BYTE parms[] =
1389 VTS_BOOL;
1390 InvokeHelper(0x851e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1391 bNewValue);
1392}
1393
1394BOOL _TaskItem::GetReminderSet()
1395{
1396 BOOL result;
1397 InvokeHelper(0x8503, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1398 return result;
1399}
1400
1401void _TaskItem::SetReminderSet(BOOL bNewValue)
1402{
1403 static BYTE parms[] =
1404 VTS_BOOL;
1405 InvokeHelper(0x8503, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1406 bNewValue);
1407}
1408
1409CString _TaskItem::GetReminderSoundFile()
1410{
1411 CString result;
1412 InvokeHelper(0x851f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1413 return result;
1414}
1415
1416void _TaskItem::SetReminderSoundFile(LPCTSTR lpszNewValue)
1417{
1418 static BYTE parms[] =
1419 VTS_BSTR;
1420 InvokeHelper(0x851f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1421 lpszNewValue);
1422}
1423
1424long _TaskItem::GetResponseState()
1425{
1426 long result;
1427 InvokeHelper(0xf623, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1428 return result;
1429}
1430
1431CString _TaskItem::GetRole()
1432{
1433 CString result;
1434 InvokeHelper(0x8127, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1435 return result;
1436}
1437
1438void _TaskItem::SetRole(LPCTSTR lpszNewValue)
1439{
1440 static BYTE parms[] =
1441 VTS_BSTR;
1442 InvokeHelper(0x8127, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1443 lpszNewValue);
1444}
1445
1446CString _TaskItem::GetSchedulePlusPriority()
1447{
1448 CString result;
1449 InvokeHelper(0x812f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1450 return result;
1451}
1452
1453void _TaskItem::SetSchedulePlusPriority(LPCTSTR lpszNewValue)
1454{
1455 static BYTE parms[] =
1456 VTS_BSTR;
1457 InvokeHelper(0x812f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1458 lpszNewValue);
1459}
1460
1461DATE _TaskItem::GetStartDate()
1462{
1463 DATE result;
1464 InvokeHelper(0x8104, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
1465 return result;
1466}
1467
1468void _TaskItem::SetStartDate(DATE newValue)
1469{
1470 static BYTE parms[] =
1471 VTS_DATE;
1472 InvokeHelper(0x8104, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1473 newValue);
1474}
1475
1476long _TaskItem::GetStatus()
1477{
1478 long result;
1479 InvokeHelper(0x8101, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1480 return result;
1481}
1482
1483void _TaskItem::SetStatus(long nNewValue)
1484{
1485 static BYTE parms[] =
1486 VTS_I4;
1487 InvokeHelper(0x8101, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1488 nNewValue);
1489}
1490
1491CString _TaskItem::GetStatusOnCompletionRecipients()
1492{
1493 CString result;
1494 InvokeHelper(0xe02, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1495 return result;
1496}
1497
1498void _TaskItem::SetStatusOnCompletionRecipients(LPCTSTR lpszNewValue)
1499{
1500 static BYTE parms[] =
1501 VTS_BSTR;
1502 InvokeHelper(0xe02, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1503 lpszNewValue);
1504}
1505
1506CString _TaskItem::GetStatusUpdateRecipients()
1507{
1508 CString result;
1509 InvokeHelper(0xe03, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1510 return result;
1511}
1512
1513void _TaskItem::SetStatusUpdateRecipients(LPCTSTR lpszNewValue)
1514{
1515 static BYTE parms[] =
1516 VTS_BSTR;
1517 InvokeHelper(0xe03, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1518 lpszNewValue);
1519}
1520
1521BOOL _TaskItem::GetTeamTask()
1522{
1523 BOOL result;
1524 InvokeHelper(0x8103, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1525 return result;
1526}
1527
1528void _TaskItem::SetTeamTask(BOOL bNewValue)
1529{
1530 static BYTE parms[] =
1531 VTS_BOOL;
1532 InvokeHelper(0x8103, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1533 bNewValue);
1534}
1535
1536long _TaskItem::GetTotalWork()
1537{
1538 long result;
1539 InvokeHelper(0x8111, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1540 return result;
1541}
1542
1543void _TaskItem::SetTotalWork(long nNewValue)
1544{
1545 static BYTE parms[] =
1546 VTS_I4;
1547 InvokeHelper(0x8111, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1548 nNewValue);
1549}
1550
1551LPDISPATCH _TaskItem::Assign()
1552{
1553 LPDISPATCH result;
1554 InvokeHelper(0xf620, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
1555 return result;
1556}
1557
1558void _TaskItem::CancelResponseState()
1559{
1560 InvokeHelper(0xf622, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1561}
1562
1563void _TaskItem::ClearRecurrencePattern()
1564{
1565 InvokeHelper(0xf0a5, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1566}
1567
1568LPDISPATCH _TaskItem::GetRecurrencePattern()
1569{
1570 LPDISPATCH result;
1571 InvokeHelper(0xf0a4, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
1572 return result;
1573}
1574
1575void _TaskItem::MarkComplete()
1576{
1577 InvokeHelper(0xf60d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1578}
1579
1580LPDISPATCH _TaskItem::Respond(long Response, const VARIANT& fNoUI, const VARIANT& fAdditionalTextDialog)
1581{
1582 LPDISPATCH result;
1583 static BYTE parms[] =
1584 VTS_I4 VTS_VARIANT VTS_VARIANT;
1585 InvokeHelper(0xf621, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1586 Response, &fNoUI, &fAdditionalTextDialog);
1587 return result;
1588}
1589
1590void _TaskItem::Send()
1591{
1592 InvokeHelper(0xf075, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1593}
1594
1595BOOL _TaskItem::SkipRecurrence()
1596{
1597 BOOL result;
1598 InvokeHelper(0xf624, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
1599 return result;
1600}
1601
1602LPDISPATCH _TaskItem::StatusReport()
1603{
1604 LPDISPATCH result;
1605 InvokeHelper(0xf612, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
1606 return result;
1607}
1608
1609LPDISPATCH _TaskItem::GetLinks()
1610{
1611 LPDISPATCH result;
1612 InvokeHelper(0xf405, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1613 return result;
1614}
1615
1616
1617/////////////////////////////////////////////////////////////////////////////
1618// _AppointmentItem properties
1619
1620/////////////////////////////////////////////////////////////////////////////
1621// _AppointmentItem operations
1622
1623LPDISPATCH _AppointmentItem::GetApplication()
1624{
1625 LPDISPATCH result;
1626 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1627 return result;
1628}
1629
1630long _AppointmentItem::GetClass()
1631{
1632 long result;
1633 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1634 return result;
1635}
1636
1637LPDISPATCH _AppointmentItem::GetSession()
1638{
1639 LPDISPATCH result;
1640 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1641 return result;
1642}
1643
1644LPDISPATCH _AppointmentItem::GetParent()
1645{
1646 LPDISPATCH result;
1647 InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1648 return result;
1649}
1650
1651LPDISPATCH _AppointmentItem::GetActions()
1652{
1653 LPDISPATCH result;
1654 InvokeHelper(0xf817, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1655 return result;
1656}
1657
1658LPDISPATCH _AppointmentItem::GetAttachments()
1659{
1660 LPDISPATCH result;
1661 InvokeHelper(0xf815, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1662 return result;
1663}
1664
1665CString _AppointmentItem::GetBillingInformation()
1666{
1667 CString result;
1668 InvokeHelper(0x8535, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1669 return result;
1670}
1671
1672void _AppointmentItem::SetBillingInformation(LPCTSTR lpszNewValue)
1673{
1674 static BYTE parms[] =
1675 VTS_BSTR;
1676 InvokeHelper(0x8535, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1677 lpszNewValue);
1678}
1679
1680CString _AppointmentItem::GetBody()
1681{
1682 CString result;
1683 InvokeHelper(0x9100, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1684 return result;
1685}
1686
1687void _AppointmentItem::SetBody(LPCTSTR lpszNewValue)
1688{
1689 static BYTE parms[] =
1690 VTS_BSTR;
1691 InvokeHelper(0x9100, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1692 lpszNewValue);
1693}
1694
1695CString _AppointmentItem::GetCategories()
1696{
1697 CString result;
1698 InvokeHelper(0x9001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1699 return result;
1700}
1701
1702void _AppointmentItem::SetCategories(LPCTSTR lpszNewValue)
1703{
1704 static BYTE parms[] =
1705 VTS_BSTR;
1706 InvokeHelper(0x9001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1707 lpszNewValue);
1708}
1709
1710CString _AppointmentItem::GetCompanies()
1711{
1712 CString result;
1713 InvokeHelper(0x853b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1714 return result;
1715}
1716
1717void _AppointmentItem::SetCompanies(LPCTSTR lpszNewValue)
1718{
1719 static BYTE parms[] =
1720 VTS_BSTR;
1721 InvokeHelper(0x853b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1722 lpszNewValue);
1723}
1724
1725CString _AppointmentItem::GetConversationIndex()
1726{
1727 CString result;
1728 InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1729 return result;
1730}
1731
1732CString _AppointmentItem::GetConversationTopic()
1733{
1734 CString result;
1735 InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1736 return result;
1737}
1738
1739DATE _AppointmentItem::GetCreationTime()
1740{
1741 DATE result;
1742 InvokeHelper(0x3007, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
1743 return result;
1744}
1745
1746CString _AppointmentItem::GetEntryID()
1747{
1748 CString result;
1749 InvokeHelper(0xf01e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1750 return result;
1751}
1752
1753LPDISPATCH _AppointmentItem::GetFormDescription()
1754{
1755 LPDISPATCH result;
1756 InvokeHelper(0xf095, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1757 return result;
1758}
1759
1760LPDISPATCH _AppointmentItem::GetGetInspector()
1761{
1762 LPDISPATCH result;
1763 InvokeHelper(0xf03e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1764 return result;
1765}
1766
1767long _AppointmentItem::GetImportance()
1768{
1769 long result;
1770 InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1771 return result;
1772}
1773
1774void _AppointmentItem::SetImportance(long nNewValue)
1775{
1776 static BYTE parms[] =
1777 VTS_I4;
1778 InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1779 nNewValue);
1780}
1781
1782DATE _AppointmentItem::GetLastModificationTime()
1783{
1784 DATE result;
1785 InvokeHelper(0x3008, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
1786 return result;
1787}
1788
1789CString _AppointmentItem::GetMessageClass()
1790{
1791 CString result;
1792 InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1793 return result;
1794}
1795
1796void _AppointmentItem::SetMessageClass(LPCTSTR lpszNewValue)
1797{
1798 static BYTE parms[] =
1799 VTS_BSTR;
1800 InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1801 lpszNewValue);
1802}
1803
1804CString _AppointmentItem::GetMileage()
1805{
1806 CString result;
1807 InvokeHelper(0x8534, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1808 return result;
1809}
1810
1811void _AppointmentItem::SetMileage(LPCTSTR lpszNewValue)
1812{
1813 static BYTE parms[] =
1814 VTS_BSTR;
1815 InvokeHelper(0x8534, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1816 lpszNewValue);
1817}
1818
1819BOOL _AppointmentItem::GetNoAging()
1820{
1821 BOOL result;
1822 InvokeHelper(0x850e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1823 return result;
1824}
1825
1826void _AppointmentItem::SetNoAging(BOOL bNewValue)
1827{
1828 static BYTE parms[] =
1829 VTS_BOOL;
1830 InvokeHelper(0x850e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1831 bNewValue);
1832}
1833
1834long _AppointmentItem::GetOutlookInternalVersion()
1835{
1836 long result;
1837 InvokeHelper(0x8552, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1838 return result;
1839}
1840
1841CString _AppointmentItem::GetOutlookVersion()
1842{
1843 CString result;
1844 InvokeHelper(0x8554, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1845 return result;
1846}
1847
1848BOOL _AppointmentItem::GetSaved()
1849{
1850 BOOL result;
1851 InvokeHelper(0xf0a3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1852 return result;
1853}
1854
1855long _AppointmentItem::GetSensitivity()
1856{
1857 long result;
1858 InvokeHelper(0x36, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1859 return result;
1860}
1861
1862void _AppointmentItem::SetSensitivity(long nNewValue)
1863{
1864 static BYTE parms[] =
1865 VTS_I4;
1866 InvokeHelper(0x36, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1867 nNewValue);
1868}
1869
1870long _AppointmentItem::GetSize()
1871{
1872 long result;
1873 InvokeHelper(0xe08, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1874 return result;
1875}
1876
1877CString _AppointmentItem::GetSubject()
1878{
1879 CString result;
1880 InvokeHelper(0x37, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1881 return result;
1882}
1883
1884void _AppointmentItem::SetSubject(LPCTSTR lpszNewValue)
1885{
1886 static BYTE parms[] =
1887 VTS_BSTR;
1888 InvokeHelper(0x37, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1889 lpszNewValue);
1890}
1891
1892BOOL _AppointmentItem::GetUnRead()
1893{
1894 BOOL result;
1895 InvokeHelper(0xf01c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1896 return result;
1897}
1898
1899void _AppointmentItem::SetUnRead(BOOL bNewValue)
1900{
1901 static BYTE parms[] =
1902 VTS_BOOL;
1903 InvokeHelper(0xf01c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1904 bNewValue);
1905}
1906
1907LPDISPATCH _AppointmentItem::GetUserProperties()
1908{
1909 LPDISPATCH result;
1910 InvokeHelper(0xf816, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1911 return result;
1912}
1913
1914void _AppointmentItem::Close(long SaveMode)
1915{
1916 static BYTE parms[] =
1917 VTS_I4;
1918 InvokeHelper(0xf023, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1919 SaveMode);
1920}
1921
1922LPDISPATCH _AppointmentItem::Copy()
1923{
1924 LPDISPATCH result;
1925 InvokeHelper(0xf032, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
1926 return result;
1927}
1928
1929void _AppointmentItem::Delete()
1930{
1931 InvokeHelper(0xf04a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1932}
1933
1934void _AppointmentItem::Display(const VARIANT& Modal)
1935{
1936 static BYTE parms[] =
1937 VTS_VARIANT;
1938 InvokeHelper(0xf0a6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1939 &Modal);
1940}
1941
1942LPDISPATCH _AppointmentItem::Move(LPDISPATCH DestFldr)
1943{
1944 LPDISPATCH result;
1945 static BYTE parms[] =
1946 VTS_DISPATCH;
1947 InvokeHelper(0xf034, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1948 DestFldr);
1949 return result;
1950}
1951
1952void _AppointmentItem::PrintOut()
1953{
1954 InvokeHelper(0xf033, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1955}
1956
1957void _AppointmentItem::Save()
1958{
1959 InvokeHelper(0xf048, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1960}
1961
1962void _AppointmentItem::SaveAs(LPCTSTR Path, const VARIANT& Type)
1963{
1964 static BYTE parms[] =
1965 VTS_BSTR VTS_VARIANT;
1966 InvokeHelper(0xf051, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1967 Path, &Type);
1968}
1969
1970BOOL _AppointmentItem::GetAllDayEvent()
1971{
1972 BOOL result;
1973 InvokeHelper(0x8215, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1974 return result;
1975}
1976
1977void _AppointmentItem::SetAllDayEvent(BOOL bNewValue)
1978{
1979 static BYTE parms[] =
1980 VTS_BOOL;
1981 InvokeHelper(0x8215, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1982 bNewValue);
1983}
1984
1985long _AppointmentItem::GetBusyStatus()
1986{
1987 long result;
1988 InvokeHelper(0x8205, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1989 return result;
1990}
1991
1992void _AppointmentItem::SetBusyStatus(long nNewValue)
1993{
1994 static BYTE parms[] =
1995 VTS_I4;
1996 InvokeHelper(0x8205, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1997 nNewValue);
1998}
1999
2000long _AppointmentItem::GetDuration()
2001{
2002 long result;
2003 InvokeHelper(0x8213, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2004 return result;
2005}
2006
2007void _AppointmentItem::SetDuration(long nNewValue)
2008{
2009 static BYTE parms[] =
2010 VTS_I4;
2011 InvokeHelper(0x8213, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2012 nNewValue);
2013}
2014
2015DATE _AppointmentItem::GetEnd()
2016{
2017 DATE result;
2018 InvokeHelper(0x820e, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
2019 return result;
2020}
2021
2022void _AppointmentItem::SetEnd(DATE newValue)
2023{
2024 static BYTE parms[] =
2025 VTS_DATE;
2026 InvokeHelper(0x820e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2027 newValue);
2028}
2029
2030BOOL _AppointmentItem::GetIsOnlineMeeting()
2031{
2032 BOOL result;
2033 InvokeHelper(0x8240, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2034 return result;
2035}
2036
2037void _AppointmentItem::SetIsOnlineMeeting(BOOL bNewValue)
2038{
2039 static BYTE parms[] =
2040 VTS_BOOL;
2041 InvokeHelper(0x8240, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2042 bNewValue);
2043}
2044
2045BOOL _AppointmentItem::GetIsRecurring()
2046{
2047 BOOL result;
2048 InvokeHelper(0x8223, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2049 return result;
2050}
2051
2052CString _AppointmentItem::GetLocation()
2053{
2054 CString result;
2055 InvokeHelper(0x8208, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2056 return result;
2057}
2058
2059void _AppointmentItem::SetLocation(LPCTSTR lpszNewValue)
2060{
2061 static BYTE parms[] =
2062 VTS_BSTR;
2063 InvokeHelper(0x8208, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2064 lpszNewValue);
2065}
2066
2067long _AppointmentItem::GetMeetingStatus()
2068{
2069 long result;
2070 InvokeHelper(0x8217, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2071 return result;
2072}
2073
2074void _AppointmentItem::SetMeetingStatus(long nNewValue)
2075{
2076 static BYTE parms[] =
2077 VTS_I4;
2078 InvokeHelper(0x8217, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2079 nNewValue);
2080}
2081
2082BOOL _AppointmentItem::GetNetMeetingAutoStart()
2083{
2084 BOOL result;
2085 InvokeHelper(0x8244, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2086 return result;
2087}
2088
2089void _AppointmentItem::SetNetMeetingAutoStart(BOOL bNewValue)
2090{
2091 static BYTE parms[] =
2092 VTS_BOOL;
2093 InvokeHelper(0x8244, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2094 bNewValue);
2095}
2096
2097CString _AppointmentItem::GetNetMeetingOrganizerAlias()
2098{
2099 CString result;
2100 InvokeHelper(0x8243, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2101 return result;
2102}
2103
2104void _AppointmentItem::SetNetMeetingOrganizerAlias(LPCTSTR lpszNewValue)
2105{
2106 static BYTE parms[] =
2107 VTS_BSTR;
2108 InvokeHelper(0x8243, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2109 lpszNewValue);
2110}
2111
2112CString _AppointmentItem::GetNetMeetingServer()
2113{
2114 CString result;
2115 InvokeHelper(0x8242, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2116 return result;
2117}
2118
2119void _AppointmentItem::SetNetMeetingServer(LPCTSTR lpszNewValue)
2120{
2121 static BYTE parms[] =
2122 VTS_BSTR;
2123 InvokeHelper(0x8242, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2124 lpszNewValue);
2125}
2126
2127long _AppointmentItem::GetNetMeetingType()
2128{
2129 long result;
2130 InvokeHelper(0x8241, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2131 return result;
2132}
2133
2134void _AppointmentItem::SetNetMeetingType(long nNewValue)
2135{
2136 static BYTE parms[] =
2137 VTS_I4;
2138 InvokeHelper(0x8241, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2139 nNewValue);
2140}
2141
2142CString _AppointmentItem::GetOptionalAttendees()
2143{
2144 CString result;
2145 InvokeHelper(0xe03, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2146 return result;
2147}
2148
2149void _AppointmentItem::SetOptionalAttendees(LPCTSTR lpszNewValue)
2150{
2151 static BYTE parms[] =
2152 VTS_BSTR;
2153 InvokeHelper(0xe03, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2154 lpszNewValue);
2155}
2156
2157CString _AppointmentItem::GetOrganizer()
2158{
2159 CString result;
2160 InvokeHelper(0x42, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2161 return result;
2162}
2163
2164LPDISPATCH _AppointmentItem::GetRecipients()
2165{
2166 LPDISPATCH result;
2167 InvokeHelper(0xf814, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2168 return result;
2169}
2170
2171long _AppointmentItem::GetRecurrenceState()
2172{
2173 long result;
2174 InvokeHelper(0xf545, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2175 return result;
2176}
2177
2178long _AppointmentItem::GetReminderMinutesBeforeStart()
2179{
2180 long result;
2181 InvokeHelper(0x8501, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2182 return result;
2183}
2184
2185void _AppointmentItem::SetReminderMinutesBeforeStart(long nNewValue)
2186{
2187 static BYTE parms[] =
2188 VTS_I4;
2189 InvokeHelper(0x8501, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2190 nNewValue);
2191}
2192
2193BOOL _AppointmentItem::GetReminderOverrideDefault()
2194{
2195 BOOL result;
2196 InvokeHelper(0x851c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2197 return result;
2198}
2199
2200void _AppointmentItem::SetReminderOverrideDefault(BOOL bNewValue)
2201{
2202 static BYTE parms[] =
2203 VTS_BOOL;
2204 InvokeHelper(0x851c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2205 bNewValue);
2206}
2207
2208BOOL _AppointmentItem::GetReminderPlaySound()
2209{
2210 BOOL result;
2211 InvokeHelper(0x851e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2212 return result;
2213}
2214
2215void _AppointmentItem::SetReminderPlaySound(BOOL bNewValue)
2216{
2217 static BYTE parms[] =
2218 VTS_BOOL;
2219 InvokeHelper(0x851e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2220 bNewValue);
2221}
2222
2223BOOL _AppointmentItem::GetReminderSet()
2224{
2225 BOOL result;
2226 InvokeHelper(0x8503, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2227 return result;
2228}
2229
2230void _AppointmentItem::SetReminderSet(BOOL bNewValue)
2231{
2232 static BYTE parms[] =
2233 VTS_BOOL;
2234 InvokeHelper(0x8503, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2235 bNewValue);
2236}
2237
2238CString _AppointmentItem::GetReminderSoundFile()
2239{
2240 CString result;
2241 InvokeHelper(0x851f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2242 return result;
2243}
2244
2245void _AppointmentItem::SetReminderSoundFile(LPCTSTR lpszNewValue)
2246{
2247 static BYTE parms[] =
2248 VTS_BSTR;
2249 InvokeHelper(0x851f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2250 lpszNewValue);
2251}
2252
2253DATE _AppointmentItem::GetReplyTime()
2254{
2255 DATE result;
2256 InvokeHelper(0x8220, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
2257 return result;
2258}
2259
2260void _AppointmentItem::SetReplyTime(DATE newValue)
2261{
2262 static BYTE parms[] =
2263 VTS_DATE;
2264 InvokeHelper(0x8220, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2265 newValue);
2266}
2267
2268CString _AppointmentItem::GetRequiredAttendees()
2269{
2270 CString result;
2271 InvokeHelper(0xe04, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2272 return result;
2273}
2274
2275void _AppointmentItem::SetRequiredAttendees(LPCTSTR lpszNewValue)
2276{
2277 static BYTE parms[] =
2278 VTS_BSTR;
2279 InvokeHelper(0xe04, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2280 lpszNewValue);
2281}
2282
2283CString _AppointmentItem::GetResources()
2284{
2285 CString result;
2286 InvokeHelper(0xe02, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2287 return result;
2288}
2289
2290void _AppointmentItem::SetResources(LPCTSTR lpszNewValue)
2291{
2292 static BYTE parms[] =
2293 VTS_BSTR;
2294 InvokeHelper(0xe02, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2295 lpszNewValue);
2296}
2297
2298BOOL _AppointmentItem::GetResponseRequested()
2299{
2300 BOOL result;
2301 InvokeHelper(0x63, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2302 return result;
2303}
2304
2305void _AppointmentItem::SetResponseRequested(BOOL bNewValue)
2306{
2307 static BYTE parms[] =
2308 VTS_BOOL;
2309 InvokeHelper(0x63, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2310 bNewValue);
2311}
2312
2313long _AppointmentItem::GetResponseStatus()
2314{
2315 long result;
2316 InvokeHelper(0x8218, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2317 return result;
2318}
2319
2320DATE _AppointmentItem::GetStart()
2321{
2322 DATE result;
2323 InvokeHelper(0x820d, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
2324 return result;
2325}
2326
2327void _AppointmentItem::SetStart(DATE newValue)
2328{
2329 static BYTE parms[] =
2330 VTS_DATE;
2331 InvokeHelper(0x820d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2332 newValue);
2333}
2334
2335void _AppointmentItem::ClearRecurrencePattern()
2336{
2337 InvokeHelper(0xf0a5, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2338}
2339
2340LPDISPATCH _AppointmentItem::ForwardAsVcal()
2341{
2342 LPDISPATCH result;
2343 InvokeHelper(0xf547, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
2344 return result;
2345}
2346
2347LPDISPATCH _AppointmentItem::GetRecurrencePattern()
2348{
2349 LPDISPATCH result;
2350 InvokeHelper(0xf0a4, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
2351 return result;
2352}
2353
2354LPDISPATCH _AppointmentItem::Respond(long Response, const VARIANT& fNoUI, const VARIANT& fAdditionalTextDialog)
2355{
2356 LPDISPATCH result;
2357 static BYTE parms[] =
2358 VTS_I4 VTS_VARIANT VTS_VARIANT;
2359 InvokeHelper(0xf502, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
2360 Response, &fNoUI, &fAdditionalTextDialog);
2361 return result;
2362}
2363
2364void _AppointmentItem::Send()
2365{
2366 InvokeHelper(0xf075, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2367}
2368
2369CString _AppointmentItem::GetNetMeetingDocPathName()
2370{
2371 CString result;
2372 InvokeHelper(0x8247, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2373 return result;
2374}
2375
2376void _AppointmentItem::SetNetMeetingDocPathName(LPCTSTR lpszNewValue)
2377{
2378 static BYTE parms[] =
2379 VTS_BSTR;
2380 InvokeHelper(0x8247, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2381 lpszNewValue);
2382}
2383
2384CString _AppointmentItem::GetNetShowURL()
2385{
2386 CString result;
2387 InvokeHelper(0x8248, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2388 return result;
2389}
2390
2391void _AppointmentItem::SetNetShowURL(LPCTSTR lpszNewValue)
2392{
2393 static BYTE parms[] =
2394 VTS_BSTR;
2395 InvokeHelper(0x8248, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2396 lpszNewValue);
2397}
2398
2399LPDISPATCH _AppointmentItem::GetLinks()
2400{
2401 LPDISPATCH result;
2402 InvokeHelper(0xf405, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2403 return result;
2404}
2405
2406BOOL _AppointmentItem::GetConferenceServerAllowExternal()
2407{
2408 BOOL result;
2409 InvokeHelper(0x8246, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2410 return result;
2411}
2412
2413void _AppointmentItem::SetConferenceServerAllowExternal(BOOL bNewValue)
2414{
2415 static BYTE parms[] =
2416 VTS_BOOL;
2417 InvokeHelper(0x8246, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2418 bNewValue);
2419}
2420
2421CString _AppointmentItem::GetConferenceServerPassword()
2422{
2423 CString result;
2424 InvokeHelper(0x8249, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2425 return result;
2426}
2427
2428void _AppointmentItem::SetConferenceServerPassword(LPCTSTR lpszNewValue)
2429{
2430 static BYTE parms[] =
2431 VTS_BSTR;
2432 InvokeHelper(0x8249, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2433 lpszNewValue);
2434}
2435
2436
2437/////////////////////////////////////////////////////////////////////////////
2438// _MailItem properties
2439
2440/////////////////////////////////////////////////////////////////////////////
2441// _MailItem operations
2442
2443LPDISPATCH _MailItem::GetApplication()
2444{
2445 LPDISPATCH result;
2446 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2447 return result;
2448}
2449
2450long _MailItem::GetClass()
2451{
2452 long result;
2453 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2454 return result;
2455}
2456
2457LPDISPATCH _MailItem::GetSession()
2458{
2459 LPDISPATCH result;
2460 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2461 return result;
2462}
2463
2464LPDISPATCH _MailItem::GetParent()
2465{
2466 LPDISPATCH result;
2467 InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2468 return result;
2469}
2470
2471LPDISPATCH _MailItem::GetActions()
2472{
2473 LPDISPATCH result;
2474 InvokeHelper(0xf817, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2475 return result;
2476}
2477
2478LPDISPATCH _MailItem::GetAttachments()
2479{
2480 LPDISPATCH result;
2481 InvokeHelper(0xf815, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2482 return result;
2483}
2484
2485CString _MailItem::GetBillingInformation()
2486{
2487 CString result;
2488 InvokeHelper(0x8535, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2489 return result;
2490}
2491
2492void _MailItem::SetBillingInformation(LPCTSTR lpszNewValue)
2493{
2494 static BYTE parms[] =
2495 VTS_BSTR;
2496 InvokeHelper(0x8535, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2497 lpszNewValue);
2498}
2499
2500CString _MailItem::GetBody()
2501{
2502 CString result;
2503 InvokeHelper(0x9100, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2504 return result;
2505}
2506
2507void _MailItem::SetBody(LPCTSTR lpszNewValue)
2508{
2509 static BYTE parms[] =
2510 VTS_BSTR;
2511 InvokeHelper(0x9100, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2512 lpszNewValue);
2513}
2514
2515CString _MailItem::GetCategories()
2516{
2517 CString result;
2518 InvokeHelper(0x9001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2519 return result;
2520}
2521
2522void _MailItem::SetCategories(LPCTSTR lpszNewValue)
2523{
2524 static BYTE parms[] =
2525 VTS_BSTR;
2526 InvokeHelper(0x9001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2527 lpszNewValue);
2528}
2529
2530CString _MailItem::GetCompanies()
2531{
2532 CString result;
2533 InvokeHelper(0x853b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2534 return result;
2535}
2536
2537void _MailItem::SetCompanies(LPCTSTR lpszNewValue)
2538{
2539 static BYTE parms[] =
2540 VTS_BSTR;
2541 InvokeHelper(0x853b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2542 lpszNewValue);
2543}
2544
2545CString _MailItem::GetConversationIndex()
2546{
2547 CString result;
2548 InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2549 return result;
2550}
2551
2552CString _MailItem::GetConversationTopic()
2553{
2554 CString result;
2555 InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2556 return result;
2557}
2558
2559DATE _MailItem::GetCreationTime()
2560{
2561 DATE result;
2562 InvokeHelper(0x3007, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
2563 return result;
2564}
2565
2566CString _MailItem::GetEntryID()
2567{
2568 CString result;
2569 InvokeHelper(0xf01e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2570 return result;
2571}
2572
2573LPDISPATCH _MailItem::GetFormDescription()
2574{
2575 LPDISPATCH result;
2576 InvokeHelper(0xf095, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2577 return result;
2578}
2579
2580LPDISPATCH _MailItem::GetGetInspector()
2581{
2582 LPDISPATCH result;
2583 InvokeHelper(0xf03e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2584 return result;
2585}
2586
2587long _MailItem::GetImportance()
2588{
2589 long result;
2590 InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2591 return result;
2592}
2593
2594void _MailItem::SetImportance(long nNewValue)
2595{
2596 static BYTE parms[] =
2597 VTS_I4;
2598 InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2599 nNewValue);
2600}
2601
2602DATE _MailItem::GetLastModificationTime()
2603{
2604 DATE result;
2605 InvokeHelper(0x3008, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
2606 return result;
2607}
2608
2609CString _MailItem::GetMessageClass()
2610{
2611 CString result;
2612 InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2613 return result;
2614}
2615
2616void _MailItem::SetMessageClass(LPCTSTR lpszNewValue)
2617{
2618 static BYTE parms[] =
2619 VTS_BSTR;
2620 InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2621 lpszNewValue);
2622}
2623
2624CString _MailItem::GetMileage()
2625{
2626 CString result;
2627 InvokeHelper(0x8534, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2628 return result;
2629}
2630
2631void _MailItem::SetMileage(LPCTSTR lpszNewValue)
2632{
2633 static BYTE parms[] =
2634 VTS_BSTR;
2635 InvokeHelper(0x8534, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2636 lpszNewValue);
2637}
2638
2639BOOL _MailItem::GetNoAging()
2640{
2641 BOOL result;
2642 InvokeHelper(0x850e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2643 return result;
2644}
2645
2646void _MailItem::SetNoAging(BOOL bNewValue)
2647{
2648 static BYTE parms[] =
2649 VTS_BOOL;
2650 InvokeHelper(0x850e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2651 bNewValue);
2652}
2653
2654long _MailItem::GetOutlookInternalVersion()
2655{
2656 long result;
2657 InvokeHelper(0x8552, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2658 return result;
2659}
2660
2661CString _MailItem::GetOutlookVersion()
2662{
2663 CString result;
2664 InvokeHelper(0x8554, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2665 return result;
2666}
2667
2668BOOL _MailItem::GetSaved()
2669{
2670 BOOL result;
2671 InvokeHelper(0xf0a3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2672 return result;
2673}
2674
2675long _MailItem::GetSensitivity()
2676{
2677 long result;
2678 InvokeHelper(0x36, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2679 return result;
2680}
2681
2682void _MailItem::SetSensitivity(long nNewValue)
2683{
2684 static BYTE parms[] =
2685 VTS_I4;
2686 InvokeHelper(0x36, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2687 nNewValue);
2688}
2689
2690long _MailItem::GetSize()
2691{
2692 long result;
2693 InvokeHelper(0xe08, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2694 return result;
2695}
2696
2697CString _MailItem::GetSubject()
2698{
2699 CString result;
2700 InvokeHelper(0x37, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2701 return result;
2702}
2703
2704void _MailItem::SetSubject(LPCTSTR lpszNewValue)
2705{
2706 static BYTE parms[] =
2707 VTS_BSTR;
2708 InvokeHelper(0x37, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2709 lpszNewValue);
2710}
2711
2712BOOL _MailItem::GetUnRead()
2713{
2714 BOOL result;
2715 InvokeHelper(0xf01c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2716 return result;
2717}
2718
2719void _MailItem::SetUnRead(BOOL bNewValue)
2720{
2721 static BYTE parms[] =
2722 VTS_BOOL;
2723 InvokeHelper(0xf01c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2724 bNewValue);
2725}
2726
2727LPDISPATCH _MailItem::GetUserProperties()
2728{
2729 LPDISPATCH result;
2730 InvokeHelper(0xf816, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2731 return result;
2732}
2733
2734void _MailItem::Close(long SaveMode)
2735{
2736 static BYTE parms[] =
2737 VTS_I4;
2738 InvokeHelper(0xf023, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2739 SaveMode);
2740}
2741
2742LPDISPATCH _MailItem::Copy()
2743{
2744 LPDISPATCH result;
2745 InvokeHelper(0xf032, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
2746 return result;
2747}
2748
2749void _MailItem::Delete()
2750{
2751 InvokeHelper(0xf04a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2752}
2753
2754void _MailItem::Display(const VARIANT& Modal)
2755{
2756 static BYTE parms[] =
2757 VTS_VARIANT;
2758 InvokeHelper(0xf0a6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2759 &Modal);
2760}
2761
2762LPDISPATCH _MailItem::Move(LPDISPATCH DestFldr)
2763{
2764 LPDISPATCH result;
2765 static BYTE parms[] =
2766 VTS_DISPATCH;
2767 InvokeHelper(0xf034, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
2768 DestFldr);
2769 return result;
2770}
2771
2772void _MailItem::PrintOut()
2773{
2774 InvokeHelper(0xf033, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2775}
2776
2777void _MailItem::Save()
2778{
2779 InvokeHelper(0xf048, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2780}
2781
2782void _MailItem::SaveAs(LPCTSTR Path, const VARIANT& Type)
2783{
2784 static BYTE parms[] =
2785 VTS_BSTR VTS_VARIANT;
2786 InvokeHelper(0xf051, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2787 Path, &Type);
2788}
2789
2790BOOL _MailItem::GetAlternateRecipientAllowed()
2791{
2792 BOOL result;
2793 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2794 return result;
2795}
2796
2797void _MailItem::SetAlternateRecipientAllowed(BOOL bNewValue)
2798{
2799 static BYTE parms[] =
2800 VTS_BOOL;
2801 InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2802 bNewValue);
2803}
2804
2805BOOL _MailItem::GetAutoForwarded()
2806{
2807 BOOL result;
2808 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2809 return result;
2810}
2811
2812void _MailItem::SetAutoForwarded(BOOL bNewValue)
2813{
2814 static BYTE parms[] =
2815 VTS_BOOL;
2816 InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2817 bNewValue);
2818}
2819
2820CString _MailItem::GetBcc()
2821{
2822 CString result;
2823 InvokeHelper(0xe02, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2824 return result;
2825}
2826
2827void _MailItem::SetBcc(LPCTSTR lpszNewValue)
2828{
2829 static BYTE parms[] =
2830 VTS_BSTR;
2831 InvokeHelper(0xe02, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2832 lpszNewValue);
2833}
2834
2835CString _MailItem::GetCc()
2836{
2837 CString result;
2838 InvokeHelper(0xe03, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2839 return result;
2840}
2841
2842void _MailItem::SetCc(LPCTSTR lpszNewValue)
2843{
2844 static BYTE parms[] =
2845 VTS_BSTR;
2846 InvokeHelper(0xe03, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2847 lpszNewValue);
2848}
2849
2850DATE _MailItem::GetDeferredDeliveryTime()
2851{
2852 DATE result;
2853 InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
2854 return result;
2855}
2856
2857void _MailItem::SetDeferredDeliveryTime(DATE newValue)
2858{
2859 static BYTE parms[] =
2860 VTS_DATE;
2861 InvokeHelper(0xf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2862 newValue);
2863}
2864
2865BOOL _MailItem::GetDeleteAfterSubmit()
2866{
2867 BOOL result;
2868 InvokeHelper(0xe01, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2869 return result;
2870}
2871
2872void _MailItem::SetDeleteAfterSubmit(BOOL bNewValue)
2873{
2874 static BYTE parms[] =
2875 VTS_BOOL;
2876 InvokeHelper(0xe01, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2877 bNewValue);
2878}
2879
2880DATE _MailItem::GetExpiryTime()
2881{
2882 DATE result;
2883 InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
2884 return result;
2885}
2886
2887void _MailItem::SetExpiryTime(DATE newValue)
2888{
2889 static BYTE parms[] =
2890 VTS_DATE;
2891 InvokeHelper(0x15, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2892 newValue);
2893}
2894
2895DATE _MailItem::GetFlagDueBy()
2896{
2897 DATE result;
2898 InvokeHelper(0x30, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
2899 return result;
2900}
2901
2902void _MailItem::SetFlagDueBy(DATE newValue)
2903{
2904 static BYTE parms[] =
2905 VTS_DATE;
2906 InvokeHelper(0x30, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2907 newValue);
2908}
2909
2910CString _MailItem::GetFlagRequest()
2911{
2912 CString result;
2913 InvokeHelper(0x8530, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2914 return result;
2915}
2916
2917void _MailItem::SetFlagRequest(LPCTSTR lpszNewValue)
2918{
2919 static BYTE parms[] =
2920 VTS_BSTR;
2921 InvokeHelper(0x8530, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2922 lpszNewValue);
2923}
2924
2925long _MailItem::GetFlagStatus()
2926{
2927 long result;
2928 InvokeHelper(0x1090, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2929 return result;
2930}
2931
2932void _MailItem::SetFlagStatus(long nNewValue)
2933{
2934 static BYTE parms[] =
2935 VTS_I4;
2936 InvokeHelper(0x1090, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2937 nNewValue);
2938}
2939
2940CString _MailItem::GetHTMLBody()
2941{
2942 CString result;
2943 InvokeHelper(0xf404, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2944 return result;
2945}
2946
2947void _MailItem::SetHTMLBody(LPCTSTR lpszNewValue)
2948{
2949 static BYTE parms[] =
2950 VTS_BSTR;
2951 InvokeHelper(0xf404, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2952 lpszNewValue);
2953}
2954
2955BOOL _MailItem::GetOriginatorDeliveryReportRequested()
2956{
2957 BOOL result;
2958 InvokeHelper(0x23, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2959 return result;
2960}
2961
2962void _MailItem::SetOriginatorDeliveryReportRequested(BOOL bNewValue)
2963{
2964 static BYTE parms[] =
2965 VTS_BOOL;
2966 InvokeHelper(0x23, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2967 bNewValue);
2968}
2969
2970BOOL _MailItem::GetReadReceiptRequested()
2971{
2972 BOOL result;
2973 InvokeHelper(0x29, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2974 return result;
2975}
2976
2977void _MailItem::SetReadReceiptRequested(BOOL bNewValue)
2978{
2979 static BYTE parms[] =
2980 VTS_BOOL;
2981 InvokeHelper(0x29, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2982 bNewValue);
2983}
2984
2985CString _MailItem::GetReceivedByEntryID()
2986{
2987 CString result;
2988 InvokeHelper(0x3f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2989 return result;
2990}
2991
2992CString _MailItem::GetReceivedByName()
2993{
2994 CString result;
2995 InvokeHelper(0x40, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2996 return result;
2997}
2998
2999CString _MailItem::GetReceivedOnBehalfOfEntryID()
3000{
3001 CString result;
3002 InvokeHelper(0x43, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3003 return result;
3004}
3005
3006CString _MailItem::GetReceivedOnBehalfOfName()
3007{
3008 CString result;
3009 InvokeHelper(0x44, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3010 return result;
3011}
3012
3013DATE _MailItem::GetReceivedTime()
3014{
3015 DATE result;
3016 InvokeHelper(0xe06, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
3017 return result;
3018}
3019
3020BOOL _MailItem::GetRecipientReassignmentProhibited()
3021{
3022 BOOL result;
3023 InvokeHelper(0x2b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3024 return result;
3025}
3026
3027void _MailItem::SetRecipientReassignmentProhibited(BOOL bNewValue)
3028{
3029 static BYTE parms[] =
3030 VTS_BOOL;
3031 InvokeHelper(0x2b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3032 bNewValue);
3033}
3034
3035LPDISPATCH _MailItem::GetRecipients()
3036{
3037 LPDISPATCH result;
3038 InvokeHelper(0xf814, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3039 return result;
3040}
3041
3042BOOL _MailItem::GetReminderOverrideDefault()
3043{
3044 BOOL result;
3045 InvokeHelper(0x851c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3046 return result;
3047}
3048
3049void _MailItem::SetReminderOverrideDefault(BOOL bNewValue)
3050{
3051 static BYTE parms[] =
3052 VTS_BOOL;
3053 InvokeHelper(0x851c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3054 bNewValue);
3055}
3056
3057BOOL _MailItem::GetReminderPlaySound()
3058{
3059 BOOL result;
3060 InvokeHelper(0x851e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3061 return result;
3062}
3063
3064void _MailItem::SetReminderPlaySound(BOOL bNewValue)
3065{
3066 static BYTE parms[] =
3067 VTS_BOOL;
3068 InvokeHelper(0x851e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3069 bNewValue);
3070}
3071
3072BOOL _MailItem::GetReminderSet()
3073{
3074 BOOL result;
3075 InvokeHelper(0x8503, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3076 return result;
3077}
3078
3079void _MailItem::SetReminderSet(BOOL bNewValue)
3080{
3081 static BYTE parms[] =
3082 VTS_BOOL;
3083 InvokeHelper(0x8503, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3084 bNewValue);
3085}
3086
3087CString _MailItem::GetReminderSoundFile()
3088{
3089 CString result;
3090 InvokeHelper(0x851f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3091 return result;
3092}
3093
3094void _MailItem::SetReminderSoundFile(LPCTSTR lpszNewValue)
3095{
3096 static BYTE parms[] =
3097 VTS_BSTR;
3098 InvokeHelper(0x851f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3099 lpszNewValue);
3100}
3101
3102DATE _MailItem::GetReminderTime()
3103{
3104 DATE result;
3105 InvokeHelper(0x8502, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
3106 return result;
3107}
3108
3109void _MailItem::SetReminderTime(DATE newValue)
3110{
3111 static BYTE parms[] =
3112 VTS_DATE;
3113 InvokeHelper(0x8502, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3114 newValue);
3115}
3116
3117long _MailItem::GetRemoteStatus()
3118{
3119 long result;
3120 InvokeHelper(0x8511, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3121 return result;
3122}
3123
3124void _MailItem::SetRemoteStatus(long nNewValue)
3125{
3126 static BYTE parms[] =
3127 VTS_I4;
3128 InvokeHelper(0x8511, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3129 nNewValue);
3130}
3131
3132CString _MailItem::GetReplyRecipientNames()
3133{
3134 CString result;
3135 InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3136 return result;
3137}
3138
3139LPDISPATCH _MailItem::GetReplyRecipients()
3140{
3141 LPDISPATCH result;
3142 InvokeHelper(0xf013, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3143 return result;
3144}
3145
3146LPDISPATCH _MailItem::GetSaveSentMessageFolder()
3147{
3148 LPDISPATCH result;
3149 InvokeHelper(0xf401, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3150 return result;
3151}
3152
3153void _MailItem::SetRefSaveSentMessageFolder(LPDISPATCH newValue)
3154{
3155 static BYTE parms[] =
3156 VTS_DISPATCH;
3157 InvokeHelper(0xf401, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
3158 newValue);
3159}
3160
3161CString _MailItem::GetSenderName()
3162{
3163 CString result;
3164 InvokeHelper(0xc1a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3165 return result;
3166}
3167
3168BOOL _MailItem::GetSent()
3169{
3170 BOOL result;
3171 InvokeHelper(0xf402, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3172 return result;
3173}
3174
3175DATE _MailItem::GetSentOn()
3176{
3177 DATE result;
3178 InvokeHelper(0x39, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
3179 return result;
3180}
3181
3182CString _MailItem::GetSentOnBehalfOfName()
3183{
3184 CString result;
3185 InvokeHelper(0x42, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3186 return result;
3187}
3188
3189void _MailItem::SetSentOnBehalfOfName(LPCTSTR lpszNewValue)
3190{
3191 static BYTE parms[] =
3192 VTS_BSTR;
3193 InvokeHelper(0x42, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3194 lpszNewValue);
3195}
3196
3197BOOL _MailItem::GetSubmitted()
3198{
3199 BOOL result;
3200 InvokeHelper(0xf403, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3201 return result;
3202}
3203
3204CString _MailItem::GetTo()
3205{
3206 CString result;
3207 InvokeHelper(0xe04, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3208 return result;
3209}
3210
3211void _MailItem::SetTo(LPCTSTR lpszNewValue)
3212{
3213 static BYTE parms[] =
3214 VTS_BSTR;
3215 InvokeHelper(0xe04, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3216 lpszNewValue);
3217}
3218
3219CString _MailItem::GetVotingOptions()
3220{
3221 CString result;
3222 InvokeHelper(0xf01b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3223 return result;
3224}
3225
3226void _MailItem::SetVotingOptions(LPCTSTR lpszNewValue)
3227{
3228 static BYTE parms[] =
3229 VTS_BSTR;
3230 InvokeHelper(0xf01b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3231 lpszNewValue);
3232}
3233
3234CString _MailItem::GetVotingResponse()
3235{
3236 CString result;
3237 InvokeHelper(0x8524, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3238 return result;
3239}
3240
3241void _MailItem::SetVotingResponse(LPCTSTR lpszNewValue)
3242{
3243 static BYTE parms[] =
3244 VTS_BSTR;
3245 InvokeHelper(0x8524, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3246 lpszNewValue);
3247}
3248
3249void _MailItem::ClearConversationIndex()
3250{
3251 InvokeHelper(0xf822, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3252}
3253
3254LPDISPATCH _MailItem::Forward()
3255{
3256 LPDISPATCH result;
3257 InvokeHelper(0xf813, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
3258 return result;
3259}
3260
3261LPDISPATCH _MailItem::Reply()
3262{
3263 LPDISPATCH result;
3264 InvokeHelper(0xf810, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
3265 return result;
3266}
3267
3268LPDISPATCH _MailItem::ReplyAll()
3269{
3270 LPDISPATCH result;
3271 InvokeHelper(0xf811, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
3272 return result;
3273}
3274
3275void _MailItem::Send()
3276{
3277 InvokeHelper(0xf075, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3278}
3279
3280LPDISPATCH _MailItem::GetLinks()
3281{
3282 LPDISPATCH result;
3283 InvokeHelper(0xf405, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3284 return result;
3285}
3286
3287
3288/////////////////////////////////////////////////////////////////////////////
3289// _ContactItem properties
3290
3291/////////////////////////////////////////////////////////////////////////////
3292// _ContactItem operations
3293
3294LPDISPATCH _ContactItem::GetApplication()
3295{
3296 LPDISPATCH result;
3297 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3298 return result;
3299}
3300
3301long _ContactItem::GetClass()
3302{
3303 long result;
3304 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3305 return result;
3306}
3307
3308LPDISPATCH _ContactItem::GetSession()
3309{
3310 LPDISPATCH result;
3311 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3312 return result;
3313}
3314
3315LPDISPATCH _ContactItem::GetParent()
3316{
3317 LPDISPATCH result;
3318 InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3319 return result;
3320}
3321
3322LPDISPATCH _ContactItem::GetActions()
3323{
3324 LPDISPATCH result;
3325 InvokeHelper(0xf817, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3326 return result;
3327}
3328
3329LPDISPATCH _ContactItem::GetAttachments()
3330{
3331 LPDISPATCH result;
3332 InvokeHelper(0xf815, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3333 return result;
3334}
3335
3336CString _ContactItem::GetBillingInformation()
3337{
3338 CString result;
3339 InvokeHelper(0x8535, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3340 return result;
3341}
3342
3343void _ContactItem::SetBillingInformation(LPCTSTR lpszNewValue)
3344{
3345 static BYTE parms[] =
3346 VTS_BSTR;
3347 InvokeHelper(0x8535, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3348 lpszNewValue);
3349}
3350
3351CString _ContactItem::GetBody()
3352{
3353 CString result;
3354 InvokeHelper(0x9100, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3355 return result;
3356}
3357
3358void _ContactItem::SetBody(LPCTSTR lpszNewValue)
3359{
3360 static BYTE parms[] =
3361 VTS_BSTR;
3362 InvokeHelper(0x9100, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3363 lpszNewValue);
3364}
3365
3366CString _ContactItem::GetCategories()
3367{
3368 CString result;
3369 InvokeHelper(0x9001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3370 return result;
3371}
3372
3373void _ContactItem::SetCategories(LPCTSTR lpszNewValue)
3374{
3375 static BYTE parms[] =
3376 VTS_BSTR;
3377 InvokeHelper(0x9001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3378 lpszNewValue);
3379}
3380
3381CString _ContactItem::GetCompanies()
3382{
3383 CString result;
3384 InvokeHelper(0x853b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3385 return result;
3386}
3387
3388void _ContactItem::SetCompanies(LPCTSTR lpszNewValue)
3389{
3390 static BYTE parms[] =
3391 VTS_BSTR;
3392 InvokeHelper(0x853b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3393 lpszNewValue);
3394}
3395
3396CString _ContactItem::GetConversationIndex()
3397{
3398 CString result;
3399 InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3400 return result;
3401}
3402
3403CString _ContactItem::GetConversationTopic()
3404{
3405 CString result;
3406 InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3407 return result;
3408}
3409
3410DATE _ContactItem::GetCreationTime()
3411{
3412 DATE result;
3413 InvokeHelper(0x3007, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
3414 return result;
3415}
3416
3417CString _ContactItem::GetEntryID()
3418{
3419 CString result;
3420 InvokeHelper(0xf01e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3421 return result;
3422}
3423
3424LPDISPATCH _ContactItem::GetFormDescription()
3425{
3426 LPDISPATCH result;
3427 InvokeHelper(0xf095, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3428 return result;
3429}
3430
3431LPDISPATCH _ContactItem::GetGetInspector()
3432{
3433 LPDISPATCH result;
3434 InvokeHelper(0xf03e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3435 return result;
3436}
3437
3438long _ContactItem::GetImportance()
3439{
3440 long result;
3441 InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3442 return result;
3443}
3444
3445void _ContactItem::SetImportance(long nNewValue)
3446{
3447 static BYTE parms[] =
3448 VTS_I4;
3449 InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3450 nNewValue);
3451}
3452
3453DATE _ContactItem::GetLastModificationTime()
3454{
3455 DATE result;
3456 InvokeHelper(0x3008, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
3457 return result;
3458}
3459
3460CString _ContactItem::GetMessageClass()
3461{
3462 CString result;
3463 InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3464 return result;
3465}
3466
3467void _ContactItem::SetMessageClass(LPCTSTR lpszNewValue)
3468{
3469 static BYTE parms[] =
3470 VTS_BSTR;
3471 InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3472 lpszNewValue);
3473}
3474
3475CString _ContactItem::GetMileage()
3476{
3477 CString result;
3478 InvokeHelper(0x8534, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3479 return result;
3480}
3481
3482void _ContactItem::SetMileage(LPCTSTR lpszNewValue)
3483{
3484 static BYTE parms[] =
3485 VTS_BSTR;
3486 InvokeHelper(0x8534, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3487 lpszNewValue);
3488}
3489
3490BOOL _ContactItem::GetNoAging()
3491{
3492 BOOL result;
3493 InvokeHelper(0x850e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3494 return result;
3495}
3496
3497void _ContactItem::SetNoAging(BOOL bNewValue)
3498{
3499 static BYTE parms[] =
3500 VTS_BOOL;
3501 InvokeHelper(0x850e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3502 bNewValue);
3503}
3504
3505long _ContactItem::GetOutlookInternalVersion()
3506{
3507 long result;
3508 InvokeHelper(0x8552, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3509 return result;
3510}
3511
3512CString _ContactItem::GetOutlookVersion()
3513{
3514 CString result;
3515 InvokeHelper(0x8554, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3516 return result;
3517}
3518
3519BOOL _ContactItem::GetSaved()
3520{
3521 BOOL result;
3522 InvokeHelper(0xf0a3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3523 return result;
3524}
3525
3526long _ContactItem::GetSensitivity()
3527{
3528 long result;
3529 InvokeHelper(0x36, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3530 return result;
3531}
3532
3533void _ContactItem::SetSensitivity(long nNewValue)
3534{
3535 static BYTE parms[] =
3536 VTS_I4;
3537 InvokeHelper(0x36, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3538 nNewValue);
3539}
3540
3541long _ContactItem::GetSize()
3542{
3543 long result;
3544 InvokeHelper(0xe08, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3545 return result;
3546}
3547
3548CString _ContactItem::GetSubject()
3549{
3550 CString result;
3551 InvokeHelper(0x37, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3552 return result;
3553}
3554
3555void _ContactItem::SetSubject(LPCTSTR lpszNewValue)
3556{
3557 static BYTE parms[] =
3558 VTS_BSTR;
3559 InvokeHelper(0x37, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3560 lpszNewValue);
3561}
3562
3563BOOL _ContactItem::GetUnRead()
3564{
3565 BOOL result;
3566 InvokeHelper(0xf01c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3567 return result;
3568}
3569
3570void _ContactItem::SetUnRead(BOOL bNewValue)
3571{
3572 static BYTE parms[] =
3573 VTS_BOOL;
3574 InvokeHelper(0xf01c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3575 bNewValue);
3576}
3577
3578LPDISPATCH _ContactItem::GetUserProperties()
3579{
3580 LPDISPATCH result;
3581 InvokeHelper(0xf816, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3582 return result;
3583}
3584
3585void _ContactItem::Close(long SaveMode)
3586{
3587 static BYTE parms[] =
3588 VTS_I4;
3589 InvokeHelper(0xf023, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3590 SaveMode);
3591}
3592
3593LPDISPATCH _ContactItem::Copy()
3594{
3595 LPDISPATCH result;
3596 InvokeHelper(0xf032, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
3597 return result;
3598}
3599
3600void _ContactItem::Delete()
3601{
3602 InvokeHelper(0xf04a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3603}
3604
3605void _ContactItem::Display(const VARIANT& Modal)
3606{
3607 static BYTE parms[] =
3608 VTS_VARIANT;
3609 InvokeHelper(0xf0a6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3610 &Modal);
3611}
3612
3613LPDISPATCH _ContactItem::Move(LPDISPATCH DestFldr)
3614{
3615 LPDISPATCH result;
3616 static BYTE parms[] =
3617 VTS_DISPATCH;
3618 InvokeHelper(0xf034, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3619 DestFldr);
3620 return result;
3621}
3622
3623void _ContactItem::PrintOut()
3624{
3625 InvokeHelper(0xf033, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3626}
3627
3628void _ContactItem::Save()
3629{
3630 InvokeHelper(0xf048, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3631}
3632
3633void _ContactItem::SaveAs(LPCTSTR Path, const VARIANT& Type)
3634{
3635 static BYTE parms[] =
3636 VTS_BSTR VTS_VARIANT;
3637 InvokeHelper(0xf051, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3638 Path, &Type);
3639}
3640
3641CString _ContactItem::GetAccount()
3642{
3643 CString result;
3644 InvokeHelper(0x3a00, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3645 return result;
3646}
3647
3648void _ContactItem::SetAccount(LPCTSTR lpszNewValue)
3649{
3650 static BYTE parms[] =
3651 VTS_BSTR;
3652 InvokeHelper(0x3a00, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3653 lpszNewValue);
3654}
3655
3656DATE _ContactItem::GetAnniversary()
3657{
3658 DATE result;
3659 InvokeHelper(0x3a41, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
3660 return result;
3661}
3662
3663void _ContactItem::SetAnniversary(DATE newValue)
3664{
3665 static BYTE parms[] =
3666 VTS_DATE;
3667 InvokeHelper(0x3a41, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3668 newValue);
3669}
3670
3671CString _ContactItem::GetAssistantName()
3672{
3673 CString result;
3674 InvokeHelper(0x3a30, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3675 return result;
3676}
3677
3678void _ContactItem::SetAssistantName(LPCTSTR lpszNewValue)
3679{
3680 static BYTE parms[] =
3681 VTS_BSTR;
3682 InvokeHelper(0x3a30, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3683 lpszNewValue);
3684}
3685
3686CString _ContactItem::GetAssistantTelephoneNumber()
3687{
3688 CString result;
3689 InvokeHelper(0x3a2e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3690 return result;
3691}
3692
3693void _ContactItem::SetAssistantTelephoneNumber(LPCTSTR lpszNewValue)
3694{
3695 static BYTE parms[] =
3696 VTS_BSTR;
3697 InvokeHelper(0x3a2e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3698 lpszNewValue);
3699}
3700
3701DATE _ContactItem::GetBirthday()
3702{
3703 DATE result;
3704 InvokeHelper(0x3a42, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
3705 return result;
3706}
3707
3708void _ContactItem::SetBirthday(DATE newValue)
3709{
3710 static BYTE parms[] =
3711 VTS_DATE;
3712 InvokeHelper(0x3a42, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3713 newValue);
3714}
3715
3716CString _ContactItem::GetBusiness2TelephoneNumber()
3717{
3718 CString result;
3719 InvokeHelper(0x3a1b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3720 return result;
3721}
3722
3723void _ContactItem::SetBusiness2TelephoneNumber(LPCTSTR lpszNewValue)
3724{
3725 static BYTE parms[] =
3726 VTS_BSTR;
3727 InvokeHelper(0x3a1b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3728 lpszNewValue);
3729}
3730
3731CString _ContactItem::GetBusinessAddress()
3732{
3733 CString result;
3734 InvokeHelper(0x801b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3735 return result;
3736}
3737
3738void _ContactItem::SetBusinessAddress(LPCTSTR lpszNewValue)
3739{
3740 static BYTE parms[] =
3741 VTS_BSTR;
3742 InvokeHelper(0x801b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3743 lpszNewValue);
3744}
3745
3746CString _ContactItem::GetBusinessAddressCity()
3747{
3748 CString result;
3749 InvokeHelper(0x8046, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3750 return result;
3751}
3752
3753void _ContactItem::SetBusinessAddressCity(LPCTSTR lpszNewValue)
3754{
3755 static BYTE parms[] =
3756 VTS_BSTR;
3757 InvokeHelper(0x8046, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3758 lpszNewValue);
3759}
3760
3761CString _ContactItem::GetBusinessAddressCountry()
3762{
3763 CString result;
3764 InvokeHelper(0x8049, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3765 return result;
3766}
3767
3768void _ContactItem::SetBusinessAddressCountry(LPCTSTR lpszNewValue)
3769{
3770 static BYTE parms[] =
3771 VTS_BSTR;
3772 InvokeHelper(0x8049, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3773 lpszNewValue);
3774}
3775
3776CString _ContactItem::GetBusinessAddressPostalCode()
3777{
3778 CString result;
3779 InvokeHelper(0x8048, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3780 return result;
3781}
3782
3783void _ContactItem::SetBusinessAddressPostalCode(LPCTSTR lpszNewValue)
3784{
3785 static BYTE parms[] =
3786 VTS_BSTR;
3787 InvokeHelper(0x8048, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3788 lpszNewValue);
3789}
3790
3791CString _ContactItem::GetBusinessAddressPostOfficeBox()
3792{
3793 CString result;
3794 InvokeHelper(0x804a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3795 return result;
3796}
3797
3798void _ContactItem::SetBusinessAddressPostOfficeBox(LPCTSTR lpszNewValue)
3799{
3800 static BYTE parms[] =
3801 VTS_BSTR;
3802 InvokeHelper(0x804a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3803 lpszNewValue);
3804}
3805
3806CString _ContactItem::GetBusinessAddressState()
3807{
3808 CString result;
3809 InvokeHelper(0x8047, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3810 return result;
3811}
3812
3813void _ContactItem::SetBusinessAddressState(LPCTSTR lpszNewValue)
3814{
3815 static BYTE parms[] =
3816 VTS_BSTR;
3817 InvokeHelper(0x8047, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3818 lpszNewValue);
3819}
3820
3821CString _ContactItem::GetBusinessAddressStreet()
3822{
3823 CString result;
3824 InvokeHelper(0x8045, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3825 return result;
3826}
3827
3828void _ContactItem::SetBusinessAddressStreet(LPCTSTR lpszNewValue)
3829{
3830 static BYTE parms[] =
3831 VTS_BSTR;
3832 InvokeHelper(0x8045, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3833 lpszNewValue);
3834}
3835
3836CString _ContactItem::GetBusinessFaxNumber()
3837{
3838 CString result;
3839 InvokeHelper(0x3a24, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3840 return result;
3841}
3842
3843void _ContactItem::SetBusinessFaxNumber(LPCTSTR lpszNewValue)
3844{
3845 static BYTE parms[] =
3846 VTS_BSTR;
3847 InvokeHelper(0x3a24, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3848 lpszNewValue);
3849}
3850
3851CString _ContactItem::GetBusinessHomePage()
3852{
3853 CString result;
3854 InvokeHelper(0x3a51, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3855 return result;
3856}
3857
3858void _ContactItem::SetBusinessHomePage(LPCTSTR lpszNewValue)
3859{
3860 static BYTE parms[] =
3861 VTS_BSTR;
3862 InvokeHelper(0x3a51, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3863 lpszNewValue);
3864}
3865
3866CString _ContactItem::GetBusinessTelephoneNumber()
3867{
3868 CString result;
3869 InvokeHelper(0x3a08, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3870 return result;
3871}
3872
3873void _ContactItem::SetBusinessTelephoneNumber(LPCTSTR lpszNewValue)
3874{
3875 static BYTE parms[] =
3876 VTS_BSTR;
3877 InvokeHelper(0x3a08, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3878 lpszNewValue);
3879}
3880
3881CString _ContactItem::GetCallbackTelephoneNumber()
3882{
3883 CString result;
3884 InvokeHelper(0x3a02, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3885 return result;
3886}
3887
3888void _ContactItem::SetCallbackTelephoneNumber(LPCTSTR lpszNewValue)
3889{
3890 static BYTE parms[] =
3891 VTS_BSTR;
3892 InvokeHelper(0x3a02, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3893 lpszNewValue);
3894}
3895
3896CString _ContactItem::GetCarTelephoneNumber()
3897{
3898 CString result;
3899 InvokeHelper(0x3a1e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3900 return result;
3901}
3902
3903void _ContactItem::SetCarTelephoneNumber(LPCTSTR lpszNewValue)
3904{
3905 static BYTE parms[] =
3906 VTS_BSTR;
3907 InvokeHelper(0x3a1e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3908 lpszNewValue);
3909}
3910
3911CString _ContactItem::GetChildren()
3912{
3913 CString result;
3914 InvokeHelper(0x800c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3915 return result;
3916}
3917
3918void _ContactItem::SetChildren(LPCTSTR lpszNewValue)
3919{
3920 static BYTE parms[] =
3921 VTS_BSTR;
3922 InvokeHelper(0x800c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3923 lpszNewValue);
3924}
3925
3926CString _ContactItem::GetCompanyAndFullName()
3927{
3928 CString result;
3929 InvokeHelper(0x8018, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3930 return result;
3931}
3932
3933CString _ContactItem::GetCompanyLastFirstNoSpace()
3934{
3935 CString result;
3936 InvokeHelper(0x8032, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3937 return result;
3938}
3939
3940CString _ContactItem::GetCompanyLastFirstSpaceOnly()
3941{
3942 CString result;
3943 InvokeHelper(0x8033, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3944 return result;
3945}
3946
3947CString _ContactItem::GetCompanyMainTelephoneNumber()
3948{
3949 CString result;
3950 InvokeHelper(0x3a57, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3951 return result;
3952}
3953
3954void _ContactItem::SetCompanyMainTelephoneNumber(LPCTSTR lpszNewValue)
3955{
3956 static BYTE parms[] =
3957 VTS_BSTR;
3958 InvokeHelper(0x3a57, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3959 lpszNewValue);
3960}
3961
3962CString _ContactItem::GetCompanyName()
3963{
3964 CString result;
3965 InvokeHelper(0x3a16, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3966 return result;
3967}
3968
3969void _ContactItem::SetCompanyName(LPCTSTR lpszNewValue)
3970{
3971 static BYTE parms[] =
3972 VTS_BSTR;
3973 InvokeHelper(0x3a16, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3974 lpszNewValue);
3975}
3976
3977CString _ContactItem::GetComputerNetworkName()
3978{
3979 CString result;
3980 InvokeHelper(0x3a49, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3981 return result;
3982}
3983
3984void _ContactItem::SetComputerNetworkName(LPCTSTR lpszNewValue)
3985{
3986 static BYTE parms[] =
3987 VTS_BSTR;
3988 InvokeHelper(0x3a49, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3989 lpszNewValue);
3990}
3991
3992CString _ContactItem::GetCustomerID()
3993{
3994 CString result;
3995 InvokeHelper(0x3a4a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3996 return result;
3997}
3998
3999void _ContactItem::SetCustomerID(LPCTSTR lpszNewValue)
4000{
4001 static BYTE parms[] =
4002 VTS_BSTR;
4003 InvokeHelper(0x3a4a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4004 lpszNewValue);
4005}
4006
4007CString _ContactItem::GetDepartment()
4008{
4009 CString result;
4010 InvokeHelper(0x3a18, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4011 return result;
4012}
4013
4014void _ContactItem::SetDepartment(LPCTSTR lpszNewValue)
4015{
4016 static BYTE parms[] =
4017 VTS_BSTR;
4018 InvokeHelper(0x3a18, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4019 lpszNewValue);
4020}
4021
4022CString _ContactItem::GetEmail1Address()
4023{
4024 CString result;
4025 InvokeHelper(0x8083, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4026 return result;
4027}
4028
4029void _ContactItem::SetEmail1Address(LPCTSTR lpszNewValue)
4030{
4031 static BYTE parms[] =
4032 VTS_BSTR;
4033 InvokeHelper(0x8083, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4034 lpszNewValue);
4035}
4036
4037CString _ContactItem::GetEmail1AddressType()
4038{
4039 CString result;
4040 InvokeHelper(0x8082, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4041 return result;
4042}
4043
4044void _ContactItem::SetEmail1AddressType(LPCTSTR lpszNewValue)
4045{
4046 static BYTE parms[] =
4047 VTS_BSTR;
4048 InvokeHelper(0x8082, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4049 lpszNewValue);
4050}
4051
4052CString _ContactItem::GetEmail1DisplayName()
4053{
4054 CString result;
4055 InvokeHelper(0x8080, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4056 return result;
4057}
4058
4059CString _ContactItem::GetEmail1EntryID()
4060{
4061 CString result;
4062 InvokeHelper(0x8085, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4063 return result;
4064}
4065
4066CString _ContactItem::GetEmail2Address()
4067{
4068 CString result;
4069 InvokeHelper(0x8093, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4070 return result;
4071}
4072
4073void _ContactItem::SetEmail2Address(LPCTSTR lpszNewValue)
4074{
4075 static BYTE parms[] =
4076 VTS_BSTR;
4077 InvokeHelper(0x8093, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4078 lpszNewValue);
4079}
4080
4081CString _ContactItem::GetEmail2AddressType()
4082{
4083 CString result;
4084 InvokeHelper(0x8092, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4085 return result;
4086}
4087
4088void _ContactItem::SetEmail2AddressType(LPCTSTR lpszNewValue)
4089{
4090 static BYTE parms[] =
4091 VTS_BSTR;
4092 InvokeHelper(0x8092, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4093 lpszNewValue);
4094}
4095
4096CString _ContactItem::GetEmail2DisplayName()
4097{
4098 CString result;
4099 InvokeHelper(0x8090, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4100 return result;
4101}
4102
4103CString _ContactItem::GetEmail2EntryID()
4104{
4105 CString result;
4106 InvokeHelper(0x8095, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4107 return result;
4108}
4109
4110CString _ContactItem::GetEmail3Address()
4111{
4112 CString result;
4113 InvokeHelper(0x80a3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4114 return result;
4115}
4116
4117void _ContactItem::SetEmail3Address(LPCTSTR lpszNewValue)
4118{
4119 static BYTE parms[] =
4120 VTS_BSTR;
4121 InvokeHelper(0x80a3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4122 lpszNewValue);
4123}
4124
4125CString _ContactItem::GetEmail3AddressType()
4126{
4127 CString result;
4128 InvokeHelper(0x80a2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4129 return result;
4130}
4131
4132void _ContactItem::SetEmail3AddressType(LPCTSTR lpszNewValue)
4133{
4134 static BYTE parms[] =
4135 VTS_BSTR;
4136 InvokeHelper(0x80a2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4137 lpszNewValue);
4138}
4139
4140CString _ContactItem::GetEmail3DisplayName()
4141{
4142 CString result;
4143 InvokeHelper(0x80a0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4144 return result;
4145}
4146
4147CString _ContactItem::GetEmail3EntryID()
4148{
4149 CString result;
4150 InvokeHelper(0x80a5, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4151 return result;
4152}
4153
4154CString _ContactItem::GetFileAs()
4155{
4156 CString result;
4157 InvokeHelper(0x8005, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4158 return result;
4159}
4160
4161void _ContactItem::SetFileAs(LPCTSTR lpszNewValue)
4162{
4163 static BYTE parms[] =
4164 VTS_BSTR;
4165 InvokeHelper(0x8005, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4166 lpszNewValue);
4167}
4168
4169CString _ContactItem::GetFirstName()
4170{
4171 CString result;
4172 InvokeHelper(0x3a06, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4173 return result;
4174}
4175
4176void _ContactItem::SetFirstName(LPCTSTR lpszNewValue)
4177{
4178 static BYTE parms[] =
4179 VTS_BSTR;
4180 InvokeHelper(0x3a06, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4181 lpszNewValue);
4182}
4183
4184CString _ContactItem::GetFTPSite()
4185{
4186 CString result;
4187 InvokeHelper(0x3a4c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4188 return result;
4189}
4190
4191void _ContactItem::SetFTPSite(LPCTSTR lpszNewValue)
4192{
4193 static BYTE parms[] =
4194 VTS_BSTR;
4195 InvokeHelper(0x3a4c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4196 lpszNewValue);
4197}
4198
4199CString _ContactItem::GetFullName()
4200{
4201 CString result;
4202 InvokeHelper(0x3001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4203 return result;
4204}
4205
4206void _ContactItem::SetFullName(LPCTSTR lpszNewValue)
4207{
4208 static BYTE parms[] =
4209 VTS_BSTR;
4210 InvokeHelper(0x3001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4211 lpszNewValue);
4212}
4213
4214CString _ContactItem::GetFullNameAndCompany()
4215{
4216 CString result;
4217 InvokeHelper(0x8019, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4218 return result;
4219}
4220
4221long _ContactItem::GetGender()
4222{
4223 long result;
4224 InvokeHelper(0x3a4d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4225 return result;
4226}
4227
4228void _ContactItem::SetGender(long nNewValue)
4229{
4230 static BYTE parms[] =
4231 VTS_I4;
4232 InvokeHelper(0x3a4d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4233 nNewValue);
4234}
4235
4236CString _ContactItem::GetGovernmentIDNumber()
4237{
4238 CString result;
4239 InvokeHelper(0x3a07, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4240 return result;
4241}
4242
4243void _ContactItem::SetGovernmentIDNumber(LPCTSTR lpszNewValue)
4244{
4245 static BYTE parms[] =
4246 VTS_BSTR;
4247 InvokeHelper(0x3a07, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4248 lpszNewValue);
4249}
4250
4251CString _ContactItem::GetHobby()
4252{
4253 CString result;
4254 InvokeHelper(0x3a43, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4255 return result;
4256}
4257
4258void _ContactItem::SetHobby(LPCTSTR lpszNewValue)
4259{
4260 static BYTE parms[] =
4261 VTS_BSTR;
4262 InvokeHelper(0x3a43, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4263 lpszNewValue);
4264}
4265
4266CString _ContactItem::GetHome2TelephoneNumber()
4267{
4268 CString result;
4269 InvokeHelper(0x3a2f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4270 return result;
4271}
4272
4273void _ContactItem::SetHome2TelephoneNumber(LPCTSTR lpszNewValue)
4274{
4275 static BYTE parms[] =
4276 VTS_BSTR;
4277 InvokeHelper(0x3a2f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4278 lpszNewValue);
4279}
4280
4281CString _ContactItem::GetHomeAddress()
4282{
4283 CString result;
4284 InvokeHelper(0x801a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4285 return result;
4286}
4287
4288void _ContactItem::SetHomeAddress(LPCTSTR lpszNewValue)
4289{
4290 static BYTE parms[] =
4291 VTS_BSTR;
4292 InvokeHelper(0x801a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4293 lpszNewValue);
4294}
4295
4296CString _ContactItem::GetHomeAddressCity()
4297{
4298 CString result;
4299 InvokeHelper(0x3a59, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4300 return result;
4301}
4302
4303void _ContactItem::SetHomeAddressCity(LPCTSTR lpszNewValue)
4304{
4305 static BYTE parms[] =
4306 VTS_BSTR;
4307 InvokeHelper(0x3a59, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4308 lpszNewValue);
4309}
4310
4311CString _ContactItem::GetHomeAddressCountry()
4312{
4313 CString result;
4314 InvokeHelper(0x3a5a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4315 return result;
4316}
4317
4318void _ContactItem::SetHomeAddressCountry(LPCTSTR lpszNewValue)
4319{
4320 static BYTE parms[] =
4321 VTS_BSTR;
4322 InvokeHelper(0x3a5a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4323 lpszNewValue);
4324}
4325
4326CString _ContactItem::GetHomeAddressPostalCode()
4327{
4328 CString result;
4329 InvokeHelper(0x3a5b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4330 return result;
4331}
4332
4333void _ContactItem::SetHomeAddressPostalCode(LPCTSTR lpszNewValue)
4334{
4335 static BYTE parms[] =
4336 VTS_BSTR;
4337 InvokeHelper(0x3a5b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4338 lpszNewValue);
4339}
4340
4341CString _ContactItem::GetHomeAddressPostOfficeBox()
4342{
4343 CString result;
4344 InvokeHelper(0x3a5e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4345 return result;
4346}
4347
4348void _ContactItem::SetHomeAddressPostOfficeBox(LPCTSTR lpszNewValue)
4349{
4350 static BYTE parms[] =
4351 VTS_BSTR;
4352 InvokeHelper(0x3a5e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4353 lpszNewValue);
4354}
4355
4356CString _ContactItem::GetHomeAddressState()
4357{
4358 CString result;
4359 InvokeHelper(0x3a5c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4360 return result;
4361}
4362
4363void _ContactItem::SetHomeAddressState(LPCTSTR lpszNewValue)
4364{
4365 static BYTE parms[] =
4366 VTS_BSTR;
4367 InvokeHelper(0x3a5c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4368 lpszNewValue);
4369}
4370
4371CString _ContactItem::GetHomeAddressStreet()
4372{
4373 CString result;
4374 InvokeHelper(0x3a5d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4375 return result;
4376}
4377
4378void _ContactItem::SetHomeAddressStreet(LPCTSTR lpszNewValue)
4379{
4380 static BYTE parms[] =
4381 VTS_BSTR;
4382 InvokeHelper(0x3a5d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4383 lpszNewValue);
4384}
4385
4386CString _ContactItem::GetHomeFaxNumber()
4387{
4388 CString result;
4389 InvokeHelper(0x3a25, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4390 return result;
4391}
4392
4393void _ContactItem::SetHomeFaxNumber(LPCTSTR lpszNewValue)
4394{
4395 static BYTE parms[] =
4396 VTS_BSTR;
4397 InvokeHelper(0x3a25, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4398 lpszNewValue);
4399}
4400
4401CString _ContactItem::GetHomeTelephoneNumber()
4402{
4403 CString result;
4404 InvokeHelper(0x3a09, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4405 return result;
4406}
4407
4408void _ContactItem::SetHomeTelephoneNumber(LPCTSTR lpszNewValue)
4409{
4410 static BYTE parms[] =
4411 VTS_BSTR;
4412 InvokeHelper(0x3a09, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4413 lpszNewValue);
4414}
4415
4416CString _ContactItem::GetInitials()
4417{
4418 CString result;
4419 InvokeHelper(0x3a0a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4420 return result;
4421}
4422
4423void _ContactItem::SetInitials(LPCTSTR lpszNewValue)
4424{
4425 static BYTE parms[] =
4426 VTS_BSTR;
4427 InvokeHelper(0x3a0a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4428 lpszNewValue);
4429}
4430
4431CString _ContactItem::GetInternetFreeBusyAddress()
4432{
4433 CString result;
4434 InvokeHelper(0x80d8, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4435 return result;
4436}
4437
4438void _ContactItem::SetInternetFreeBusyAddress(LPCTSTR lpszNewValue)
4439{
4440 static BYTE parms[] =
4441 VTS_BSTR;
4442 InvokeHelper(0x80d8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4443 lpszNewValue);
4444}
4445
4446CString _ContactItem::GetISDNNumber()
4447{
4448 CString result;
4449 InvokeHelper(0x3a2d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4450 return result;
4451}
4452
4453void _ContactItem::SetISDNNumber(LPCTSTR lpszNewValue)
4454{
4455 static BYTE parms[] =
4456 VTS_BSTR;
4457 InvokeHelper(0x3a2d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4458 lpszNewValue);
4459}
4460
4461CString _ContactItem::GetJobTitle()
4462{
4463 CString result;
4464 InvokeHelper(0x3a17, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4465 return result;
4466}
4467
4468void _ContactItem::SetJobTitle(LPCTSTR lpszNewValue)
4469{
4470 static BYTE parms[] =
4471 VTS_BSTR;
4472 InvokeHelper(0x3a17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4473 lpszNewValue);
4474}
4475
4476BOOL _ContactItem::GetJournal()
4477{
4478 BOOL result;
4479 InvokeHelper(0x8025, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4480 return result;
4481}
4482
4483void _ContactItem::SetJournal(BOOL bNewValue)
4484{
4485 static BYTE parms[] =
4486 VTS_BOOL;
4487 InvokeHelper(0x8025, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4488 bNewValue);
4489}
4490
4491CString _ContactItem::GetLanguage()
4492{
4493 CString result;
4494 InvokeHelper(0x3a0c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4495 return result;
4496}
4497
4498void _ContactItem::SetLanguage(LPCTSTR lpszNewValue)
4499{
4500 static BYTE parms[] =
4501 VTS_BSTR;
4502 InvokeHelper(0x3a0c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4503 lpszNewValue);
4504}
4505
4506CString _ContactItem::GetLastFirstAndSuffix()
4507{
4508 CString result;
4509 InvokeHelper(0x8036, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4510 return result;
4511}
4512
4513CString _ContactItem::GetLastFirstNoSpace()
4514{
4515 CString result;
4516 InvokeHelper(0x8030, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4517 return result;
4518}
4519
4520CString _ContactItem::GetLastFirstNoSpaceCompany()
4521{
4522 CString result;
4523 InvokeHelper(0x8034, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4524 return result;
4525}
4526
4527CString _ContactItem::GetLastFirstSpaceOnly()
4528{
4529 CString result;
4530 InvokeHelper(0x8031, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4531 return result;
4532}
4533
4534CString _ContactItem::GetLastFirstSpaceOnlyCompany()
4535{
4536 CString result;
4537 InvokeHelper(0x8035, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4538 return result;
4539}
4540
4541CString _ContactItem::GetLastName()
4542{
4543 CString result;
4544 InvokeHelper(0x3a11, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4545 return result;
4546}
4547
4548void _ContactItem::SetLastName(LPCTSTR lpszNewValue)
4549{
4550 static BYTE parms[] =
4551 VTS_BSTR;
4552 InvokeHelper(0x3a11, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4553 lpszNewValue);
4554}
4555
4556CString _ContactItem::GetLastNameAndFirstName()
4557{
4558 CString result;
4559 InvokeHelper(0x8017, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4560 return result;
4561}
4562
4563CString _ContactItem::GetMailingAddress()
4564{
4565 CString result;
4566 InvokeHelper(0x3a15, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4567 return result;
4568}
4569
4570void _ContactItem::SetMailingAddress(LPCTSTR lpszNewValue)
4571{
4572 static BYTE parms[] =
4573 VTS_BSTR;
4574 InvokeHelper(0x3a15, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4575 lpszNewValue);
4576}
4577
4578CString _ContactItem::GetMailingAddressCity()
4579{
4580 CString result;
4581 InvokeHelper(0x3a27, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4582 return result;
4583}
4584
4585void _ContactItem::SetMailingAddressCity(LPCTSTR lpszNewValue)
4586{
4587 static BYTE parms[] =
4588 VTS_BSTR;
4589 InvokeHelper(0x3a27, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4590 lpszNewValue);
4591}
4592
4593CString _ContactItem::GetMailingAddressCountry()
4594{
4595 CString result;
4596 InvokeHelper(0x3a26, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4597 return result;
4598}
4599
4600void _ContactItem::SetMailingAddressCountry(LPCTSTR lpszNewValue)
4601{
4602 static BYTE parms[] =
4603 VTS_BSTR;
4604 InvokeHelper(0x3a26, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4605 lpszNewValue);
4606}
4607
4608CString _ContactItem::GetMailingAddressPostalCode()
4609{
4610 CString result;
4611 InvokeHelper(0x3a2a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4612 return result;
4613}
4614
4615void _ContactItem::SetMailingAddressPostalCode(LPCTSTR lpszNewValue)
4616{
4617 static BYTE parms[] =
4618 VTS_BSTR;
4619 InvokeHelper(0x3a2a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4620 lpszNewValue);
4621}
4622
4623CString _ContactItem::GetMailingAddressPostOfficeBox()
4624{
4625 CString result;
4626 InvokeHelper(0x3a2b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4627 return result;
4628}
4629
4630void _ContactItem::SetMailingAddressPostOfficeBox(LPCTSTR lpszNewValue)
4631{
4632 static BYTE parms[] =
4633 VTS_BSTR;
4634 InvokeHelper(0x3a2b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4635 lpszNewValue);
4636}
4637
4638CString _ContactItem::GetMailingAddressState()
4639{
4640 CString result;
4641 InvokeHelper(0x3a28, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4642 return result;
4643}
4644
4645void _ContactItem::SetMailingAddressState(LPCTSTR lpszNewValue)
4646{
4647 static BYTE parms[] =
4648 VTS_BSTR;
4649 InvokeHelper(0x3a28, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4650 lpszNewValue);
4651}
4652
4653CString _ContactItem::GetMailingAddressStreet()
4654{
4655 CString result;
4656 InvokeHelper(0x3a29, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4657 return result;
4658}
4659
4660void _ContactItem::SetMailingAddressStreet(LPCTSTR lpszNewValue)
4661{
4662 static BYTE parms[] =
4663 VTS_BSTR;
4664 InvokeHelper(0x3a29, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4665 lpszNewValue);
4666}
4667
4668CString _ContactItem::GetManagerName()
4669{
4670 CString result;
4671 InvokeHelper(0x3a4e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4672 return result;
4673}
4674
4675void _ContactItem::SetManagerName(LPCTSTR lpszNewValue)
4676{
4677 static BYTE parms[] =
4678 VTS_BSTR;
4679 InvokeHelper(0x3a4e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4680 lpszNewValue);
4681}
4682
4683CString _ContactItem::GetMiddleName()
4684{
4685 CString result;
4686 InvokeHelper(0x3a44, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4687 return result;
4688}
4689
4690void _ContactItem::SetMiddleName(LPCTSTR lpszNewValue)
4691{
4692 static BYTE parms[] =
4693 VTS_BSTR;
4694 InvokeHelper(0x3a44, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4695 lpszNewValue);
4696}
4697
4698CString _ContactItem::GetMobileTelephoneNumber()
4699{
4700 CString result;
4701 InvokeHelper(0x3a1c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4702 return result;
4703}
4704
4705void _ContactItem::SetMobileTelephoneNumber(LPCTSTR lpszNewValue)
4706{
4707 static BYTE parms[] =
4708 VTS_BSTR;
4709 InvokeHelper(0x3a1c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4710 lpszNewValue);
4711}
4712
4713CString _ContactItem::GetNetMeetingAlias()
4714{
4715 CString result;
4716 InvokeHelper(0x805f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4717 return result;
4718}
4719
4720void _ContactItem::SetNetMeetingAlias(LPCTSTR lpszNewValue)
4721{
4722 static BYTE parms[] =
4723 VTS_BSTR;
4724 InvokeHelper(0x805f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4725 lpszNewValue);
4726}
4727
4728CString _ContactItem::GetNetMeetingServer()
4729{
4730 CString result;
4731 InvokeHelper(0x8060, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4732 return result;
4733}
4734
4735void _ContactItem::SetNetMeetingServer(LPCTSTR lpszNewValue)
4736{
4737 static BYTE parms[] =
4738 VTS_BSTR;
4739 InvokeHelper(0x8060, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4740 lpszNewValue);
4741}
4742
4743CString _ContactItem::GetNickName()
4744{
4745 CString result;
4746 InvokeHelper(0x3a4f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4747 return result;
4748}
4749
4750void _ContactItem::SetNickName(LPCTSTR lpszNewValue)
4751{
4752 static BYTE parms[] =
4753 VTS_BSTR;
4754 InvokeHelper(0x3a4f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4755 lpszNewValue);
4756}
4757
4758CString _ContactItem::GetOfficeLocation()
4759{
4760 CString result;
4761 InvokeHelper(0x3a19, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4762 return result;
4763}
4764
4765void _ContactItem::SetOfficeLocation(LPCTSTR lpszNewValue)
4766{
4767 static BYTE parms[] =
4768 VTS_BSTR;
4769 InvokeHelper(0x3a19, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4770 lpszNewValue);
4771}
4772
4773CString _ContactItem::GetOrganizationalIDNumber()
4774{
4775 CString result;
4776 InvokeHelper(0x3a10, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4777 return result;
4778}
4779
4780void _ContactItem::SetOrganizationalIDNumber(LPCTSTR lpszNewValue)
4781{
4782 static BYTE parms[] =
4783 VTS_BSTR;
4784 InvokeHelper(0x3a10, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4785 lpszNewValue);
4786}
4787
4788CString _ContactItem::GetOtherAddress()
4789{
4790 CString result;
4791 InvokeHelper(0x801c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4792 return result;
4793}
4794
4795void _ContactItem::SetOtherAddress(LPCTSTR lpszNewValue)
4796{
4797 static BYTE parms[] =
4798 VTS_BSTR;
4799 InvokeHelper(0x801c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4800 lpszNewValue);
4801}
4802
4803CString _ContactItem::GetOtherAddressCity()
4804{
4805 CString result;
4806 InvokeHelper(0x3a5f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4807 return result;
4808}
4809
4810void _ContactItem::SetOtherAddressCity(LPCTSTR lpszNewValue)
4811{
4812 static BYTE parms[] =
4813 VTS_BSTR;
4814 InvokeHelper(0x3a5f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4815 lpszNewValue);
4816}
4817
4818CString _ContactItem::GetOtherAddressCountry()
4819{
4820 CString result;
4821 InvokeHelper(0x3a60, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4822 return result;
4823}
4824
4825void _ContactItem::SetOtherAddressCountry(LPCTSTR lpszNewValue)
4826{
4827 static BYTE parms[] =
4828 VTS_BSTR;
4829 InvokeHelper(0x3a60, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4830 lpszNewValue);
4831}
4832
4833CString _ContactItem::GetOtherAddressPostalCode()
4834{
4835 CString result;
4836 InvokeHelper(0x3a61, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4837 return result;
4838}
4839
4840void _ContactItem::SetOtherAddressPostalCode(LPCTSTR lpszNewValue)
4841{
4842 static BYTE parms[] =
4843 VTS_BSTR;
4844 InvokeHelper(0x3a61, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4845 lpszNewValue);
4846}
4847
4848CString _ContactItem::GetOtherAddressPostOfficeBox()
4849{
4850 CString result;
4851 InvokeHelper(0x3a64, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4852 return result;
4853}
4854
4855void _ContactItem::SetOtherAddressPostOfficeBox(LPCTSTR lpszNewValue)
4856{
4857 static BYTE parms[] =
4858 VTS_BSTR;
4859 InvokeHelper(0x3a64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4860 lpszNewValue);
4861}
4862
4863CString _ContactItem::GetOtherAddressState()
4864{
4865 CString result;
4866 InvokeHelper(0x3a62, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4867 return result;
4868}
4869
4870void _ContactItem::SetOtherAddressState(LPCTSTR lpszNewValue)
4871{
4872 static BYTE parms[] =
4873 VTS_BSTR;
4874 InvokeHelper(0x3a62, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4875 lpszNewValue);
4876}
4877
4878CString _ContactItem::GetOtherAddressStreet()
4879{
4880 CString result;
4881 InvokeHelper(0x3a63, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4882 return result;
4883}
4884
4885void _ContactItem::SetOtherAddressStreet(LPCTSTR lpszNewValue)
4886{
4887 static BYTE parms[] =
4888 VTS_BSTR;
4889 InvokeHelper(0x3a63, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4890 lpszNewValue);
4891}
4892
4893CString _ContactItem::GetOtherFaxNumber()
4894{
4895 CString result;
4896 InvokeHelper(0x3a23, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4897 return result;
4898}
4899
4900void _ContactItem::SetOtherFaxNumber(LPCTSTR lpszNewValue)
4901{
4902 static BYTE parms[] =
4903 VTS_BSTR;
4904 InvokeHelper(0x3a23, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4905 lpszNewValue);
4906}
4907
4908CString _ContactItem::GetOtherTelephoneNumber()
4909{
4910 CString result;
4911 InvokeHelper(0x3a1f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4912 return result;
4913}
4914
4915void _ContactItem::SetOtherTelephoneNumber(LPCTSTR lpszNewValue)
4916{
4917 static BYTE parms[] =
4918 VTS_BSTR;
4919 InvokeHelper(0x3a1f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4920 lpszNewValue);
4921}
4922
4923CString _ContactItem::GetPagerNumber()
4924{
4925 CString result;
4926 InvokeHelper(0x3a21, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4927 return result;
4928}
4929
4930void _ContactItem::SetPagerNumber(LPCTSTR lpszNewValue)
4931{
4932 static BYTE parms[] =
4933 VTS_BSTR;
4934 InvokeHelper(0x3a21, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4935 lpszNewValue);
4936}
4937
4938CString _ContactItem::GetPersonalHomePage()
4939{
4940 CString result;
4941 InvokeHelper(0x3a50, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4942 return result;
4943}
4944
4945void _ContactItem::SetPersonalHomePage(LPCTSTR lpszNewValue)
4946{
4947 static BYTE parms[] =
4948 VTS_BSTR;
4949 InvokeHelper(0x3a50, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4950 lpszNewValue);
4951}
4952
4953CString _ContactItem::GetPrimaryTelephoneNumber()
4954{
4955 CString result;
4956 InvokeHelper(0x3a1a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4957 return result;
4958}
4959
4960void _ContactItem::SetPrimaryTelephoneNumber(LPCTSTR lpszNewValue)
4961{
4962 static BYTE parms[] =
4963 VTS_BSTR;
4964 InvokeHelper(0x3a1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4965 lpszNewValue);
4966}
4967
4968CString _ContactItem::GetProfession()
4969{
4970 CString result;
4971 InvokeHelper(0x3a46, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4972 return result;
4973}
4974
4975void _ContactItem::SetProfession(LPCTSTR lpszNewValue)
4976{
4977 static BYTE parms[] =
4978 VTS_BSTR;
4979 InvokeHelper(0x3a46, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4980 lpszNewValue);
4981}
4982
4983CString _ContactItem::GetRadioTelephoneNumber()
4984{
4985 CString result;
4986 InvokeHelper(0x3a1d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4987 return result;
4988}
4989
4990void _ContactItem::SetRadioTelephoneNumber(LPCTSTR lpszNewValue)
4991{
4992 static BYTE parms[] =
4993 VTS_BSTR;
4994 InvokeHelper(0x3a1d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4995 lpszNewValue);
4996}
4997
4998CString _ContactItem::GetReferredBy()
4999{
5000 CString result;
5001 InvokeHelper(0x3a47, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5002 return result;
5003}
5004
5005void _ContactItem::SetReferredBy(LPCTSTR lpszNewValue)
5006{
5007 static BYTE parms[] =
5008 VTS_BSTR;
5009 InvokeHelper(0x3a47, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5010 lpszNewValue);
5011}
5012
5013long _ContactItem::GetSelectedMailingAddress()
5014{
5015 long result;
5016 InvokeHelper(0x8022, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5017 return result;
5018}
5019
5020void _ContactItem::SetSelectedMailingAddress(long nNewValue)
5021{
5022 static BYTE parms[] =
5023 VTS_I4;
5024 InvokeHelper(0x8022, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5025 nNewValue);
5026}
5027
5028CString _ContactItem::GetSpouse()
5029{
5030 CString result;
5031 InvokeHelper(0x3a48, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5032 return result;
5033}
5034
5035void _ContactItem::SetSpouse(LPCTSTR lpszNewValue)
5036{
5037 static BYTE parms[] =
5038 VTS_BSTR;
5039 InvokeHelper(0x3a48, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5040 lpszNewValue);
5041}
5042
5043CString _ContactItem::GetSuffix()
5044{
5045 CString result;
5046 InvokeHelper(0x3a05, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5047 return result;
5048}
5049
5050void _ContactItem::SetSuffix(LPCTSTR lpszNewValue)
5051{
5052 static BYTE parms[] =
5053 VTS_BSTR;
5054 InvokeHelper(0x3a05, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5055 lpszNewValue);
5056}
5057
5058CString _ContactItem::GetTelexNumber()
5059{
5060 CString result;
5061 InvokeHelper(0x3a2c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5062 return result;
5063}
5064
5065void _ContactItem::SetTelexNumber(LPCTSTR lpszNewValue)
5066{
5067 static BYTE parms[] =
5068 VTS_BSTR;
5069 InvokeHelper(0x3a2c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5070 lpszNewValue);
5071}
5072
5073CString _ContactItem::GetTitle()
5074{
5075 CString result;
5076 InvokeHelper(0x3a45, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5077 return result;
5078}
5079
5080void _ContactItem::SetTitle(LPCTSTR lpszNewValue)
5081{
5082 static BYTE parms[] =
5083 VTS_BSTR;
5084 InvokeHelper(0x3a45, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5085 lpszNewValue);
5086}
5087
5088CString _ContactItem::GetTTYTDDTelephoneNumber()
5089{
5090 CString result;
5091 InvokeHelper(0x3a4b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5092 return result;
5093}
5094
5095void _ContactItem::SetTTYTDDTelephoneNumber(LPCTSTR lpszNewValue)
5096{
5097 static BYTE parms[] =
5098 VTS_BSTR;
5099 InvokeHelper(0x3a4b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5100 lpszNewValue);
5101}
5102
5103CString _ContactItem::GetUser1()
5104{
5105 CString result;
5106 InvokeHelper(0x804f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5107 return result;
5108}
5109
5110void _ContactItem::SetUser1(LPCTSTR lpszNewValue)
5111{
5112 static BYTE parms[] =
5113 VTS_BSTR;
5114 InvokeHelper(0x804f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5115 lpszNewValue);
5116}
5117
5118CString _ContactItem::GetUser2()
5119{
5120 CString result;
5121 InvokeHelper(0x8050, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5122 return result;
5123}
5124
5125void _ContactItem::SetUser2(LPCTSTR lpszNewValue)
5126{
5127 static BYTE parms[] =
5128 VTS_BSTR;
5129 InvokeHelper(0x8050, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5130 lpszNewValue);
5131}
5132
5133CString _ContactItem::GetUser3()
5134{
5135 CString result;
5136 InvokeHelper(0x8051, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5137 return result;
5138}
5139
5140void _ContactItem::SetUser3(LPCTSTR lpszNewValue)
5141{
5142 static BYTE parms[] =
5143 VTS_BSTR;
5144 InvokeHelper(0x8051, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5145 lpszNewValue);
5146}
5147
5148CString _ContactItem::GetUser4()
5149{
5150 CString result;
5151 InvokeHelper(0x8052, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5152 return result;
5153}
5154
5155void _ContactItem::SetUser4(LPCTSTR lpszNewValue)
5156{
5157 static BYTE parms[] =
5158 VTS_BSTR;
5159 InvokeHelper(0x8052, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5160 lpszNewValue);
5161}
5162
5163CString _ContactItem::GetUserCertificate()
5164{
5165 CString result;
5166 InvokeHelper(0x8016, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5167 return result;
5168}
5169
5170void _ContactItem::SetUserCertificate(LPCTSTR lpszNewValue)
5171{
5172 static BYTE parms[] =
5173 VTS_BSTR;
5174 InvokeHelper(0x8016, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5175 lpszNewValue);
5176}
5177
5178CString _ContactItem::GetWebPage()
5179{
5180 CString result;
5181 InvokeHelper(0x802b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5182 return result;
5183}
5184
5185void _ContactItem::SetWebPage(LPCTSTR lpszNewValue)
5186{
5187 static BYTE parms[] =
5188 VTS_BSTR;
5189 InvokeHelper(0x802b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5190 lpszNewValue);
5191}
5192
5193CString _ContactItem::GetYomiCompanyName()
5194{
5195 CString result;
5196 InvokeHelper(0x802e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5197 return result;
5198}
5199
5200void _ContactItem::SetYomiCompanyName(LPCTSTR lpszNewValue)
5201{
5202 static BYTE parms[] =
5203 VTS_BSTR;
5204 InvokeHelper(0x802e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5205 lpszNewValue);
5206}
5207
5208CString _ContactItem::GetYomiFirstName()
5209{
5210 CString result;
5211 InvokeHelper(0x802c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5212 return result;
5213}
5214
5215void _ContactItem::SetYomiFirstName(LPCTSTR lpszNewValue)
5216{
5217 static BYTE parms[] =
5218 VTS_BSTR;
5219 InvokeHelper(0x802c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5220 lpszNewValue);
5221}
5222
5223CString _ContactItem::GetYomiLastName()
5224{
5225 CString result;
5226 InvokeHelper(0x802d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5227 return result;
5228}
5229
5230void _ContactItem::SetYomiLastName(LPCTSTR lpszNewValue)
5231{
5232 static BYTE parms[] =
5233 VTS_BSTR;
5234 InvokeHelper(0x802d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5235 lpszNewValue);
5236}
5237
5238LPDISPATCH _ContactItem::ForwardAsVcard()
5239{
5240 LPDISPATCH result;
5241 InvokeHelper(0xf8a1, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
5242 return result;
5243}
5244
5245LPDISPATCH _ContactItem::GetLinks()
5246{
5247 LPDISPATCH result;
5248 InvokeHelper(0xf405, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5249 return result;
5250}
5251
5252
5253/////////////////////////////////////////////////////////////////////////////
5254// _DistListItem properties
5255
5256/////////////////////////////////////////////////////////////////////////////
5257// _DistListItem operations
5258
5259LPDISPATCH _DistListItem::GetApplication()
5260{
5261 LPDISPATCH result;
5262 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5263 return result;
5264}
5265
5266long _DistListItem::GetClass()
5267{
5268 long result;
5269 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5270 return result;
5271}
5272
5273LPDISPATCH _DistListItem::GetSession()
5274{
5275 LPDISPATCH result;
5276 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5277 return result;
5278}
5279
5280LPDISPATCH _DistListItem::GetParent()
5281{
5282 LPDISPATCH result;
5283 InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5284 return result;
5285}
5286
5287LPDISPATCH _DistListItem::GetActions()
5288{
5289 LPDISPATCH result;
5290 InvokeHelper(0xf817, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5291 return result;
5292}
5293
5294LPDISPATCH _DistListItem::GetAttachments()
5295{
5296 LPDISPATCH result;
5297 InvokeHelper(0xf815, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5298 return result;
5299}
5300
5301CString _DistListItem::GetBillingInformation()
5302{
5303 CString result;
5304 InvokeHelper(0x8535, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5305 return result;
5306}
5307
5308void _DistListItem::SetBillingInformation(LPCTSTR lpszNewValue)
5309{
5310 static BYTE parms[] =
5311 VTS_BSTR;
5312 InvokeHelper(0x8535, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5313 lpszNewValue);
5314}
5315
5316CString _DistListItem::GetBody()
5317{
5318 CString result;
5319 InvokeHelper(0x9100, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5320 return result;
5321}
5322
5323void _DistListItem::SetBody(LPCTSTR lpszNewValue)
5324{
5325 static BYTE parms[] =
5326 VTS_BSTR;
5327 InvokeHelper(0x9100, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5328 lpszNewValue);
5329}
5330
5331CString _DistListItem::GetCategories()
5332{
5333 CString result;
5334 InvokeHelper(0x9001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5335 return result;
5336}
5337
5338void _DistListItem::SetCategories(LPCTSTR lpszNewValue)
5339{
5340 static BYTE parms[] =
5341 VTS_BSTR;
5342 InvokeHelper(0x9001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5343 lpszNewValue);
5344}
5345
5346CString _DistListItem::GetCompanies()
5347{
5348 CString result;
5349 InvokeHelper(0x853b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5350 return result;
5351}
5352
5353void _DistListItem::SetCompanies(LPCTSTR lpszNewValue)
5354{
5355 static BYTE parms[] =
5356 VTS_BSTR;
5357 InvokeHelper(0x853b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5358 lpszNewValue);
5359}
5360
5361CString _DistListItem::GetConversationIndex()
5362{
5363 CString result;
5364 InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5365 return result;
5366}
5367
5368CString _DistListItem::GetConversationTopic()
5369{
5370 CString result;
5371 InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5372 return result;
5373}
5374
5375DATE _DistListItem::GetCreationTime()
5376{
5377 DATE result;
5378 InvokeHelper(0x3007, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
5379 return result;
5380}
5381
5382CString _DistListItem::GetEntryID()
5383{
5384 CString result;
5385 InvokeHelper(0xf01e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5386 return result;
5387}
5388
5389LPDISPATCH _DistListItem::GetFormDescription()
5390{
5391 LPDISPATCH result;
5392 InvokeHelper(0xf095, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5393 return result;
5394}
5395
5396LPDISPATCH _DistListItem::GetGetInspector()
5397{
5398 LPDISPATCH result;
5399 InvokeHelper(0xf03e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5400 return result;
5401}
5402
5403long _DistListItem::GetImportance()
5404{
5405 long result;
5406 InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5407 return result;
5408}
5409
5410void _DistListItem::SetImportance(long nNewValue)
5411{
5412 static BYTE parms[] =
5413 VTS_I4;
5414 InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5415 nNewValue);
5416}
5417
5418DATE _DistListItem::GetLastModificationTime()
5419{
5420 DATE result;
5421 InvokeHelper(0x3008, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
5422 return result;
5423}
5424
5425CString _DistListItem::GetMessageClass()
5426{
5427 CString result;
5428 InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5429 return result;
5430}
5431
5432void _DistListItem::SetMessageClass(LPCTSTR lpszNewValue)
5433{
5434 static BYTE parms[] =
5435 VTS_BSTR;
5436 InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5437 lpszNewValue);
5438}
5439
5440CString _DistListItem::GetMileage()
5441{
5442 CString result;
5443 InvokeHelper(0x8534, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5444 return result;
5445}
5446
5447void _DistListItem::SetMileage(LPCTSTR lpszNewValue)
5448{
5449 static BYTE parms[] =
5450 VTS_BSTR;
5451 InvokeHelper(0x8534, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5452 lpszNewValue);
5453}
5454
5455BOOL _DistListItem::GetNoAging()
5456{
5457 BOOL result;
5458 InvokeHelper(0x850e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
5459 return result;
5460}
5461
5462void _DistListItem::SetNoAging(BOOL bNewValue)
5463{
5464 static BYTE parms[] =
5465 VTS_BOOL;
5466 InvokeHelper(0x850e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5467 bNewValue);
5468}
5469
5470long _DistListItem::GetOutlookInternalVersion()
5471{
5472 long result;
5473 InvokeHelper(0x8552, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5474 return result;
5475}
5476
5477CString _DistListItem::GetOutlookVersion()
5478{
5479 CString result;
5480 InvokeHelper(0x8554, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5481 return result;
5482}
5483
5484BOOL _DistListItem::GetSaved()
5485{
5486 BOOL result;
5487 InvokeHelper(0xf0a3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
5488 return result;
5489}
5490
5491long _DistListItem::GetSensitivity()
5492{
5493 long result;
5494 InvokeHelper(0x36, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5495 return result;
5496}
5497
5498void _DistListItem::SetSensitivity(long nNewValue)
5499{
5500 static BYTE parms[] =
5501 VTS_I4;
5502 InvokeHelper(0x36, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5503 nNewValue);
5504}
5505
5506long _DistListItem::GetSize()
5507{
5508 long result;
5509 InvokeHelper(0xe08, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5510 return result;
5511}
5512
5513CString _DistListItem::GetSubject()
5514{
5515 CString result;
5516 InvokeHelper(0x37, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5517 return result;
5518}
5519
5520void _DistListItem::SetSubject(LPCTSTR lpszNewValue)
5521{
5522 static BYTE parms[] =
5523 VTS_BSTR;
5524 InvokeHelper(0x37, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5525 lpszNewValue);
5526}
5527
5528BOOL _DistListItem::GetUnRead()
5529{
5530 BOOL result;
5531 InvokeHelper(0xf01c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
5532 return result;
5533}
5534
5535void _DistListItem::SetUnRead(BOOL bNewValue)
5536{
5537 static BYTE parms[] =
5538 VTS_BOOL;
5539 InvokeHelper(0xf01c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5540 bNewValue);
5541}
5542
5543LPDISPATCH _DistListItem::GetUserProperties()
5544{
5545 LPDISPATCH result;
5546 InvokeHelper(0xf816, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5547 return result;
5548}
5549
5550void _DistListItem::Close(long SaveMode)
5551{
5552 static BYTE parms[] =
5553 VTS_I4;
5554 InvokeHelper(0xf023, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
5555 SaveMode);
5556}
5557
5558LPDISPATCH _DistListItem::Copy()
5559{
5560 LPDISPATCH result;
5561 InvokeHelper(0xf032, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
5562 return result;
5563}
5564
5565void _DistListItem::Delete()
5566{
5567 InvokeHelper(0xf04a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
5568}
5569
5570void _DistListItem::Display(const VARIANT& Modal)
5571{
5572 static BYTE parms[] =
5573 VTS_VARIANT;
5574 InvokeHelper(0xf0a6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
5575 &Modal);
5576}
5577
5578LPDISPATCH _DistListItem::Move(LPDISPATCH DestFldr)
5579{
5580 LPDISPATCH result;
5581 static BYTE parms[] =
5582 VTS_DISPATCH;
5583 InvokeHelper(0xf034, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
5584 DestFldr);
5585 return result;
5586}
5587
5588void _DistListItem::PrintOut()
5589{
5590 InvokeHelper(0xf033, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
5591}
5592
5593void _DistListItem::Save()
5594{
5595 InvokeHelper(0xf048, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
5596}
5597
5598void _DistListItem::SaveAs(LPCTSTR Path, const VARIANT& Type)
5599{
5600 static BYTE parms[] =
5601 VTS_BSTR VTS_VARIANT;
5602 InvokeHelper(0xf051, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
5603 Path, &Type);
5604}
5605
5606CString _DistListItem::GetDLName()
5607{
5608 CString result;
5609 InvokeHelper(0x8053, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5610 return result;
5611}
5612
5613void _DistListItem::SetDLName(LPCTSTR lpszNewValue)
5614{
5615 static BYTE parms[] =
5616 VTS_BSTR;
5617 InvokeHelper(0x8053, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5618 lpszNewValue);
5619}
5620
5621long _DistListItem::GetMemberCount()
5622{
5623 long result;
5624 InvokeHelper(0x804b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5625 return result;
5626}
5627
5628LPDISPATCH _DistListItem::GetLinks()
5629{
5630 LPDISPATCH result;
5631 InvokeHelper(0xf405, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5632 return result;
5633}
5634
5635void _DistListItem::AddMembers(LPDISPATCH Recipients)
5636{
5637 static BYTE parms[] =
5638 VTS_DISPATCH;
5639 InvokeHelper(0xf900, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
5640 Recipients);
5641}
5642
5643void _DistListItem::RemoveMembers(LPDISPATCH Recipients)
5644{
5645 static BYTE parms[] =
5646 VTS_DISPATCH;
5647 InvokeHelper(0xf901, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
5648 Recipients);
5649}
5650
5651LPDISPATCH _DistListItem::GetMember(long Index)
5652{
5653 LPDISPATCH result;
5654 static BYTE parms[] =
5655 VTS_I4;
5656 InvokeHelper(0xf905, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
5657 Index);
5658 return result;
5659}
5660
5661
5662/////////////////////////////////////////////////////////////////////////////
5663// _JournalItem properties
5664
5665/////////////////////////////////////////////////////////////////////////////
5666// _JournalItem operations
5667
5668LPDISPATCH _JournalItem::GetApplication()
5669{
5670 LPDISPATCH result;
5671 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5672 return result;
5673}
5674
5675long _JournalItem::GetClass()
5676{
5677 long result;
5678 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5679 return result;
5680}
5681
5682LPDISPATCH _JournalItem::GetSession()
5683{
5684 LPDISPATCH result;
5685 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5686 return result;
5687}
5688
5689LPDISPATCH _JournalItem::GetParent()
5690{
5691 LPDISPATCH result;
5692 InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5693 return result;
5694}
5695
5696LPDISPATCH _JournalItem::GetActions()
5697{
5698 LPDISPATCH result;
5699 InvokeHelper(0xf817, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5700 return result;
5701}
5702
5703LPDISPATCH _JournalItem::GetAttachments()
5704{
5705 LPDISPATCH result;
5706 InvokeHelper(0xf815, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5707 return result;
5708}
5709
5710CString _JournalItem::GetBillingInformation()
5711{
5712 CString result;
5713 InvokeHelper(0x8535, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5714 return result;
5715}
5716
5717void _JournalItem::SetBillingInformation(LPCTSTR lpszNewValue)
5718{
5719 static BYTE parms[] =
5720 VTS_BSTR;
5721 InvokeHelper(0x8535, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5722 lpszNewValue);
5723}
5724
5725CString _JournalItem::GetBody()
5726{
5727 CString result;
5728 InvokeHelper(0x9100, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5729 return result;
5730}
5731
5732void _JournalItem::SetBody(LPCTSTR lpszNewValue)
5733{
5734 static BYTE parms[] =
5735 VTS_BSTR;
5736 InvokeHelper(0x9100, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5737 lpszNewValue);
5738}
5739
5740CString _JournalItem::GetCategories()
5741{
5742 CString result;
5743 InvokeHelper(0x9001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5744 return result;
5745}
5746
5747void _JournalItem::SetCategories(LPCTSTR lpszNewValue)
5748{
5749 static BYTE parms[] =
5750 VTS_BSTR;
5751 InvokeHelper(0x9001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5752 lpszNewValue);
5753}
5754
5755CString _JournalItem::GetCompanies()
5756{
5757 CString result;
5758 InvokeHelper(0x853b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5759 return result;
5760}
5761
5762void _JournalItem::SetCompanies(LPCTSTR lpszNewValue)
5763{
5764 static BYTE parms[] =
5765 VTS_BSTR;
5766 InvokeHelper(0x853b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5767 lpszNewValue);
5768}
5769
5770CString _JournalItem::GetConversationIndex()
5771{
5772 CString result;
5773 InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5774 return result;
5775}
5776
5777CString _JournalItem::GetConversationTopic()
5778{
5779 CString result;
5780 InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5781 return result;
5782}
5783
5784DATE _JournalItem::GetCreationTime()
5785{
5786 DATE result;
5787 InvokeHelper(0x3007, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
5788 return result;
5789}
5790
5791CString _JournalItem::GetEntryID()
5792{
5793 CString result;
5794 InvokeHelper(0xf01e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5795 return result;
5796}
5797
5798LPDISPATCH _JournalItem::GetFormDescription()
5799{
5800 LPDISPATCH result;
5801 InvokeHelper(0xf095, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5802 return result;
5803}
5804
5805LPDISPATCH _JournalItem::GetGetInspector()
5806{
5807 LPDISPATCH result;
5808 InvokeHelper(0xf03e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5809 return result;
5810}
5811
5812long _JournalItem::GetImportance()
5813{
5814 long result;
5815 InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5816 return result;
5817}
5818
5819void _JournalItem::SetImportance(long nNewValue)
5820{
5821 static BYTE parms[] =
5822 VTS_I4;
5823 InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5824 nNewValue);
5825}
5826
5827DATE _JournalItem::GetLastModificationTime()
5828{
5829 DATE result;
5830 InvokeHelper(0x3008, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
5831 return result;
5832}
5833
5834CString _JournalItem::GetMessageClass()
5835{
5836 CString result;
5837 InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5838 return result;
5839}
5840
5841void _JournalItem::SetMessageClass(LPCTSTR lpszNewValue)
5842{
5843 static BYTE parms[] =
5844 VTS_BSTR;
5845 InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5846 lpszNewValue);
5847}
5848
5849CString _JournalItem::GetMileage()
5850{
5851 CString result;
5852 InvokeHelper(0x8534, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5853 return result;
5854}
5855
5856void _JournalItem::SetMileage(LPCTSTR lpszNewValue)
5857{
5858 static BYTE parms[] =
5859 VTS_BSTR;
5860 InvokeHelper(0x8534, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5861 lpszNewValue);
5862}
5863
5864BOOL _JournalItem::GetNoAging()
5865{
5866 BOOL result;
5867 InvokeHelper(0x850e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
5868 return result;
5869}
5870
5871void _JournalItem::SetNoAging(BOOL bNewValue)
5872{
5873 static BYTE parms[] =
5874 VTS_BOOL;
5875 InvokeHelper(0x850e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5876 bNewValue);
5877}
5878
5879long _JournalItem::GetOutlookInternalVersion()
5880{
5881 long result;
5882 InvokeHelper(0x8552, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5883 return result;
5884}
5885
5886CString _JournalItem::GetOutlookVersion()
5887{
5888 CString result;
5889 InvokeHelper(0x8554, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5890 return result;
5891}
5892
5893BOOL _JournalItem::GetSaved()
5894{
5895 BOOL result;
5896 InvokeHelper(0xf0a3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
5897 return result;
5898}
5899
5900long _JournalItem::GetSensitivity()
5901{
5902 long result;
5903 InvokeHelper(0x36, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5904 return result;
5905}
5906
5907void _JournalItem::SetSensitivity(long nNewValue)
5908{
5909 static BYTE parms[] =
5910 VTS_I4;
5911 InvokeHelper(0x36, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5912 nNewValue);
5913}
5914
5915long _JournalItem::GetSize()
5916{
5917 long result;
5918 InvokeHelper(0xe08, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5919 return result;
5920}
5921
5922CString _JournalItem::GetSubject()
5923{
5924 CString result;
5925 InvokeHelper(0x37, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5926 return result;
5927}
5928
5929void _JournalItem::SetSubject(LPCTSTR lpszNewValue)
5930{
5931 static BYTE parms[] =
5932 VTS_BSTR;
5933 InvokeHelper(0x37, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5934 lpszNewValue);
5935}
5936
5937BOOL _JournalItem::GetUnRead()
5938{
5939 BOOL result;
5940 InvokeHelper(0xf01c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
5941 return result;
5942}
5943
5944void _JournalItem::SetUnRead(BOOL bNewValue)
5945{
5946 static BYTE parms[] =
5947 VTS_BOOL;
5948 InvokeHelper(0xf01c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5949 bNewValue);
5950}
5951
5952LPDISPATCH _JournalItem::GetUserProperties()
5953{
5954 LPDISPATCH result;
5955 InvokeHelper(0xf816, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5956 return result;
5957}
5958
5959void _JournalItem::Close(long SaveMode)
5960{
5961 static BYTE parms[] =
5962 VTS_I4;
5963 InvokeHelper(0xf023, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
5964 SaveMode);
5965}
5966
5967LPDISPATCH _JournalItem::Copy()
5968{
5969 LPDISPATCH result;
5970 InvokeHelper(0xf032, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
5971 return result;
5972}
5973
5974void _JournalItem::Delete()
5975{
5976 InvokeHelper(0xf04a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
5977}
5978
5979void _JournalItem::Display(const VARIANT& Modal)
5980{
5981 static BYTE parms[] =
5982 VTS_VARIANT;
5983 InvokeHelper(0xf0a6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
5984 &Modal);
5985}
5986
5987LPDISPATCH _JournalItem::Move(LPDISPATCH DestFldr)
5988{
5989 LPDISPATCH result;
5990 static BYTE parms[] =
5991 VTS_DISPATCH;
5992 InvokeHelper(0xf034, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
5993 DestFldr);
5994 return result;
5995}
5996
5997void _JournalItem::PrintOut()
5998{
5999 InvokeHelper(0xf033, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
6000}
6001
6002void _JournalItem::Save()
6003{
6004 InvokeHelper(0xf048, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
6005}
6006
6007void _JournalItem::SaveAs(LPCTSTR Path, const VARIANT& Type)
6008{
6009 static BYTE parms[] =
6010 VTS_BSTR VTS_VARIANT;
6011 InvokeHelper(0xf051, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
6012 Path, &Type);
6013}
6014
6015CString _JournalItem::GetContactNames()
6016{
6017 CString result;
6018 InvokeHelper(0xe04, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
6019 return result;
6020}
6021
6022void _JournalItem::SetContactNames(LPCTSTR lpszNewValue)
6023{
6024 static BYTE parms[] =
6025 VTS_BSTR;
6026 InvokeHelper(0xe04, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6027 lpszNewValue);
6028}
6029
6030BOOL _JournalItem::GetDocPosted()
6031{
6032 BOOL result;
6033 InvokeHelper(0x8711, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
6034 return result;
6035}
6036
6037void _JournalItem::SetDocPosted(BOOL bNewValue)
6038{
6039 static BYTE parms[] =
6040 VTS_BOOL;
6041 InvokeHelper(0x8711, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6042 bNewValue);
6043}
6044
6045BOOL _JournalItem::GetDocPrinted()
6046{
6047 BOOL result;
6048 InvokeHelper(0x870e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
6049 return result;
6050}
6051
6052void _JournalItem::SetDocPrinted(BOOL bNewValue)
6053{
6054 static BYTE parms[] =
6055 VTS_BOOL;
6056 InvokeHelper(0x870e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6057 bNewValue);
6058}
6059
6060BOOL _JournalItem::GetDocRouted()
6061{
6062 BOOL result;
6063 InvokeHelper(0x8710, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
6064 return result;
6065}
6066
6067void _JournalItem::SetDocRouted(BOOL bNewValue)
6068{
6069 static BYTE parms[] =
6070 VTS_BOOL;
6071 InvokeHelper(0x8710, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6072 bNewValue);
6073}
6074
6075BOOL _JournalItem::GetDocSaved()
6076{
6077 BOOL result;
6078 InvokeHelper(0x870f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
6079 return result;
6080}
6081
6082void _JournalItem::SetDocSaved(BOOL bNewValue)
6083{
6084 static BYTE parms[] =
6085 VTS_BOOL;
6086 InvokeHelper(0x870f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6087 bNewValue);
6088}
6089
6090long _JournalItem::GetDuration()
6091{
6092 long result;
6093 InvokeHelper(0x8707, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6094 return result;
6095}
6096
6097void _JournalItem::SetDuration(long nNewValue)
6098{
6099 static BYTE parms[] =
6100 VTS_I4;
6101 InvokeHelper(0x8707, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6102 nNewValue);
6103}
6104
6105DATE _JournalItem::GetEnd()
6106{
6107 DATE result;
6108 InvokeHelper(0x8708, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
6109 return result;
6110}
6111
6112void _JournalItem::SetEnd(DATE newValue)
6113{
6114 static BYTE parms[] =
6115 VTS_DATE;
6116 InvokeHelper(0x8708, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6117 newValue);
6118}
6119
6120CString _JournalItem::GetType()
6121{
6122 CString result;
6123 InvokeHelper(0x8700, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
6124 return result;
6125}
6126
6127void _JournalItem::SetType(LPCTSTR lpszNewValue)
6128{
6129 static BYTE parms[] =
6130 VTS_BSTR;
6131 InvokeHelper(0x8700, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6132 lpszNewValue);
6133}
6134
6135LPDISPATCH _JournalItem::GetRecipients()
6136{
6137 LPDISPATCH result;
6138 InvokeHelper(0xf814, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
6139 return result;
6140}
6141
6142DATE _JournalItem::GetStart()
6143{
6144 DATE result;
6145 InvokeHelper(0x8706, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
6146 return result;
6147}
6148
6149void _JournalItem::SetStart(DATE newValue)
6150{
6151 static BYTE parms[] =
6152 VTS_DATE;
6153 InvokeHelper(0x8706, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6154 newValue);
6155}
6156
6157LPDISPATCH _JournalItem::Forward()
6158{
6159 LPDISPATCH result;
6160 InvokeHelper(0xf813, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
6161 return result;
6162}
6163
6164LPDISPATCH _JournalItem::Reply()
6165{
6166 LPDISPATCH result;
6167 InvokeHelper(0xf810, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
6168 return result;
6169}
6170
6171LPDISPATCH _JournalItem::ReplyAll()
6172{
6173 LPDISPATCH result;
6174 InvokeHelper(0xf811, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
6175 return result;
6176}
6177
6178void _JournalItem::StartTimer()
6179{
6180 InvokeHelper(0xf725, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
6181}
6182
6183void _JournalItem::StopTimer()
6184{
6185 InvokeHelper(0xf726, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
6186}
6187
6188LPDISPATCH _JournalItem::GetLinks()
6189{
6190 LPDISPATCH result;
6191 InvokeHelper(0xf405, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
6192 return result;
6193}
6194
6195
6196/////////////////////////////////////////////////////////////////////////////
6197// _NoteItem properties
6198
6199/////////////////////////////////////////////////////////////////////////////
6200// _NoteItem operations
6201
6202LPDISPATCH _NoteItem::GetApplication()
6203{
6204 LPDISPATCH result;
6205 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
6206 return result;
6207}
6208
6209long _NoteItem::GetClass()
6210{
6211 long result;
6212 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6213 return result;
6214}
6215
6216LPDISPATCH _NoteItem::GetSession()
6217{
6218 LPDISPATCH result;
6219 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
6220 return result;
6221}
6222
6223LPDISPATCH _NoteItem::GetParent()
6224{
6225 LPDISPATCH result;
6226 InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
6227 return result;
6228}
6229
6230CString _NoteItem::GetBody()
6231{
6232 CString result;
6233 InvokeHelper(0x9100, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
6234 return result;
6235}
6236
6237void _NoteItem::SetBody(LPCTSTR lpszNewValue)
6238{
6239 static BYTE parms[] =
6240 VTS_BSTR;
6241 InvokeHelper(0x9100, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6242 lpszNewValue);
6243}
6244
6245CString _NoteItem::GetCategories()
6246{
6247 CString result;
6248 InvokeHelper(0x9001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
6249 return result;
6250}
6251
6252void _NoteItem::SetCategories(LPCTSTR lpszNewValue)
6253{
6254 static BYTE parms[] =
6255 VTS_BSTR;
6256 InvokeHelper(0x9001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6257 lpszNewValue);
6258}
6259
6260long _NoteItem::GetColor()
6261{
6262 long result;
6263 InvokeHelper(0x8b00, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6264 return result;
6265}
6266
6267void _NoteItem::SetColor(long nNewValue)
6268{
6269 static BYTE parms[] =
6270 VTS_I4;
6271 InvokeHelper(0x8b00, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6272 nNewValue);
6273}
6274
6275DATE _NoteItem::GetCreationTime()
6276{
6277 DATE result;
6278 InvokeHelper(0x3007, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
6279 return result;
6280}
6281
6282CString _NoteItem::GetEntryID()
6283{
6284 CString result;
6285 InvokeHelper(0xf01e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
6286 return result;
6287}
6288
6289LPDISPATCH _NoteItem::GetGetInspector()
6290{
6291 LPDISPATCH result;
6292 InvokeHelper(0xf03e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
6293 return result;
6294}
6295
6296long _NoteItem::GetHeight()
6297{
6298 long result;
6299 InvokeHelper(0x8b03, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6300 return result;
6301}
6302
6303void _NoteItem::SetHeight(long nNewValue)
6304{
6305 static BYTE parms[] =
6306 VTS_I4;
6307 InvokeHelper(0x8b03, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6308 nNewValue);
6309}
6310
6311DATE _NoteItem::GetLastModificationTime()
6312{
6313 DATE result;
6314 InvokeHelper(0x3008, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
6315 return result;
6316}
6317
6318long _NoteItem::GetLeft()
6319{
6320 long result;
6321 InvokeHelper(0x8b04, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6322 return result;
6323}
6324
6325void _NoteItem::SetLeft(long nNewValue)
6326{
6327 static BYTE parms[] =
6328 VTS_I4;
6329 InvokeHelper(0x8b04, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6330 nNewValue);
6331}
6332
6333CString _NoteItem::GetMessageClass()
6334{
6335 CString result;
6336 InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
6337 return result;
6338}
6339
6340void _NoteItem::SetMessageClass(LPCTSTR lpszNewValue)
6341{
6342 static BYTE parms[] =
6343 VTS_BSTR;
6344 InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6345 lpszNewValue);
6346}
6347
6348BOOL _NoteItem::GetSaved()
6349{
6350 BOOL result;
6351 InvokeHelper(0xf0a3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
6352 return result;
6353}
6354
6355long _NoteItem::GetSize()
6356{
6357 long result;
6358 InvokeHelper(0xe08, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6359 return result;
6360}
6361
6362CString _NoteItem::GetSubject()
6363{
6364 CString result;
6365 InvokeHelper(0xf7a0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
6366 return result;
6367}
6368
6369long _NoteItem::GetTop()
6370{
6371 long result;
6372 InvokeHelper(0x8b05, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6373 return result;
6374}
6375
6376void _NoteItem::SetTop(long nNewValue)
6377{
6378 static BYTE parms[] =
6379 VTS_I4;
6380 InvokeHelper(0x8b05, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6381 nNewValue);
6382}
6383
6384long _NoteItem::GetWidth()
6385{
6386 long result;
6387 InvokeHelper(0x8b02, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6388 return result;
6389}
6390
6391void _NoteItem::SetWidth(long nNewValue)
6392{
6393 static BYTE parms[] =
6394 VTS_I4;
6395 InvokeHelper(0x8b02, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6396 nNewValue);
6397}
6398
6399void _NoteItem::Close(long SaveMode)
6400{
6401 static BYTE parms[] =
6402 VTS_I4;
6403 InvokeHelper(0xf023, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
6404 SaveMode);
6405}
6406
6407LPDISPATCH _NoteItem::Copy()
6408{
6409 LPDISPATCH result;
6410 InvokeHelper(0xf032, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
6411 return result;
6412}
6413
6414void _NoteItem::Delete()
6415{
6416 InvokeHelper(0xf04a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
6417}
6418
6419void _NoteItem::Display(const VARIANT& Modal)
6420{
6421 static BYTE parms[] =
6422 VTS_VARIANT;
6423 InvokeHelper(0xf0a6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
6424 &Modal);
6425}
6426
6427LPDISPATCH _NoteItem::Move(LPDISPATCH DestFldr)
6428{
6429 LPDISPATCH result;
6430 static BYTE parms[] =
6431 VTS_DISPATCH;
6432 InvokeHelper(0xf034, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
6433 DestFldr);
6434 return result;
6435}
6436
6437void _NoteItem::PrintOut()
6438{
6439 InvokeHelper(0xf033, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
6440}
6441
6442void _NoteItem::Save()
6443{
6444 InvokeHelper(0xf048, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
6445}
6446
6447void _NoteItem::SaveAs(LPCTSTR Path, const VARIANT& Type)
6448{
6449 static BYTE parms[] =
6450 VTS_BSTR VTS_VARIANT;
6451 InvokeHelper(0xf051, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
6452 Path, &Type);
6453}
6454
6455LPDISPATCH _NoteItem::GetLinks()
6456{
6457 LPDISPATCH result;
6458 InvokeHelper(0xf405, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
6459 return result;
6460}
6461
6462
6463
6464
6465/////////////////////////////////////////////////////////////////////////////
6466// Action properties
6467
6468/////////////////////////////////////////////////////////////////////////////
6469// Action operations
6470
6471LPDISPATCH Action::GetApplication()
6472{
6473 LPDISPATCH result;
6474 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
6475 return result;
6476}
6477
6478long Action::GetClass()
6479{
6480 long result;
6481 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6482 return result;
6483}
6484
6485LPDISPATCH Action::GetSession()
6486{
6487 LPDISPATCH result;
6488 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
6489 return result;
6490}
6491
6492LPDISPATCH Action::GetParent()
6493{
6494 LPDISPATCH result;
6495 InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
6496 return result;
6497}
6498
6499long Action::GetCopyLike()
6500{
6501 long result;
6502 InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6503 return result;
6504}
6505
6506void Action::SetCopyLike(long nNewValue)
6507{
6508 static BYTE parms[] =
6509 VTS_I4;
6510 InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6511 nNewValue);
6512}
6513
6514BOOL Action::GetEnabled()
6515{
6516 BOOL result;
6517 InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
6518 return result;
6519}
6520
6521void Action::SetEnabled(BOOL bNewValue)
6522{
6523 static BYTE parms[] =
6524 VTS_BOOL;
6525 InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6526 bNewValue);
6527}
6528
6529CString Action::GetMessageClass()
6530{
6531 CString result;
6532 InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
6533 return result;
6534}
6535
6536void Action::SetMessageClass(LPCTSTR lpszNewValue)
6537{
6538 static BYTE parms[] =
6539 VTS_BSTR;
6540 InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6541 lpszNewValue);
6542}
6543
6544CString Action::GetName()
6545{
6546 CString result;
6547 InvokeHelper(0x3001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
6548 return result;
6549}
6550
6551void Action::SetName(LPCTSTR lpszNewValue)
6552{
6553 static BYTE parms[] =
6554 VTS_BSTR;
6555 InvokeHelper(0x3001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6556 lpszNewValue);
6557}
6558
6559CString Action::GetPrefix()
6560{
6561 CString result;
6562 InvokeHelper(0x3d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
6563 return result;
6564}
6565
6566void Action::SetPrefix(LPCTSTR lpszNewValue)
6567{
6568 static BYTE parms[] =
6569 VTS_BSTR;
6570 InvokeHelper(0x3d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6571 lpszNewValue);
6572}
6573
6574long Action::GetReplyStyle()
6575{
6576 long result;
6577 InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6578 return result;
6579}
6580
6581void Action::SetReplyStyle(long nNewValue)
6582{
6583 static BYTE parms[] =
6584 VTS_I4;
6585 InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6586 nNewValue);
6587}
6588
6589long Action::GetResponseStyle()
6590{
6591 long result;
6592 InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6593 return result;
6594}
6595
6596void Action::SetResponseStyle(long nNewValue)
6597{
6598 static BYTE parms[] =
6599 VTS_I4;
6600 InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6601 nNewValue);
6602}
6603
6604long Action::GetShowOn()
6605{
6606 long result;
6607 InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6608 return result;
6609}
6610
6611void Action::SetShowOn(long nNewValue)
6612{
6613 static BYTE parms[] =
6614 VTS_I4;
6615 InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6616 nNewValue);
6617}
6618
6619void Action::Delete()
6620{
6621 InvokeHelper(0x6c, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
6622}
6623
6624LPDISPATCH Action::Execute()
6625{
6626 LPDISPATCH result;
6627 InvokeHelper(0x6a, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
6628 return result;
6629}
6630
6631
6632/////////////////////////////////////////////////////////////////////////////
6633// Recipient properties
6634
6635/////////////////////////////////////////////////////////////////////////////
6636// Recipient operations
6637
6638LPDISPATCH Recipient::GetApplication()
6639{
6640 LPDISPATCH result;
6641 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
6642 return result;
6643}
6644
6645long Recipient::GetClass()
6646{
6647 long result;
6648 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6649 return result;
6650}
6651
6652LPDISPATCH Recipient::GetSession()
6653{
6654 LPDISPATCH result;
6655 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
6656 return result;
6657}
6658
6659LPDISPATCH Recipient::GetParent()
6660{
6661 LPDISPATCH result;
6662 InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
6663 return result;
6664}
6665
6666CString Recipient::GetAddress()
6667{
6668 CString result;
6669 InvokeHelper(0x3003, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
6670 return result;
6671}
6672
6673LPDISPATCH Recipient::GetAddressEntry()
6674{
6675 LPDISPATCH result;
6676 InvokeHelper(0x79, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
6677 return result;
6678}
6679
6680void Recipient::SetRefAddressEntry(LPDISPATCH newValue)
6681{
6682 static BYTE parms[] =
6683 VTS_DISPATCH;
6684 InvokeHelper(0x79, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
6685 newValue);
6686}
6687
6688CString Recipient::GetAutoResponse()
6689{
6690 CString result;
6691 InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
6692 return result;
6693}
6694
6695void Recipient::SetAutoResponse(LPCTSTR lpszNewValue)
6696{
6697 static BYTE parms[] =
6698 VTS_BSTR;
6699 InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6700 lpszNewValue);
6701}
6702
6703long Recipient::GetDisplayType()
6704{
6705 long result;
6706 InvokeHelper(0x3900, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6707 return result;
6708}
6709
6710CString Recipient::GetEntryID()
6711{
6712 CString result;
6713 InvokeHelper(0xf01e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
6714 return result;
6715}
6716
6717long Recipient::GetIndex()
6718{
6719 long result;
6720 InvokeHelper(0x5b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6721 return result;
6722}
6723
6724long Recipient::GetMeetingResponseStatus()
6725{
6726 long result;
6727 InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6728 return result;
6729}
6730
6731CString Recipient::GetName()
6732{
6733 CString result;
6734 InvokeHelper(0x3001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
6735 return result;
6736}
6737
6738BOOL Recipient::GetResolved()
6739{
6740 BOOL result;
6741 InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
6742 return result;
6743}
6744
6745long Recipient::GetTrackingStatus()
6746{
6747 long result;
6748 InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6749 return result;
6750}
6751
6752void Recipient::SetTrackingStatus(long nNewValue)
6753{
6754 static BYTE parms[] =
6755 VTS_I4;
6756 InvokeHelper(0x76, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6757 nNewValue);
6758}
6759
6760DATE Recipient::GetTrackingStatusTime()
6761{
6762 DATE result;
6763 InvokeHelper(0x77, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
6764 return result;
6765}
6766
6767void Recipient::SetTrackingStatusTime(DATE newValue)
6768{
6769 static BYTE parms[] =
6770 VTS_DATE;
6771 InvokeHelper(0x77, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6772 newValue);
6773}
6774
6775long Recipient::GetType()
6776{
6777 long result;
6778 InvokeHelper(0xc15, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6779 return result;
6780}
6781
6782void Recipient::SetType(long nNewValue)
6783{
6784 static BYTE parms[] =
6785 VTS_I4;
6786 InvokeHelper(0xc15, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6787 nNewValue);
6788}
6789
6790void Recipient::Delete()
6791{
6792 InvokeHelper(0x6e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
6793}
6794
6795CString Recipient::FreeBusy(DATE Start, long MinPerChar, const VARIANT& CompleteFormat)
6796{
6797 CString result;
6798 static BYTE parms[] =
6799 VTS_DATE VTS_I4 VTS_VARIANT;
6800 InvokeHelper(0x6f, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
6801 Start, MinPerChar, &CompleteFormat);
6802 return result;
6803}
6804
6805BOOL Recipient::Resolve()
6806{
6807 BOOL result;
6808 InvokeHelper(0x71, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
6809 return result;
6810}
6811
6812
6813/////////////////////////////////////////////////////////////////////////////
6814// _Inspector properties
6815
6816/////////////////////////////////////////////////////////////////////////////
6817// _Inspector operations
6818
6819LPDISPATCH _Inspector::GetApplication()
6820{
6821 LPDISPATCH result;
6822 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
6823 return result;
6824}
6825
6826long _Inspector::GetClass()
6827{
6828 long result;
6829 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6830 return result;
6831}
6832
6833LPDISPATCH _Inspector::GetSession()
6834{
6835 LPDISPATCH result;
6836 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
6837 return result;
6838}
6839
6840LPDISPATCH _Inspector::GetParent()
6841{
6842 LPDISPATCH result;
6843 InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
6844 return result;
6845}
6846
6847LPDISPATCH _Inspector::GetCommandBars()
6848{
6849 LPDISPATCH result;
6850 InvokeHelper(0x2100, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
6851 return result;
6852}
6853
6854LPDISPATCH _Inspector::GetCurrentItem()
6855{
6856 LPDISPATCH result;
6857 InvokeHelper(0x2102, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
6858 return result;
6859}
6860
6861long _Inspector::GetEditorType()
6862{
6863 long result;
6864 InvokeHelper(0x2110, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6865 return result;
6866}
6867
6868LPDISPATCH _Inspector::GetModifiedFormPages()
6869{
6870 LPDISPATCH result;
6871 InvokeHelper(0x2106, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
6872 return result;
6873}
6874
6875void _Inspector::Close(long SaveMode)
6876{
6877 static BYTE parms[] =
6878 VTS_I4;
6879 InvokeHelper(0x2103, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
6880 SaveMode);
6881}
6882
6883void _Inspector::Display(const VARIANT& Modal)
6884{
6885 static BYTE parms[] =
6886 VTS_VARIANT;
6887 InvokeHelper(0x2104, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
6888 &Modal);
6889}
6890
6891void _Inspector::HideFormPage(LPCTSTR PageName)
6892{
6893 static BYTE parms[] =
6894 VTS_BSTR;
6895 InvokeHelper(0x2108, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
6896 PageName);
6897}
6898
6899BOOL _Inspector::IsWordMail()
6900{
6901 BOOL result;
6902 InvokeHelper(0x2105, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
6903 return result;
6904}
6905
6906void _Inspector::SetCurrentFormPage(LPCTSTR PageName)
6907{
6908 static BYTE parms[] =
6909 VTS_BSTR;
6910 InvokeHelper(0x210c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
6911 PageName);
6912}
6913
6914void _Inspector::ShowFormPage(LPCTSTR PageName)
6915{
6916 static BYTE parms[] =
6917 VTS_BSTR;
6918 InvokeHelper(0x2109, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
6919 PageName);
6920}
6921
6922LPDISPATCH _Inspector::GetHTMLEditor()
6923{
6924 LPDISPATCH result;
6925 InvokeHelper(0x210e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
6926 return result;
6927}
6928
6929LPDISPATCH _Inspector::GetWordEditor()
6930{
6931 LPDISPATCH result;
6932 InvokeHelper(0x210f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
6933 return result;
6934}
6935
6936CString _Inspector::GetCaption()
6937{
6938 CString result;
6939 InvokeHelper(0x2111, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
6940 return result;
6941}
6942
6943long _Inspector::GetHeight()
6944{
6945 long result;
6946 InvokeHelper(0x2114, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6947 return result;
6948}
6949
6950void _Inspector::SetHeight(long nNewValue)
6951{
6952 static BYTE parms[] =
6953 VTS_I4;
6954 InvokeHelper(0x2114, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6955 nNewValue);
6956}
6957
6958long _Inspector::GetLeft()
6959{
6960 long result;
6961 InvokeHelper(0x2115, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6962 return result;
6963}
6964
6965void _Inspector::SetLeft(long nNewValue)
6966{
6967 static BYTE parms[] =
6968 VTS_I4;
6969 InvokeHelper(0x2115, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6970 nNewValue);
6971}
6972
6973long _Inspector::GetTop()
6974{
6975 long result;
6976 InvokeHelper(0x2116, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6977 return result;
6978}
6979
6980void _Inspector::SetTop(long nNewValue)
6981{
6982 static BYTE parms[] =
6983 VTS_I4;
6984 InvokeHelper(0x2116, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
6985 nNewValue);
6986}
6987
6988long _Inspector::GetWidth()
6989{
6990 long result;
6991 InvokeHelper(0x2117, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
6992 return result;
6993}
6994
6995void _Inspector::SetWidth(long nNewValue)
6996{
6997 static BYTE parms[] =
6998 VTS_I4;
6999 InvokeHelper(0x2117, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7000 nNewValue);
7001}
7002
7003long _Inspector::GetWindowState()
7004{
7005 long result;
7006 InvokeHelper(0x2112, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7007 return result;
7008}
7009
7010void _Inspector::SetWindowState(long nNewValue)
7011{
7012 static BYTE parms[] =
7013 VTS_I4;
7014 InvokeHelper(0x2112, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7015 nNewValue);
7016}
7017
7018void _Inspector::Activate()
7019{
7020 InvokeHelper(0x2113, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
7021}
7022
7023
7024/////////////////////////////////////////////////////////////////////////////
7025// Actions properties
7026
7027/////////////////////////////////////////////////////////////////////////////
7028// Actions operations
7029
7030LPDISPATCH Actions::GetApplication()
7031{
7032 LPDISPATCH result;
7033 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7034 return result;
7035}
7036
7037long Actions::GetClass()
7038{
7039 long result;
7040 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7041 return result;
7042}
7043
7044LPDISPATCH Actions::GetSession()
7045{
7046 LPDISPATCH result;
7047 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7048 return result;
7049}
7050
7051LPDISPATCH Actions::GetParent()
7052{
7053 LPDISPATCH result;
7054 InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7055 return result;
7056}
7057
7058long Actions::GetCount()
7059{
7060 long result;
7061 InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7062 return result;
7063}
7064
7065LPDISPATCH Actions::Item(const VARIANT& Index)
7066{
7067 LPDISPATCH result;
7068 static BYTE parms[] =
7069 VTS_VARIANT;
7070 InvokeHelper(0x51, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
7071 &Index);
7072 return result;
7073}
7074
7075LPDISPATCH Actions::Add()
7076{
7077 LPDISPATCH result;
7078 InvokeHelper(0x64, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
7079 return result;
7080}
7081
7082void Actions::Remove(long Index)
7083{
7084 static BYTE parms[] =
7085 VTS_I4;
7086 InvokeHelper(0x52, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
7087 Index);
7088}
7089
7090
7091/////////////////////////////////////////////////////////////////////////////
7092// Attachments properties
7093
7094/////////////////////////////////////////////////////////////////////////////
7095// Attachments operations
7096
7097LPDISPATCH Attachments::GetApplication()
7098{
7099 LPDISPATCH result;
7100 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7101 return result;
7102}
7103
7104long Attachments::GetClass()
7105{
7106 long result;
7107 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7108 return result;
7109}
7110
7111LPDISPATCH Attachments::GetSession()
7112{
7113 LPDISPATCH result;
7114 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7115 return result;
7116}
7117
7118LPDISPATCH Attachments::GetParent()
7119{
7120 LPDISPATCH result;
7121 InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7122 return result;
7123}
7124
7125long Attachments::GetCount()
7126{
7127 long result;
7128 InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7129 return result;
7130}
7131
7132LPDISPATCH Attachments::Item(const VARIANT& Index)
7133{
7134 LPDISPATCH result;
7135 static BYTE parms[] =
7136 VTS_VARIANT;
7137 InvokeHelper(0x51, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
7138 &Index);
7139 return result;
7140}
7141
7142LPDISPATCH Attachments::Add(const VARIANT& Source, const VARIANT& Type, const VARIANT& Position, const VARIANT& DisplayName)
7143{
7144 LPDISPATCH result;
7145 static BYTE parms[] =
7146 VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
7147 InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
7148 &Source, &Type, &Position, &DisplayName);
7149 return result;
7150}
7151
7152void Attachments::Remove(long Index)
7153{
7154 static BYTE parms[] =
7155 VTS_I4;
7156 InvokeHelper(0x54, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
7157 Index);
7158}
7159
7160
7161/////////////////////////////////////////////////////////////////////////////
7162// Attachment properties
7163
7164/////////////////////////////////////////////////////////////////////////////
7165// Attachment operations
7166
7167LPDISPATCH Attachment::GetApplication()
7168{
7169 LPDISPATCH result;
7170 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7171 return result;
7172}
7173
7174long Attachment::GetClass()
7175{
7176 long result;
7177 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7178 return result;
7179}
7180
7181LPDISPATCH Attachment::GetSession()
7182{
7183 LPDISPATCH result;
7184 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7185 return result;
7186}
7187
7188LPDISPATCH Attachment::GetParent()
7189{
7190 LPDISPATCH result;
7191 InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7192 return result;
7193}
7194
7195CString Attachment::GetDisplayName()
7196{
7197 CString result;
7198 InvokeHelper(0x3001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
7199 return result;
7200}
7201
7202void Attachment::SetDisplayName(LPCTSTR lpszNewValue)
7203{
7204 static BYTE parms[] =
7205 VTS_BSTR;
7206 InvokeHelper(0x3001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7207 lpszNewValue);
7208}
7209
7210CString Attachment::GetFileName()
7211{
7212 CString result;
7213 InvokeHelper(0x3704, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
7214 return result;
7215}
7216
7217long Attachment::GetIndex()
7218{
7219 long result;
7220 InvokeHelper(0x5b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7221 return result;
7222}
7223
7224CString Attachment::GetPathName()
7225{
7226 CString result;
7227 InvokeHelper(0x3708, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
7228 return result;
7229}
7230
7231long Attachment::GetPosition()
7232{
7233 long result;
7234 InvokeHelper(0x72, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7235 return result;
7236}
7237
7238void Attachment::SetPosition(long nNewValue)
7239{
7240 static BYTE parms[] =
7241 VTS_I4;
7242 InvokeHelper(0x72, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7243 nNewValue);
7244}
7245
7246long Attachment::GetType()
7247{
7248 long result;
7249 InvokeHelper(0x3705, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7250 return result;
7251}
7252
7253void Attachment::Delete()
7254{
7255 InvokeHelper(0x69, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
7256}
7257
7258void Attachment::SaveAsFile(LPCTSTR Path)
7259{
7260 static BYTE parms[] =
7261 VTS_BSTR;
7262 InvokeHelper(0x68, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
7263 Path);
7264}
7265
7266
7267/////////////////////////////////////////////////////////////////////////////
7268// FormDescription properties
7269
7270/////////////////////////////////////////////////////////////////////////////
7271// FormDescription operations
7272
7273LPDISPATCH FormDescription::GetApplication()
7274{
7275 LPDISPATCH result;
7276 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7277 return result;
7278}
7279
7280long FormDescription::GetClass()
7281{
7282 long result;
7283 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7284 return result;
7285}
7286
7287LPDISPATCH FormDescription::GetSession()
7288{
7289 LPDISPATCH result;
7290 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7291 return result;
7292}
7293
7294LPDISPATCH FormDescription::GetParent()
7295{
7296 LPDISPATCH result;
7297 InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7298 return result;
7299}
7300
7301CString FormDescription::GetCategory()
7302{
7303 CString result;
7304 InvokeHelper(0x3304, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
7305 return result;
7306}
7307
7308void FormDescription::SetCategory(LPCTSTR lpszNewValue)
7309{
7310 static BYTE parms[] =
7311 VTS_BSTR;
7312 InvokeHelper(0x3304, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7313 lpszNewValue);
7314}
7315
7316CString FormDescription::GetCategorySub()
7317{
7318 CString result;
7319 InvokeHelper(0x3305, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
7320 return result;
7321}
7322
7323void FormDescription::SetCategorySub(LPCTSTR lpszNewValue)
7324{
7325 static BYTE parms[] =
7326 VTS_BSTR;
7327 InvokeHelper(0x3305, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7328 lpszNewValue);
7329}
7330
7331CString FormDescription::GetComment()
7332{
7333 CString result;
7334 InvokeHelper(0x3004, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
7335 return result;
7336}
7337
7338void FormDescription::SetComment(LPCTSTR lpszNewValue)
7339{
7340 static BYTE parms[] =
7341 VTS_BSTR;
7342 InvokeHelper(0x3004, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7343 lpszNewValue);
7344}
7345
7346CString FormDescription::GetContactName()
7347{
7348 CString result;
7349 InvokeHelper(0x3303, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
7350 return result;
7351}
7352
7353void FormDescription::SetContactName(LPCTSTR lpszNewValue)
7354{
7355 static BYTE parms[] =
7356 VTS_BSTR;
7357 InvokeHelper(0x3303, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7358 lpszNewValue);
7359}
7360
7361CString FormDescription::GetDisplayName()
7362{
7363 CString result;
7364 InvokeHelper(0x3001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
7365 return result;
7366}
7367
7368void FormDescription::SetDisplayName(LPCTSTR lpszNewValue)
7369{
7370 static BYTE parms[] =
7371 VTS_BSTR;
7372 InvokeHelper(0x3001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7373 lpszNewValue);
7374}
7375
7376BOOL FormDescription::GetHidden()
7377{
7378 BOOL result;
7379 InvokeHelper(0x3307, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
7380 return result;
7381}
7382
7383void FormDescription::SetHidden(BOOL bNewValue)
7384{
7385 static BYTE parms[] =
7386 VTS_BOOL;
7387 InvokeHelper(0x3307, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7388 bNewValue);
7389}
7390
7391CString FormDescription::GetIcon()
7392{
7393 CString result;
7394 InvokeHelper(0xffd, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
7395 return result;
7396}
7397
7398void FormDescription::SetIcon(LPCTSTR lpszNewValue)
7399{
7400 static BYTE parms[] =
7401 VTS_BSTR;
7402 InvokeHelper(0xffd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7403 lpszNewValue);
7404}
7405
7406BOOL FormDescription::GetLocked()
7407{
7408 BOOL result;
7409 InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
7410 return result;
7411}
7412
7413void FormDescription::SetLocked(BOOL bNewValue)
7414{
7415 static BYTE parms[] =
7416 VTS_BOOL;
7417 InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7418 bNewValue);
7419}
7420
7421CString FormDescription::GetMessageClass()
7422{
7423 CString result;
7424 InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
7425 return result;
7426}
7427
7428CString FormDescription::GetMiniIcon()
7429{
7430 CString result;
7431 InvokeHelper(0xffc, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
7432 return result;
7433}
7434
7435void FormDescription::SetMiniIcon(LPCTSTR lpszNewValue)
7436{
7437 static BYTE parms[] =
7438 VTS_BSTR;
7439 InvokeHelper(0xffc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7440 lpszNewValue);
7441}
7442
7443CString FormDescription::GetName()
7444{
7445 CString result;
7446 InvokeHelper(0xf01d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
7447 return result;
7448}
7449
7450void FormDescription::SetName(LPCTSTR lpszNewValue)
7451{
7452 static BYTE parms[] =
7453 VTS_BSTR;
7454 InvokeHelper(0xf01d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7455 lpszNewValue);
7456}
7457
7458CString FormDescription::GetNumber()
7459{
7460 CString result;
7461 InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
7462 return result;
7463}
7464
7465void FormDescription::SetNumber(LPCTSTR lpszNewValue)
7466{
7467 static BYTE parms[] =
7468 VTS_BSTR;
7469 InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7470 lpszNewValue);
7471}
7472
7473BOOL FormDescription::GetOneOff()
7474{
7475 BOOL result;
7476 InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
7477 return result;
7478}
7479
7480void FormDescription::SetOneOff(BOOL bNewValue)
7481{
7482 static BYTE parms[] =
7483 VTS_BOOL;
7484 InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7485 bNewValue);
7486}
7487
7488CString FormDescription::GetPassword()
7489{
7490 CString result;
7491 InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
7492 return result;
7493}
7494
7495void FormDescription::SetPassword(LPCTSTR lpszNewValue)
7496{
7497 static BYTE parms[] =
7498 VTS_BSTR;
7499 InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7500 lpszNewValue);
7501}
7502
7503CString FormDescription::GetScriptText()
7504{
7505 CString result;
7506 InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
7507 return result;
7508}
7509
7510CString FormDescription::GetTemplate()
7511{
7512 CString result;
7513 InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
7514 return result;
7515}
7516
7517void FormDescription::SetTemplate(LPCTSTR lpszNewValue)
7518{
7519 static BYTE parms[] =
7520 VTS_BSTR;
7521 InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7522 lpszNewValue);
7523}
7524
7525BOOL FormDescription::GetUseWordMail()
7526{
7527 BOOL result;
7528 InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
7529 return result;
7530}
7531
7532void FormDescription::SetUseWordMail(BOOL bNewValue)
7533{
7534 static BYTE parms[] =
7535 VTS_BOOL;
7536 InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7537 bNewValue);
7538}
7539
7540CString FormDescription::GetVersion()
7541{
7542 CString result;
7543 InvokeHelper(0x3301, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
7544 return result;
7545}
7546
7547void FormDescription::SetVersion(LPCTSTR lpszNewValue)
7548{
7549 static BYTE parms[] =
7550 VTS_BSTR;
7551 InvokeHelper(0x3301, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7552 lpszNewValue);
7553}
7554
7555void FormDescription::PublishForm(long Registry, const VARIANT& Folder)
7556{
7557 static BYTE parms[] =
7558 VTS_I4 VTS_VARIANT;
7559 InvokeHelper(0x6b, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
7560 Registry, &Folder);
7561}
7562
7563
7564/////////////////////////////////////////////////////////////////////////////
7565// Recipients properties
7566
7567/////////////////////////////////////////////////////////////////////////////
7568// Recipients operations
7569
7570LPDISPATCH Recipients::GetApplication()
7571{
7572 LPDISPATCH result;
7573 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7574 return result;
7575}
7576
7577long Recipients::GetClass()
7578{
7579 long result;
7580 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7581 return result;
7582}
7583
7584LPDISPATCH Recipients::GetSession()
7585{
7586 LPDISPATCH result;
7587 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7588 return result;
7589}
7590
7591LPDISPATCH Recipients::GetParent()
7592{
7593 LPDISPATCH result;
7594 InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7595 return result;
7596}
7597
7598long Recipients::GetCount()
7599{
7600 long result;
7601 InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7602 return result;
7603}
7604
7605LPDISPATCH Recipients::Item(const VARIANT& Index)
7606{
7607 LPDISPATCH result;
7608 static BYTE parms[] =
7609 VTS_VARIANT;
7610 InvokeHelper(0x51, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
7611 &Index);
7612 return result;
7613}
7614
7615LPDISPATCH Recipients::Add(LPCTSTR Name)
7616{
7617 LPDISPATCH result;
7618 static BYTE parms[] =
7619 VTS_BSTR;
7620 InvokeHelper(0x6f, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
7621 Name);
7622 return result;
7623}
7624
7625void Recipients::Remove(long Index)
7626{
7627 static BYTE parms[] =
7628 VTS_I4;
7629 InvokeHelper(0x54, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
7630 Index);
7631}
7632
7633BOOL Recipients::ResolveAll()
7634{
7635 BOOL result;
7636 InvokeHelper(0x7e, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
7637 return result;
7638}
7639
7640
7641/////////////////////////////////////////////////////////////////////////////
7642// Links properties
7643
7644/////////////////////////////////////////////////////////////////////////////
7645// Links operations
7646
7647LPDISPATCH Links::GetApplication()
7648{
7649 LPDISPATCH result;
7650 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7651 return result;
7652}
7653
7654long Links::GetClass()
7655{
7656 long result;
7657 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7658 return result;
7659}
7660
7661LPDISPATCH Links::GetSession()
7662{
7663 LPDISPATCH result;
7664 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7665 return result;
7666}
7667
7668LPDISPATCH Links::GetParent()
7669{
7670 LPDISPATCH result;
7671 InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7672 return result;
7673}
7674
7675long Links::GetCount()
7676{
7677 long result;
7678 InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7679 return result;
7680}
7681
7682LPDISPATCH Links::Item(const VARIANT& Index)
7683{
7684 LPDISPATCH result;
7685 static BYTE parms[] =
7686 VTS_VARIANT;
7687 InvokeHelper(0x51, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
7688 &Index);
7689 return result;
7690}
7691
7692LPDISPATCH Links::Add(LPDISPATCH Item)
7693{
7694 LPDISPATCH result;
7695 static BYTE parms[] =
7696 VTS_DISPATCH;
7697 InvokeHelper(0x5f, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
7698 Item);
7699 return result;
7700}
7701
7702void Links::Remove(const VARIANT& Index)
7703{
7704 static BYTE parms[] =
7705 VTS_VARIANT;
7706 InvokeHelper(0x54, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
7707 &Index);
7708}
7709
7710
7711/////////////////////////////////////////////////////////////////////////////
7712// Link properties
7713
7714/////////////////////////////////////////////////////////////////////////////
7715// Link operations
7716
7717LPDISPATCH Link::GetApplication()
7718{
7719 LPDISPATCH result;
7720 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7721 return result;
7722}
7723
7724long Link::GetClass()
7725{
7726 long result;
7727 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7728 return result;
7729}
7730
7731LPDISPATCH Link::GetSession()
7732{
7733 LPDISPATCH result;
7734 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7735 return result;
7736}
7737
7738LPDISPATCH Link::GetParent()
7739{
7740 LPDISPATCH result;
7741 InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7742 return result;
7743}
7744
7745CString Link::GetName()
7746{
7747 CString result;
7748 InvokeHelper(0x3001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
7749 return result;
7750}
7751
7752long Link::GetType()
7753{
7754 long result;
7755 InvokeHelper(0x2101, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7756 return result;
7757}
7758
7759LPDISPATCH Link::GetItem()
7760{
7761 LPDISPATCH result;
7762 InvokeHelper(0x2102, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7763 return result;
7764}
7765
7766
7767/////////////////////////////////////////////////////////////////////////////
7768// RecurrencePattern properties
7769
7770/////////////////////////////////////////////////////////////////////////////
7771// RecurrencePattern operations
7772
7773LPDISPATCH RecurrencePattern::GetApplication()
7774{
7775 LPDISPATCH result;
7776 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7777 return result;
7778}
7779
7780long RecurrencePattern::GetClass()
7781{
7782 long result;
7783 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7784 return result;
7785}
7786
7787LPDISPATCH RecurrencePattern::GetSession()
7788{
7789 LPDISPATCH result;
7790 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7791 return result;
7792}
7793
7794LPDISPATCH RecurrencePattern::GetParent()
7795{
7796 LPDISPATCH result;
7797 InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7798 return result;
7799}
7800
7801long RecurrencePattern::GetDayOfMonth()
7802{
7803 long result;
7804 InvokeHelper(0x1000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7805 return result;
7806}
7807
7808void RecurrencePattern::SetDayOfMonth(long nNewValue)
7809{
7810 static BYTE parms[] =
7811 VTS_I4;
7812 InvokeHelper(0x1000, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7813 nNewValue);
7814}
7815
7816long RecurrencePattern::GetDayOfWeekMask()
7817{
7818 long result;
7819 InvokeHelper(0x1001, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7820 return result;
7821}
7822
7823void RecurrencePattern::SetDayOfWeekMask(long nNewValue)
7824{
7825 static BYTE parms[] =
7826 VTS_I4;
7827 InvokeHelper(0x1001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7828 nNewValue);
7829}
7830
7831long RecurrencePattern::GetDuration()
7832{
7833 long result;
7834 InvokeHelper(0x100d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7835 return result;
7836}
7837
7838void RecurrencePattern::SetDuration(long nNewValue)
7839{
7840 static BYTE parms[] =
7841 VTS_I4;
7842 InvokeHelper(0x100d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7843 nNewValue);
7844}
7845
7846DATE RecurrencePattern::GetEndTime()
7847{
7848 DATE result;
7849 InvokeHelper(0x100c, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
7850 return result;
7851}
7852
7853void RecurrencePattern::SetEndTime(DATE newValue)
7854{
7855 static BYTE parms[] =
7856 VTS_DATE;
7857 InvokeHelper(0x100c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7858 newValue);
7859}
7860
7861LPDISPATCH RecurrencePattern::GetExceptions()
7862{
7863 LPDISPATCH result;
7864 InvokeHelper(0x100e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
7865 return result;
7866}
7867
7868long RecurrencePattern::GetInstance()
7869{
7870 long result;
7871 InvokeHelper(0x1003, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7872 return result;
7873}
7874
7875void RecurrencePattern::SetInstance(long nNewValue)
7876{
7877 static BYTE parms[] =
7878 VTS_I4;
7879 InvokeHelper(0x1003, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7880 nNewValue);
7881}
7882
7883long RecurrencePattern::GetInterval()
7884{
7885 long result;
7886 InvokeHelper(0x1004, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7887 return result;
7888}
7889
7890void RecurrencePattern::SetInterval(long nNewValue)
7891{
7892 static BYTE parms[] =
7893 VTS_I4;
7894 InvokeHelper(0x1004, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7895 nNewValue);
7896}
7897
7898long RecurrencePattern::GetMonthOfYear()
7899{
7900 long result;
7901 InvokeHelper(0x1006, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7902 return result;
7903}
7904
7905void RecurrencePattern::SetMonthOfYear(long nNewValue)
7906{
7907 static BYTE parms[] =
7908 VTS_I4;
7909 InvokeHelper(0x1006, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7910 nNewValue);
7911}
7912
7913BOOL RecurrencePattern::GetNoEndDate()
7914{
7915 BOOL result;
7916 InvokeHelper(0x100b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
7917 return result;
7918}
7919
7920void RecurrencePattern::SetNoEndDate(BOOL bNewValue)
7921{
7922 static BYTE parms[] =
7923 VTS_BOOL;
7924 InvokeHelper(0x100b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7925 bNewValue);
7926}
7927
7928long RecurrencePattern::GetOccurrences()
7929{
7930 long result;
7931 InvokeHelper(0x1005, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7932 return result;
7933}
7934
7935void RecurrencePattern::SetOccurrences(long nNewValue)
7936{
7937 static BYTE parms[] =
7938 VTS_I4;
7939 InvokeHelper(0x1005, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7940 nNewValue);
7941}
7942
7943DATE RecurrencePattern::GetPatternEndDate()
7944{
7945 DATE result;
7946 InvokeHelper(0x1002, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
7947 return result;
7948}
7949
7950void RecurrencePattern::SetPatternEndDate(DATE newValue)
7951{
7952 static BYTE parms[] =
7953 VTS_DATE;
7954 InvokeHelper(0x1002, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7955 newValue);
7956}
7957
7958DATE RecurrencePattern::GetPatternStartDate()
7959{
7960 DATE result;
7961 InvokeHelper(0x1008, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
7962 return result;
7963}
7964
7965void RecurrencePattern::SetPatternStartDate(DATE newValue)
7966{
7967 static BYTE parms[] =
7968 VTS_DATE;
7969 InvokeHelper(0x1008, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7970 newValue);
7971}
7972
7973long RecurrencePattern::GetRecurrenceType()
7974{
7975 long result;
7976 InvokeHelper(0x1007, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
7977 return result;
7978}
7979
7980void RecurrencePattern::SetRecurrenceType(long nNewValue)
7981{
7982 static BYTE parms[] =
7983 VTS_I4;
7984 InvokeHelper(0x1007, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
7985 nNewValue);
7986}
7987
7988BOOL RecurrencePattern::GetRegenerate()
7989{
7990 BOOL result;
7991 InvokeHelper(0x100a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
7992 return result;
7993}
7994
7995void RecurrencePattern::SetRegenerate(BOOL bNewValue)
7996{
7997 static BYTE parms[] =
7998 VTS_BOOL;
7999 InvokeHelper(0x100a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
8000 bNewValue);
8001}
8002
8003DATE RecurrencePattern::GetStartTime()
8004{
8005 DATE result;
8006 InvokeHelper(0x1009, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
8007 return result;
8008}
8009
8010void RecurrencePattern::SetStartTime(DATE newValue)
8011{
8012 static BYTE parms[] =
8013 VTS_DATE;
8014 InvokeHelper(0x1009, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
8015 newValue);
8016}
8017
8018LPDISPATCH RecurrencePattern::GetOccurrence(DATE StartDate)
8019{
8020 LPDISPATCH result;
8021 static BYTE parms[] =
8022 VTS_DATE;
8023 InvokeHelper(0x100f, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
8024 StartDate);
8025 return result;
8026}
8027
8028
8029/////////////////////////////////////////////////////////////////////////////
8030// UserProperties properties
8031
8032/////////////////////////////////////////////////////////////////////////////
8033// UserProperties operations
8034
8035LPDISPATCH UserProperties::GetApplication()
8036{
8037 LPDISPATCH result;
8038 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
8039 return result;
8040}
8041
8042long UserProperties::GetClass()
8043{
8044 long result;
8045 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
8046 return result;
8047}
8048
8049LPDISPATCH UserProperties::GetSession()
8050{
8051 LPDISPATCH result;
8052 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
8053 return result;
8054}
8055
8056LPDISPATCH UserProperties::GetParent()
8057{
8058 LPDISPATCH result;
8059 InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
8060 return result;
8061}
8062
8063long UserProperties::GetCount()
8064{
8065 long result;
8066 InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
8067 return result;
8068}
8069
8070LPDISPATCH UserProperties::Item(const VARIANT& Index)
8071{
8072 LPDISPATCH result;
8073 static BYTE parms[] =
8074 VTS_VARIANT;
8075 InvokeHelper(0x51, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
8076 &Index);
8077 return result;
8078}
8079
8080LPDISPATCH UserProperties::Add(LPCTSTR Name, long Type, const VARIANT& AddToFolderFields, const VARIANT& DisplayFormat)
8081{
8082 LPDISPATCH result;
8083 static BYTE parms[] =
8084 VTS_BSTR VTS_I4 VTS_VARIANT VTS_VARIANT;
8085 InvokeHelper(0x66, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
8086 Name, Type, &AddToFolderFields, &DisplayFormat);
8087 return result;
8088}
8089
8090LPDISPATCH UserProperties::Find(LPCTSTR Name, const VARIANT& Custom)
8091{
8092 LPDISPATCH result;
8093 static BYTE parms[] =
8094 VTS_BSTR VTS_VARIANT;
8095 InvokeHelper(0x67, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
8096 Name, &Custom);
8097 return result;
8098}
8099
8100void UserProperties::Remove(long Index)
8101{
8102 static BYTE parms[] =
8103 VTS_I4;
8104 InvokeHelper(0x52, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
8105 Index);
8106}
8107
8108
8109/////////////////////////////////////////////////////////////////////////////
8110// Exceptions properties
8111
8112/////////////////////////////////////////////////////////////////////////////
8113// Exceptions operations
8114
8115LPDISPATCH Exceptions::GetApplication()
8116{
8117 LPDISPATCH result;
8118 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
8119 return result;
8120}
8121
8122long Exceptions::GetClass()
8123{
8124 long result;
8125 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
8126 return result;
8127}
8128
8129LPDISPATCH Exceptions::GetSession()
8130{
8131 LPDISPATCH result;
8132 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
8133 return result;
8134}
8135
8136LPDISPATCH Exceptions::GetParent()
8137{
8138 LPDISPATCH result;
8139 InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
8140 return result;
8141}
8142
8143long Exceptions::GetCount()
8144{
8145 long result;
8146 InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
8147 return result;
8148}
8149
8150LPDISPATCH Exceptions::Item(const VARIANT& Index)
8151{
8152 LPDISPATCH result;
8153 static BYTE parms[] =
8154 VTS_VARIANT;
8155 InvokeHelper(0x51, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
8156 &Index);
8157 return result;
8158}
8159
8160
8161/////////////////////////////////////////////////////////////////////////////
8162// Exception properties
8163
8164/////////////////////////////////////////////////////////////////////////////
8165// Exception operations
8166
8167LPDISPATCH Exception::GetApplication()
8168{
8169 LPDISPATCH result;
8170 InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
8171 return result;
8172}
8173
8174long Exception::GetClass()
8175{
8176 long result;
8177 InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
8178 return result;
8179}
8180
8181LPDISPATCH Exception::GetSession()
8182{
8183 LPDISPATCH result;
8184 InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
8185 return result;
8186}
8187
8188LPDISPATCH Exception::GetParent()
8189{
8190 LPDISPATCH result;
8191 InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
8192 return result;
8193}
8194
8195LPDISPATCH Exception::GetAppointmentItem()
8196{
8197 LPDISPATCH result;
8198 InvokeHelper(0x2001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
8199 return result;
8200}
8201
8202BOOL Exception::GetDeleted()
8203{
8204 BOOL result;
8205 InvokeHelper(0x2002, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
8206 return result;
8207}
8208
8209DATE Exception::GetOriginalDate()
8210{
8211 DATE result;
8212 InvokeHelper(0x2000, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
8213 return result;
8214}
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 @@
1/*
2 Copyright 2001 Justin Kirby
3 This file is part of Outport.
4
5 Outport is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9
10 Outport is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with olexp; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
19*/
20// Machine generated IDispatch wrapper class(es) created with ClassWizard
21/////////////////////////////////////////////////////////////////////////////
22// _Application wrapper class
23#ifndef OLEXP_MSOUTL_H
24#define OLEXP_MSOUTL_H
25
26class _Application : public COleDispatchDriver
27{
28public:
29 _Application() {} // Calls COleDispatchDriver default constructor
30 _Application(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
31 _Application(const _Application& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
32
33// Attributes
34public:
35
36// Operations
37public:
38 LPDISPATCH GetApplication();
39 long GetClass();
40 LPDISPATCH GetSession();
41 LPDISPATCH GetParent();
42 LPDISPATCH GetAssistant();
43 CString GetName();
44 CString GetVersion();
45 LPDISPATCH ActiveExplorer();
46 LPDISPATCH ActiveInspector();
47 LPDISPATCH CreateItem(long ItemType);
48 LPDISPATCH CreateItemFromTemplate(LPCTSTR TemplatePath, const VARIANT& InFolder);
49 LPDISPATCH CreateObject(LPCTSTR ObjectName);
50 LPDISPATCH GetNamespace(LPCTSTR Type);
51 void Quit();
52 LPDISPATCH GetCOMAddIns();
53 LPDISPATCH GetExplorers();
54 LPDISPATCH GetInspectors();
55 LPDISPATCH GetLanguageSettings();
56 CString GetProductCode();
57 LPDISPATCH GetAnswerWizard();
58 LPDISPATCH ActiveWindow();
59};
60/////////////////////////////////////////////////////////////////////////////
61// _Folders wrapper class
62
63class _Folders : public COleDispatchDriver
64{
65public:
66 _Folders() {} // Calls COleDispatchDriver default constructor
67 _Folders(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
68 _Folders(const _Folders& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
69
70// Attributes
71public:
72
73// Operations
74public:
75 LPDISPATCH GetApplication();
76 long GetClass();
77 LPDISPATCH GetSession();
78 LPDISPATCH GetParent();
79 long GetCount();
80 LPDISPATCH Item(const VARIANT& Index);
81 LPDISPATCH Add(LPCTSTR Name, const VARIANT& Type);
82 LPDISPATCH GetFirst();
83 LPDISPATCH GetLast();
84 LPDISPATCH GetNext();
85 LPDISPATCH GetPrevious();
86 void Remove(long Index);
87};
88/////////////////////////////////////////////////////////////////////////////
89// MAPIFolder wrapper class
90
91class MAPIFolder : public COleDispatchDriver
92{
93public:
94 MAPIFolder() {} // Calls COleDispatchDriver default constructor
95 MAPIFolder(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
96 MAPIFolder(const MAPIFolder& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
97
98// Attributes
99public:
100
101// Operations
102public:
103 LPDISPATCH GetApplication();
104 long GetClass();
105 LPDISPATCH GetSession();
106 LPDISPATCH GetParent();
107 long GetDefaultItemType();
108 CString GetDefaultMessageClass();
109 CString GetDescription();
110 void SetDescription(LPCTSTR lpszNewValue);
111 CString GetEntryID();
112 LPDISPATCH GetFolders();
113 LPDISPATCH GetItems();
114 CString GetName();
115 void SetName(LPCTSTR lpszNewValue);
116 CString GetStoreID();
117 long GetUnReadItemCount();
118 LPDISPATCH CopyTo(LPDISPATCH DestinationFolder);
119 void Delete();
120 void Display();
121 LPDISPATCH GetExplorer(const VARIANT& DisplayMode);
122 void MoveTo(LPDISPATCH DestinationFolder);
123 BOOL GetWebViewOn();
124 void SetWebViewOn(BOOL bNewValue);
125 CString GetWebViewURL();
126 void SetWebViewURL(LPCTSTR lpszNewValue);
127 BOOL GetWebViewAllowNavigation();
128 void SetWebViewAllowNavigation(BOOL bNewValue);
129};
130/////////////////////////////////////////////////////////////////////////////
131// _NameSpace wrapper class
132
133class _NameSpace : public COleDispatchDriver
134{
135public:
136 _NameSpace() {} // Calls COleDispatchDriver default constructor
137 _NameSpace(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
138 _NameSpace(const _NameSpace& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
139
140// Attributes
141public:
142
143// Operations
144public:
145 LPDISPATCH GetApplication();
146 long GetClass();
147 LPDISPATCH GetSession();
148 LPDISPATCH GetParent();
149 LPDISPATCH GetCurrentUser();
150 LPDISPATCH GetFolders();
151 CString GetType();
152 LPDISPATCH GetAddressLists();
153 LPDISPATCH CreateRecipient(LPCTSTR RecipientName);
154 LPDISPATCH GetDefaultFolder(long FolderType);
155 LPDISPATCH GetFolderFromID(LPCTSTR EntryIDFolder, const VARIANT& EntryIDStore);
156 LPDISPATCH GetItemFromID(LPCTSTR EntryIDItem, const VARIANT& EntryIDStore);
157 LPDISPATCH GetRecipientFromID(LPCTSTR EntryID);
158 LPDISPATCH GetSharedDefaultFolder(LPDISPATCH Recipient, long FolderType);
159 void Logoff();
160 void Logon(const VARIANT& Profile, const VARIANT& Password, const VARIANT& ShowDialog, const VARIANT& NewSession);
161 LPDISPATCH PickFolder();
162 LPDISPATCH GetSyncObjects();
163 void AddStore(const VARIANT& Store);
164};
165/////////////////////////////////////////////////////////////////////////////
166// _Items wrapper class
167
168class _Items : public COleDispatchDriver
169{
170public:
171 _Items() {} // Calls COleDispatchDriver default constructor
172 _Items(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
173 _Items(const _Items& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
174
175// Attributes
176public:
177
178// Operations
179public:
180 LPDISPATCH GetApplication();
181 long GetClass();
182 LPDISPATCH GetSession();
183 LPDISPATCH GetParent();
184 long GetCount();
185 LPDISPATCH Item(const VARIANT& Index);
186 BOOL GetIncludeRecurrences();
187 void SetIncludeRecurrences(BOOL bNewValue);
188 LPDISPATCH Add(const VARIANT& Type);
189 LPDISPATCH Find(LPCTSTR Filter);
190 LPDISPATCH FindNext();
191 LPDISPATCH GetFirst();
192 LPDISPATCH GetLast();
193 LPDISPATCH GetNext();
194 LPDISPATCH GetPrevious();
195 void Remove(long Index);
196 void ResetColumns();
197 LPDISPATCH Restrict(LPCTSTR Filter);
198 void SetColumns(LPCTSTR Columns);
199 void Sort(LPCTSTR Property_, const VARIANT& Descending);
200};
201/////////////////////////////////////////////////////////////////////////////
202// _TaskItem wrapper class
203
204class _TaskItem : public COleDispatchDriver
205{
206public:
207 _TaskItem() {} // Calls COleDispatchDriver default constructor
208 _TaskItem(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
209 _TaskItem(const _TaskItem& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
210
211// Attributes
212public:
213
214// Operations
215public:
216 LPDISPATCH GetApplication();
217 long GetClass();
218 LPDISPATCH GetSession();
219 LPDISPATCH GetParent();
220 LPDISPATCH GetActions();
221 LPDISPATCH GetAttachments();
222 CString GetBillingInformation();
223 void SetBillingInformation(LPCTSTR lpszNewValue);
224 CString GetBody();
225 void SetBody(LPCTSTR lpszNewValue);
226 CString GetCategories();
227 void SetCategories(LPCTSTR lpszNewValue);
228 CString GetCompanies();
229 void SetCompanies(LPCTSTR lpszNewValue);
230 CString GetConversationIndex();
231 CString GetConversationTopic();
232 DATE GetCreationTime();
233 CString GetEntryID();
234 LPDISPATCH GetFormDescription();
235 LPDISPATCH GetGetInspector();
236 long GetImportance();
237 void SetImportance(long nNewValue);
238 DATE GetLastModificationTime();
239 CString GetMessageClass();
240 void SetMessageClass(LPCTSTR lpszNewValue);
241 CString GetMileage();
242 void SetMileage(LPCTSTR lpszNewValue);
243 BOOL GetNoAging();
244 void SetNoAging(BOOL bNewValue);
245 long GetOutlookInternalVersion();
246 CString GetOutlookVersion();
247 BOOL GetSaved();
248 long GetSensitivity();
249 void SetSensitivity(long nNewValue);
250 long GetSize();
251 CString GetSubject();
252 void SetSubject(LPCTSTR lpszNewValue);
253 BOOL GetUnRead();
254 void SetUnRead(BOOL bNewValue);
255 LPDISPATCH GetUserProperties();
256 void Close(long SaveMode);
257 LPDISPATCH Copy();
258 void Delete();
259 void Display(const VARIANT& Modal);
260 LPDISPATCH Move(LPDISPATCH DestFldr);
261 void PrintOut();
262 void Save();
263 void SaveAs(LPCTSTR Path, const VARIANT& Type);
264 long GetActualWork();
265 void SetActualWork(long nNewValue);
266 CString GetCardData();
267 void SetCardData(LPCTSTR lpszNewValue);
268 BOOL GetComplete();
269 void SetComplete(BOOL bNewValue);
270 CString GetContacts();
271 void SetContacts(LPCTSTR lpszNewValue);
272 CString GetContactNames();
273 void SetContactNames(LPCTSTR lpszNewValue);
274 DATE GetDateCompleted();
275 void SetDateCompleted(DATE newValue);
276 long GetDelegationState();
277 CString GetDelegator();
278 DATE GetDueDate();
279 void SetDueDate(DATE newValue);
280 BOOL GetIsRecurring();
281 long GetOrdinal();
282 void SetOrdinal(long nNewValue);
283 CString GetOwner();
284 void SetOwner(LPCTSTR lpszNewValue);
285 long GetOwnership();
286 long GetPercentComplete();
287 void SetPercentComplete(long nNewValue);
288 LPDISPATCH GetRecipients();
289 DATE GetReminderTime();
290 void SetReminderTime(DATE newValue);
291 BOOL GetReminderOverrideDefault();
292 void SetReminderOverrideDefault(BOOL bNewValue);
293 BOOL GetReminderPlaySound();
294 void SetReminderPlaySound(BOOL bNewValue);
295 BOOL GetReminderSet();
296 void SetReminderSet(BOOL bNewValue);
297 CString GetReminderSoundFile();
298 void SetReminderSoundFile(LPCTSTR lpszNewValue);
299 long GetResponseState();
300 CString GetRole();
301 void SetRole(LPCTSTR lpszNewValue);
302 CString GetSchedulePlusPriority();
303 void SetSchedulePlusPriority(LPCTSTR lpszNewValue);
304 DATE GetStartDate();
305 void SetStartDate(DATE newValue);
306 long GetStatus();
307 void SetStatus(long nNewValue);
308 CString GetStatusOnCompletionRecipients();
309 void SetStatusOnCompletionRecipients(LPCTSTR lpszNewValue);
310 CString GetStatusUpdateRecipients();
311 void SetStatusUpdateRecipients(LPCTSTR lpszNewValue);
312 BOOL GetTeamTask();
313 void SetTeamTask(BOOL bNewValue);
314 long GetTotalWork();
315 void SetTotalWork(long nNewValue);
316 LPDISPATCH Assign();
317 void CancelResponseState();
318 void ClearRecurrencePattern();
319 LPDISPATCH GetRecurrencePattern();
320 void MarkComplete();
321 LPDISPATCH Respond(long Response, const VARIANT& fNoUI, const VARIANT& fAdditionalTextDialog);
322 void Send();
323 BOOL SkipRecurrence();
324 LPDISPATCH StatusReport();
325 LPDISPATCH GetLinks();
326};
327/////////////////////////////////////////////////////////////////////////////
328// _AppointmentItem wrapper class
329
330class _AppointmentItem : public COleDispatchDriver
331{
332public:
333 _AppointmentItem() {} // Calls COleDispatchDriver default constructor
334 _AppointmentItem(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
335 _AppointmentItem(const _AppointmentItem& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
336
337// Attributes
338public:
339
340// Operations
341public:
342 LPDISPATCH GetApplication();
343 long GetClass();
344 LPDISPATCH GetSession();
345 LPDISPATCH GetParent();
346 LPDISPATCH GetActions();
347 LPDISPATCH GetAttachments();
348 CString GetBillingInformation();
349 void SetBillingInformation(LPCTSTR lpszNewValue);
350 CString GetBody();
351 void SetBody(LPCTSTR lpszNewValue);
352 CString GetCategories();
353 void SetCategories(LPCTSTR lpszNewValue);
354 CString GetCompanies();
355 void SetCompanies(LPCTSTR lpszNewValue);
356 CString GetConversationIndex();
357 CString GetConversationTopic();
358 DATE GetCreationTime();
359 CString GetEntryID();
360 LPDISPATCH GetFormDescription();
361 LPDISPATCH GetGetInspector();
362 long GetImportance();
363 void SetImportance(long nNewValue);
364 DATE GetLastModificationTime();
365 CString GetMessageClass();
366 void SetMessageClass(LPCTSTR lpszNewValue);
367 CString GetMileage();
368 void SetMileage(LPCTSTR lpszNewValue);
369 BOOL GetNoAging();
370 void SetNoAging(BOOL bNewValue);
371 long GetOutlookInternalVersion();
372 CString GetOutlookVersion();
373 BOOL GetSaved();
374 long GetSensitivity();
375 void SetSensitivity(long nNewValue);
376 long GetSize();
377 CString GetSubject();
378 void SetSubject(LPCTSTR lpszNewValue);
379 BOOL GetUnRead();
380 void SetUnRead(BOOL bNewValue);
381 LPDISPATCH GetUserProperties();
382 void Close(long SaveMode);
383 LPDISPATCH Copy();
384 void Delete();
385 void Display(const VARIANT& Modal);
386 LPDISPATCH Move(LPDISPATCH DestFldr);
387 void PrintOut();
388 void Save();
389 void SaveAs(LPCTSTR Path, const VARIANT& Type);
390 BOOL GetAllDayEvent();
391 void SetAllDayEvent(BOOL bNewValue);
392 long GetBusyStatus();
393 void SetBusyStatus(long nNewValue);
394 long GetDuration();
395 void SetDuration(long nNewValue);
396 DATE GetEnd();
397 void SetEnd(DATE newValue);
398 BOOL GetIsOnlineMeeting();
399 void SetIsOnlineMeeting(BOOL bNewValue);
400 BOOL GetIsRecurring();
401 CString GetLocation();
402 void SetLocation(LPCTSTR lpszNewValue);
403 long GetMeetingStatus();
404 void SetMeetingStatus(long nNewValue);
405 BOOL GetNetMeetingAutoStart();
406 void SetNetMeetingAutoStart(BOOL bNewValue);
407 CString GetNetMeetingOrganizerAlias();
408 void SetNetMeetingOrganizerAlias(LPCTSTR lpszNewValue);
409 CString GetNetMeetingServer();
410 void SetNetMeetingServer(LPCTSTR lpszNewValue);
411 long GetNetMeetingType();
412 void SetNetMeetingType(long nNewValue);
413 CString GetOptionalAttendees();
414 void SetOptionalAttendees(LPCTSTR lpszNewValue);
415 CString GetOrganizer();
416 LPDISPATCH GetRecipients();
417 long GetRecurrenceState();
418 long GetReminderMinutesBeforeStart();
419 void SetReminderMinutesBeforeStart(long nNewValue);
420 BOOL GetReminderOverrideDefault();
421 void SetReminderOverrideDefault(BOOL bNewValue);
422 BOOL GetReminderPlaySound();
423 void SetReminderPlaySound(BOOL bNewValue);
424 BOOL GetReminderSet();
425 void SetReminderSet(BOOL bNewValue);
426 CString GetReminderSoundFile();
427 void SetReminderSoundFile(LPCTSTR lpszNewValue);
428 DATE GetReplyTime();
429 void SetReplyTime(DATE newValue);
430 CString GetRequiredAttendees();
431 void SetRequiredAttendees(LPCTSTR lpszNewValue);
432 CString GetResources();
433 void SetResources(LPCTSTR lpszNewValue);
434 BOOL GetResponseRequested();
435 void SetResponseRequested(BOOL bNewValue);
436 long GetResponseStatus();
437 DATE GetStart();
438 void SetStart(DATE newValue);
439 void ClearRecurrencePattern();
440 LPDISPATCH ForwardAsVcal();
441 LPDISPATCH GetRecurrencePattern();
442 LPDISPATCH Respond(long Response, const VARIANT& fNoUI, const VARIANT& fAdditionalTextDialog);
443 void Send();
444 CString GetNetMeetingDocPathName();
445 void SetNetMeetingDocPathName(LPCTSTR lpszNewValue);
446 CString GetNetShowURL();
447 void SetNetShowURL(LPCTSTR lpszNewValue);
448 LPDISPATCH GetLinks();
449 BOOL GetConferenceServerAllowExternal();
450 void SetConferenceServerAllowExternal(BOOL bNewValue);
451 CString GetConferenceServerPassword();
452 void SetConferenceServerPassword(LPCTSTR lpszNewValue);
453};
454/////////////////////////////////////////////////////////////////////////////
455// _MailItem wrapper class
456
457class _MailItem : public COleDispatchDriver
458{
459public:
460 _MailItem() {} // Calls COleDispatchDriver default constructor
461 _MailItem(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
462 _MailItem(const _MailItem& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
463
464// Attributes
465public:
466
467// Operations
468public:
469 LPDISPATCH GetApplication();
470 long GetClass();
471 LPDISPATCH GetSession();
472 LPDISPATCH GetParent();
473 LPDISPATCH GetActions();
474 LPDISPATCH GetAttachments();
475 CString GetBillingInformation();
476 void SetBillingInformation(LPCTSTR lpszNewValue);
477 CString GetBody();
478 void SetBody(LPCTSTR lpszNewValue);
479 CString GetCategories();
480 void SetCategories(LPCTSTR lpszNewValue);
481 CString GetCompanies();
482 void SetCompanies(LPCTSTR lpszNewValue);
483 CString GetConversationIndex();
484 CString GetConversationTopic();
485 DATE GetCreationTime();
486 CString GetEntryID();
487 LPDISPATCH GetFormDescription();
488 LPDISPATCH GetGetInspector();
489 long GetImportance();
490 void SetImportance(long nNewValue);
491 DATE GetLastModificationTime();
492 CString GetMessageClass();
493 void SetMessageClass(LPCTSTR lpszNewValue);
494 CString GetMileage();
495 void SetMileage(LPCTSTR lpszNewValue);
496 BOOL GetNoAging();
497 void SetNoAging(BOOL bNewValue);
498 long GetOutlookInternalVersion();
499 CString GetOutlookVersion();
500 BOOL GetSaved();
501 long GetSensitivity();
502 void SetSensitivity(long nNewValue);
503 long GetSize();
504 CString GetSubject();
505 void SetSubject(LPCTSTR lpszNewValue);
506 BOOL GetUnRead();
507 void SetUnRead(BOOL bNewValue);
508 LPDISPATCH GetUserProperties();
509 void Close(long SaveMode);
510 LPDISPATCH Copy();
511 void Delete();
512 void Display(const VARIANT& Modal);
513 LPDISPATCH Move(LPDISPATCH DestFldr);
514 void PrintOut();
515 void Save();
516 void SaveAs(LPCTSTR Path, const VARIANT& Type);
517 BOOL GetAlternateRecipientAllowed();
518 void SetAlternateRecipientAllowed(BOOL bNewValue);
519 BOOL GetAutoForwarded();
520 void SetAutoForwarded(BOOL bNewValue);
521 CString GetBcc();
522 void SetBcc(LPCTSTR lpszNewValue);
523 CString GetCc();
524 void SetCc(LPCTSTR lpszNewValue);
525 DATE GetDeferredDeliveryTime();
526 void SetDeferredDeliveryTime(DATE newValue);
527 BOOL GetDeleteAfterSubmit();
528 void SetDeleteAfterSubmit(BOOL bNewValue);
529 DATE GetExpiryTime();
530 void SetExpiryTime(DATE newValue);
531 DATE GetFlagDueBy();
532 void SetFlagDueBy(DATE newValue);
533 CString GetFlagRequest();
534 void SetFlagRequest(LPCTSTR lpszNewValue);
535 long GetFlagStatus();
536 void SetFlagStatus(long nNewValue);
537 CString GetHTMLBody();
538 void SetHTMLBody(LPCTSTR lpszNewValue);
539 BOOL GetOriginatorDeliveryReportRequested();
540 void SetOriginatorDeliveryReportRequested(BOOL bNewValue);
541 BOOL GetReadReceiptRequested();
542 void SetReadReceiptRequested(BOOL bNewValue);
543 CString GetReceivedByEntryID();
544 CString GetReceivedByName();
545 CString GetReceivedOnBehalfOfEntryID();
546 CString GetReceivedOnBehalfOfName();
547 DATE GetReceivedTime();
548 BOOL GetRecipientReassignmentProhibited();
549 void SetRecipientReassignmentProhibited(BOOL bNewValue);
550 LPDISPATCH GetRecipients();
551 BOOL GetReminderOverrideDefault();
552 void SetReminderOverrideDefault(BOOL bNewValue);
553 BOOL GetReminderPlaySound();
554 void SetReminderPlaySound(BOOL bNewValue);
555 BOOL GetReminderSet();
556 void SetReminderSet(BOOL bNewValue);
557 CString GetReminderSoundFile();
558 void SetReminderSoundFile(LPCTSTR lpszNewValue);
559 DATE GetReminderTime();
560 void SetReminderTime(DATE newValue);
561 long GetRemoteStatus();
562 void SetRemoteStatus(long nNewValue);
563 CString GetReplyRecipientNames();
564 LPDISPATCH GetReplyRecipients();
565 LPDISPATCH GetSaveSentMessageFolder();
566 void SetRefSaveSentMessageFolder(LPDISPATCH newValue);
567 CString GetSenderName();
568 BOOL GetSent();
569 DATE GetSentOn();
570 CString GetSentOnBehalfOfName();
571 void SetSentOnBehalfOfName(LPCTSTR lpszNewValue);
572 BOOL GetSubmitted();
573 CString GetTo();
574 void SetTo(LPCTSTR lpszNewValue);
575 CString GetVotingOptions();
576 void SetVotingOptions(LPCTSTR lpszNewValue);
577 CString GetVotingResponse();
578 void SetVotingResponse(LPCTSTR lpszNewValue);
579 void ClearConversationIndex();
580 LPDISPATCH Forward();
581 LPDISPATCH Reply();
582 LPDISPATCH ReplyAll();
583 void Send();
584 LPDISPATCH GetLinks();
585};
586/////////////////////////////////////////////////////////////////////////////
587// _ContactItem wrapper class
588
589class _ContactItem : public COleDispatchDriver
590{
591public:
592 _ContactItem() {} // Calls COleDispatchDriver default constructor
593 _ContactItem(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
594 _ContactItem(const _ContactItem& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
595
596// Attributes
597public:
598
599// Operations
600public:
601 LPDISPATCH GetApplication();
602 long GetClass();
603 LPDISPATCH GetSession();
604 LPDISPATCH GetParent();
605 LPDISPATCH GetActions();
606 LPDISPATCH GetAttachments();
607 CString GetBillingInformation();
608 void SetBillingInformation(LPCTSTR lpszNewValue);
609 CString GetBody();
610 void SetBody(LPCTSTR lpszNewValue);
611 CString GetCategories();
612 void SetCategories(LPCTSTR lpszNewValue);
613 CString GetCompanies();
614 void SetCompanies(LPCTSTR lpszNewValue);
615 CString GetConversationIndex();
616 CString GetConversationTopic();
617 DATE GetCreationTime();
618 CString GetEntryID();
619 LPDISPATCH GetFormDescription();
620 LPDISPATCH GetGetInspector();
621 long GetImportance();
622 void SetImportance(long nNewValue);
623 DATE GetLastModificationTime();
624 CString GetMessageClass();
625 void SetMessageClass(LPCTSTR lpszNewValue);
626 CString GetMileage();
627 void SetMileage(LPCTSTR lpszNewValue);
628 BOOL GetNoAging();
629 void SetNoAging(BOOL bNewValue);
630 long GetOutlookInternalVersion();
631 CString GetOutlookVersion();
632 BOOL GetSaved();
633 long GetSensitivity();
634 void SetSensitivity(long nNewValue);
635 long GetSize();
636 CString GetSubject();
637 void SetSubject(LPCTSTR lpszNewValue);
638 BOOL GetUnRead();
639 void SetUnRead(BOOL bNewValue);
640 LPDISPATCH GetUserProperties();
641 void Close(long SaveMode);
642 LPDISPATCH Copy();
643 void Delete();
644 void Display(const VARIANT& Modal);
645 LPDISPATCH Move(LPDISPATCH DestFldr);
646 void PrintOut();
647 void Save();
648 void SaveAs(LPCTSTR Path, const VARIANT& Type);
649 CString GetAccount();
650 void SetAccount(LPCTSTR lpszNewValue);
651 DATE GetAnniversary();
652 void SetAnniversary(DATE newValue);
653 CString GetAssistantName();
654 void SetAssistantName(LPCTSTR lpszNewValue);
655 CString GetAssistantTelephoneNumber();
656 void SetAssistantTelephoneNumber(LPCTSTR lpszNewValue);
657 DATE GetBirthday();
658 void SetBirthday(DATE newValue);
659 CString GetBusiness2TelephoneNumber();
660 void SetBusiness2TelephoneNumber(LPCTSTR lpszNewValue);
661 CString GetBusinessAddress();
662 void SetBusinessAddress(LPCTSTR lpszNewValue);
663 CString GetBusinessAddressCity();
664 void SetBusinessAddressCity(LPCTSTR lpszNewValue);
665 CString GetBusinessAddressCountry();
666 void SetBusinessAddressCountry(LPCTSTR lpszNewValue);
667 CString GetBusinessAddressPostalCode();
668 void SetBusinessAddressPostalCode(LPCTSTR lpszNewValue);
669 CString GetBusinessAddressPostOfficeBox();
670 void SetBusinessAddressPostOfficeBox(LPCTSTR lpszNewValue);
671 CString GetBusinessAddressState();
672 void SetBusinessAddressState(LPCTSTR lpszNewValue);
673 CString GetBusinessAddressStreet();
674 void SetBusinessAddressStreet(LPCTSTR lpszNewValue);
675 CString GetBusinessFaxNumber();
676 void SetBusinessFaxNumber(LPCTSTR lpszNewValue);
677 CString GetBusinessHomePage();
678 void SetBusinessHomePage(LPCTSTR lpszNewValue);
679 CString GetBusinessTelephoneNumber();
680 void SetBusinessTelephoneNumber(LPCTSTR lpszNewValue);
681 CString GetCallbackTelephoneNumber();
682 void SetCallbackTelephoneNumber(LPCTSTR lpszNewValue);
683 CString GetCarTelephoneNumber();
684 void SetCarTelephoneNumber(LPCTSTR lpszNewValue);
685 CString GetChildren();
686 void SetChildren(LPCTSTR lpszNewValue);
687 CString GetCompanyAndFullName();
688 CString GetCompanyLastFirstNoSpace();
689 CString GetCompanyLastFirstSpaceOnly();
690 CString GetCompanyMainTelephoneNumber();
691 void SetCompanyMainTelephoneNumber(LPCTSTR lpszNewValue);
692 CString GetCompanyName();
693 void SetCompanyName(LPCTSTR lpszNewValue);
694 CString GetComputerNetworkName();
695 void SetComputerNetworkName(LPCTSTR lpszNewValue);
696 CString GetCustomerID();
697 void SetCustomerID(LPCTSTR lpszNewValue);
698 CString GetDepartment();
699 void SetDepartment(LPCTSTR lpszNewValue);
700 CString GetEmail1Address();
701 void SetEmail1Address(LPCTSTR lpszNewValue);
702 CString GetEmail1AddressType();
703 void SetEmail1AddressType(LPCTSTR lpszNewValue);
704 CString GetEmail1DisplayName();
705 CString GetEmail1EntryID();
706 CString GetEmail2Address();
707 void SetEmail2Address(LPCTSTR lpszNewValue);
708 CString GetEmail2AddressType();
709 void SetEmail2AddressType(LPCTSTR lpszNewValue);
710 CString GetEmail2DisplayName();
711 CString GetEmail2EntryID();
712 CString GetEmail3Address();
713 void SetEmail3Address(LPCTSTR lpszNewValue);
714 CString GetEmail3AddressType();
715 void SetEmail3AddressType(LPCTSTR lpszNewValue);
716 CString GetEmail3DisplayName();
717 CString GetEmail3EntryID();
718 CString GetFileAs();
719 void SetFileAs(LPCTSTR lpszNewValue);
720 CString GetFirstName();
721 void SetFirstName(LPCTSTR lpszNewValue);
722 CString GetFTPSite();
723 void SetFTPSite(LPCTSTR lpszNewValue);
724 CString GetFullName();
725 void SetFullName(LPCTSTR lpszNewValue);
726 CString GetFullNameAndCompany();
727 long GetGender();
728 void SetGender(long nNewValue);
729 CString GetGovernmentIDNumber();
730 void SetGovernmentIDNumber(LPCTSTR lpszNewValue);
731 CString GetHobby();
732 void SetHobby(LPCTSTR lpszNewValue);
733 CString GetHome2TelephoneNumber();
734 void SetHome2TelephoneNumber(LPCTSTR lpszNewValue);
735 CString GetHomeAddress();
736 void SetHomeAddress(LPCTSTR lpszNewValue);
737 CString GetHomeAddressCity();
738 void SetHomeAddressCity(LPCTSTR lpszNewValue);
739 CString GetHomeAddressCountry();
740 void SetHomeAddressCountry(LPCTSTR lpszNewValue);
741 CString GetHomeAddressPostalCode();
742 void SetHomeAddressPostalCode(LPCTSTR lpszNewValue);
743 CString GetHomeAddressPostOfficeBox();
744 void SetHomeAddressPostOfficeBox(LPCTSTR lpszNewValue);
745 CString GetHomeAddressState();
746 void SetHomeAddressState(LPCTSTR lpszNewValue);
747 CString GetHomeAddressStreet();
748 void SetHomeAddressStreet(LPCTSTR lpszNewValue);
749 CString GetHomeFaxNumber();
750 void SetHomeFaxNumber(LPCTSTR lpszNewValue);
751 CString GetHomeTelephoneNumber();
752 void SetHomeTelephoneNumber(LPCTSTR lpszNewValue);
753 CString GetInitials();
754 void SetInitials(LPCTSTR lpszNewValue);
755 CString GetInternetFreeBusyAddress();
756 void SetInternetFreeBusyAddress(LPCTSTR lpszNewValue);
757 CString GetISDNNumber();
758 void SetISDNNumber(LPCTSTR lpszNewValue);
759 CString GetJobTitle();
760 void SetJobTitle(LPCTSTR lpszNewValue);
761 BOOL GetJournal();
762 void SetJournal(BOOL bNewValue);
763 CString GetLanguage();
764 void SetLanguage(LPCTSTR lpszNewValue);
765 CString GetLastFirstAndSuffix();
766 CString GetLastFirstNoSpace();
767 CString GetLastFirstNoSpaceCompany();
768 CString GetLastFirstSpaceOnly();
769 CString GetLastFirstSpaceOnlyCompany();
770 CString GetLastName();
771 void SetLastName(LPCTSTR lpszNewValue);
772 CString GetLastNameAndFirstName();
773 CString GetMailingAddress();
774 void SetMailingAddress(LPCTSTR lpszNewValue);
775 CString GetMailingAddressCity();
776 void SetMailingAddressCity(LPCTSTR lpszNewValue);
777 CString GetMailingAddressCountry();
778 void SetMailingAddressCountry(LPCTSTR lpszNewValue);
779 CString GetMailingAddressPostalCode();
780 void SetMailingAddressPostalCode(LPCTSTR lpszNewValue);
781 CString GetMailingAddressPostOfficeBox();
782 void SetMailingAddressPostOfficeBox(LPCTSTR lpszNewValue);
783 CString GetMailingAddressState();
784 void SetMailingAddressState(LPCTSTR lpszNewValue);
785 CString GetMailingAddressStreet();
786 void SetMailingAddressStreet(LPCTSTR lpszNewValue);
787 CString GetManagerName();
788 void SetManagerName(LPCTSTR lpszNewValue);
789 CString GetMiddleName();
790 void SetMiddleName(LPCTSTR lpszNewValue);
791 CString GetMobileTelephoneNumber();
792 void SetMobileTelephoneNumber(LPCTSTR lpszNewValue);
793 CString GetNetMeetingAlias();
794 void SetNetMeetingAlias(LPCTSTR lpszNewValue);
795 CString GetNetMeetingServer();
796 void SetNetMeetingServer(LPCTSTR lpszNewValue);
797 CString GetNickName();
798 void SetNickName(LPCTSTR lpszNewValue);
799 CString GetOfficeLocation();
800 void SetOfficeLocation(LPCTSTR lpszNewValue);
801 CString GetOrganizationalIDNumber();
802 void SetOrganizationalIDNumber(LPCTSTR lpszNewValue);
803 CString GetOtherAddress();
804 void SetOtherAddress(LPCTSTR lpszNewValue);
805 CString GetOtherAddressCity();
806 void SetOtherAddressCity(LPCTSTR lpszNewValue);
807 CString GetOtherAddressCountry();
808 void SetOtherAddressCountry(LPCTSTR lpszNewValue);
809 CString GetOtherAddressPostalCode();
810 void SetOtherAddressPostalCode(LPCTSTR lpszNewValue);
811 CString GetOtherAddressPostOfficeBox();
812 void SetOtherAddressPostOfficeBox(LPCTSTR lpszNewValue);
813 CString GetOtherAddressState();
814 void SetOtherAddressState(LPCTSTR lpszNewValue);
815 CString GetOtherAddressStreet();
816 void SetOtherAddressStreet(LPCTSTR lpszNewValue);
817 CString GetOtherFaxNumber();
818 void SetOtherFaxNumber(LPCTSTR lpszNewValue);
819 CString GetOtherTelephoneNumber();
820 void SetOtherTelephoneNumber(LPCTSTR lpszNewValue);
821 CString GetPagerNumber();
822 void SetPagerNumber(LPCTSTR lpszNewValue);
823 CString GetPersonalHomePage();
824 void SetPersonalHomePage(LPCTSTR lpszNewValue);
825 CString GetPrimaryTelephoneNumber();
826 void SetPrimaryTelephoneNumber(LPCTSTR lpszNewValue);
827 CString GetProfession();
828 void SetProfession(LPCTSTR lpszNewValue);
829 CString GetRadioTelephoneNumber();
830 void SetRadioTelephoneNumber(LPCTSTR lpszNewValue);
831 CString GetReferredBy();
832 void SetReferredBy(LPCTSTR lpszNewValue);
833 long GetSelectedMailingAddress();
834 void SetSelectedMailingAddress(long nNewValue);
835 CString GetSpouse();
836 void SetSpouse(LPCTSTR lpszNewValue);
837 CString GetSuffix();
838 void SetSuffix(LPCTSTR lpszNewValue);
839 CString GetTelexNumber();
840 void SetTelexNumber(LPCTSTR lpszNewValue);
841 CString GetTitle();
842 void SetTitle(LPCTSTR lpszNewValue);
843 CString GetTTYTDDTelephoneNumber();
844 void SetTTYTDDTelephoneNumber(LPCTSTR lpszNewValue);
845 CString GetUser1();
846 void SetUser1(LPCTSTR lpszNewValue);
847 CString GetUser2();
848 void SetUser2(LPCTSTR lpszNewValue);
849 CString GetUser3();
850 void SetUser3(LPCTSTR lpszNewValue);
851 CString GetUser4();
852 void SetUser4(LPCTSTR lpszNewValue);
853 CString GetUserCertificate();
854 void SetUserCertificate(LPCTSTR lpszNewValue);
855 CString GetWebPage();
856 void SetWebPage(LPCTSTR lpszNewValue);
857 CString GetYomiCompanyName();
858 void SetYomiCompanyName(LPCTSTR lpszNewValue);
859 CString GetYomiFirstName();
860 void SetYomiFirstName(LPCTSTR lpszNewValue);
861 CString GetYomiLastName();
862 void SetYomiLastName(LPCTSTR lpszNewValue);
863 LPDISPATCH ForwardAsVcard();
864 LPDISPATCH GetLinks();
865};
866/////////////////////////////////////////////////////////////////////////////
867// _DistListItem wrapper class
868
869class _DistListItem : public COleDispatchDriver
870{
871public:
872 _DistListItem() {} // Calls COleDispatchDriver default constructor
873 _DistListItem(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
874 _DistListItem(const _DistListItem& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
875
876// Attributes
877public:
878
879// Operations
880public:
881 LPDISPATCH GetApplication();
882 long GetClass();
883 LPDISPATCH GetSession();
884 LPDISPATCH GetParent();
885 LPDISPATCH GetActions();
886 LPDISPATCH GetAttachments();
887 CString GetBillingInformation();
888 void SetBillingInformation(LPCTSTR lpszNewValue);
889 CString GetBody();
890 void SetBody(LPCTSTR lpszNewValue);
891 CString GetCategories();
892 void SetCategories(LPCTSTR lpszNewValue);
893 CString GetCompanies();
894 void SetCompanies(LPCTSTR lpszNewValue);
895 CString GetConversationIndex();
896 CString GetConversationTopic();
897 DATE GetCreationTime();
898 CString GetEntryID();
899 LPDISPATCH GetFormDescription();
900 LPDISPATCH GetGetInspector();
901 long GetImportance();
902 void SetImportance(long nNewValue);
903 DATE GetLastModificationTime();
904 CString GetMessageClass();
905 void SetMessageClass(LPCTSTR lpszNewValue);
906 CString GetMileage();
907 void SetMileage(LPCTSTR lpszNewValue);
908 BOOL GetNoAging();
909 void SetNoAging(BOOL bNewValue);
910 long GetOutlookInternalVersion();
911 CString GetOutlookVersion();
912 BOOL GetSaved();
913 long GetSensitivity();
914 void SetSensitivity(long nNewValue);
915 long GetSize();
916 CString GetSubject();
917 void SetSubject(LPCTSTR lpszNewValue);
918 BOOL GetUnRead();
919 void SetUnRead(BOOL bNewValue);
920 LPDISPATCH GetUserProperties();
921 void Close(long SaveMode);
922 LPDISPATCH Copy();
923 void Delete();
924 void Display(const VARIANT& Modal);
925 LPDISPATCH Move(LPDISPATCH DestFldr);
926 void PrintOut();
927 void Save();
928 void SaveAs(LPCTSTR Path, const VARIANT& Type);
929 CString GetDLName();
930 void SetDLName(LPCTSTR lpszNewValue);
931 long GetMemberCount();
932 LPDISPATCH GetLinks();
933 void AddMembers(LPDISPATCH Recipients);
934 void RemoveMembers(LPDISPATCH Recipients);
935 LPDISPATCH GetMember(long Index);
936};
937/////////////////////////////////////////////////////////////////////////////
938// _JournalItem wrapper class
939
940class _JournalItem : public COleDispatchDriver
941{
942public:
943 _JournalItem() {} // Calls COleDispatchDriver default constructor
944 _JournalItem(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
945 _JournalItem(const _JournalItem& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
946
947// Attributes
948public:
949
950// Operations
951public:
952 LPDISPATCH GetApplication();
953 long GetClass();
954 LPDISPATCH GetSession();
955 LPDISPATCH GetParent();
956 LPDISPATCH GetActions();
957 LPDISPATCH GetAttachments();
958 CString GetBillingInformation();
959 void SetBillingInformation(LPCTSTR lpszNewValue);
960 CString GetBody();
961 void SetBody(LPCTSTR lpszNewValue);
962 CString GetCategories();
963 void SetCategories(LPCTSTR lpszNewValue);
964 CString GetCompanies();
965 void SetCompanies(LPCTSTR lpszNewValue);
966 CString GetConversationIndex();
967 CString GetConversationTopic();
968 DATE GetCreationTime();
969 CString GetEntryID();
970 LPDISPATCH GetFormDescription();
971 LPDISPATCH GetGetInspector();
972 long GetImportance();
973 void SetImportance(long nNewValue);
974 DATE GetLastModificationTime();
975 CString GetMessageClass();
976 void SetMessageClass(LPCTSTR lpszNewValue);
977 CString GetMileage();
978 void SetMileage(LPCTSTR lpszNewValue);
979 BOOL GetNoAging();
980 void SetNoAging(BOOL bNewValue);
981 long GetOutlookInternalVersion();
982 CString GetOutlookVersion();
983 BOOL GetSaved();
984 long GetSensitivity();
985 void SetSensitivity(long nNewValue);
986 long GetSize();
987 CString GetSubject();
988 void SetSubject(LPCTSTR lpszNewValue);
989 BOOL GetUnRead();
990 void SetUnRead(BOOL bNewValue);
991 LPDISPATCH GetUserProperties();
992 void Close(long SaveMode);
993 LPDISPATCH Copy();
994 void Delete();
995 void Display(const VARIANT& Modal);
996 LPDISPATCH Move(LPDISPATCH DestFldr);
997 void PrintOut();
998 void Save();
999 void SaveAs(LPCTSTR Path, const VARIANT& Type);
1000 CString GetContactNames();
1001 void SetContactNames(LPCTSTR lpszNewValue);
1002 BOOL GetDocPosted();
1003 void SetDocPosted(BOOL bNewValue);
1004 BOOL GetDocPrinted();
1005 void SetDocPrinted(BOOL bNewValue);
1006 BOOL GetDocRouted();
1007 void SetDocRouted(BOOL bNewValue);
1008 BOOL GetDocSaved();
1009 void SetDocSaved(BOOL bNewValue);
1010 long GetDuration();
1011 void SetDuration(long nNewValue);
1012 DATE GetEnd();
1013 void SetEnd(DATE newValue);
1014 CString GetType();
1015 void SetType(LPCTSTR lpszNewValue);
1016 LPDISPATCH GetRecipients();
1017 DATE GetStart();
1018 void SetStart(DATE newValue);
1019 LPDISPATCH Forward();
1020 LPDISPATCH Reply();
1021 LPDISPATCH ReplyAll();
1022 void StartTimer();
1023 void StopTimer();
1024 LPDISPATCH GetLinks();
1025};
1026/////////////////////////////////////////////////////////////////////////////
1027// _NoteItem wrapper class
1028
1029class _NoteItem : public COleDispatchDriver
1030{
1031public:
1032 _NoteItem() {} // Calls COleDispatchDriver default constructor
1033 _NoteItem(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
1034 _NoteItem(const _NoteItem& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
1035
1036// Attributes
1037public:
1038
1039// Operations
1040public:
1041 LPDISPATCH GetApplication();
1042 long GetClass();
1043 LPDISPATCH GetSession();
1044 LPDISPATCH GetParent();
1045 CString GetBody();
1046 void SetBody(LPCTSTR lpszNewValue);
1047 CString GetCategories();
1048 void SetCategories(LPCTSTR lpszNewValue);
1049 long GetColor();
1050 void SetColor(long nNewValue);
1051 DATE GetCreationTime();
1052 CString GetEntryID();
1053 LPDISPATCH GetGetInspector();
1054 long GetHeight();
1055 void SetHeight(long nNewValue);
1056 DATE GetLastModificationTime();
1057 long GetLeft();
1058 void SetLeft(long nNewValue);
1059 CString GetMessageClass();
1060 void SetMessageClass(LPCTSTR lpszNewValue);
1061 BOOL GetSaved();
1062 long GetSize();
1063 CString GetSubject();
1064 long GetTop();
1065 void SetTop(long nNewValue);
1066 long GetWidth();
1067 void SetWidth(long nNewValue);
1068 void Close(long SaveMode);
1069 LPDISPATCH Copy();
1070 void Delete();
1071 void Display(const VARIANT& Modal);
1072 LPDISPATCH Move(LPDISPATCH DestFldr);
1073 void PrintOut();
1074 void Save();
1075 void SaveAs(LPCTSTR Path, const VARIANT& Type);
1076 LPDISPATCH GetLinks();
1077};
1078/////////////////////////////////////////////////////////////////////////////
1079// Action wrapper class
1080
1081class Action : public COleDispatchDriver
1082{
1083public:
1084 Action() {} // Calls COleDispatchDriver default constructor
1085 Action(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
1086 Action(const Action& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
1087
1088// Attributes
1089public:
1090
1091// Operations
1092public:
1093 LPDISPATCH GetApplication();
1094 long GetClass();
1095 LPDISPATCH GetSession();
1096 LPDISPATCH GetParent();
1097 long GetCopyLike();
1098 void SetCopyLike(long nNewValue);
1099 BOOL GetEnabled();
1100 void SetEnabled(BOOL bNewValue);
1101 CString GetMessageClass();
1102 void SetMessageClass(LPCTSTR lpszNewValue);
1103 CString GetName();
1104 void SetName(LPCTSTR lpszNewValue);
1105 CString GetPrefix();
1106 void SetPrefix(LPCTSTR lpszNewValue);
1107 long GetReplyStyle();
1108 void SetReplyStyle(long nNewValue);
1109 long GetResponseStyle();
1110 void SetResponseStyle(long nNewValue);
1111 long GetShowOn();
1112 void SetShowOn(long nNewValue);
1113 void Delete();
1114 LPDISPATCH Execute();
1115};
1116/////////////////////////////////////////////////////////////////////////////
1117// Recipient wrapper class
1118
1119class Recipient : public COleDispatchDriver
1120{
1121public:
1122 Recipient() {} // Calls COleDispatchDriver default constructor
1123 Recipient(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
1124 Recipient(const Recipient& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
1125
1126// Attributes
1127public:
1128
1129// Operations
1130public:
1131 LPDISPATCH GetApplication();
1132 long GetClass();
1133 LPDISPATCH GetSession();
1134 LPDISPATCH GetParent();
1135 CString GetAddress();
1136 LPDISPATCH GetAddressEntry();
1137 void SetRefAddressEntry(LPDISPATCH newValue);
1138 CString GetAutoResponse();
1139 void SetAutoResponse(LPCTSTR lpszNewValue);
1140 long GetDisplayType();
1141 CString GetEntryID();
1142 long GetIndex();
1143 long GetMeetingResponseStatus();
1144 CString GetName();
1145 BOOL GetResolved();
1146 long GetTrackingStatus();
1147 void SetTrackingStatus(long nNewValue);
1148 DATE GetTrackingStatusTime();
1149 void SetTrackingStatusTime(DATE newValue);
1150 long GetType();
1151 void SetType(long nNewValue);
1152 void Delete();
1153 CString FreeBusy(DATE Start, long MinPerChar, const VARIANT& CompleteFormat);
1154 BOOL Resolve();
1155};
1156/////////////////////////////////////////////////////////////////////////////
1157// _Inspector wrapper class
1158
1159class _Inspector : public COleDispatchDriver
1160{
1161public:
1162 _Inspector() {} // Calls COleDispatchDriver default constructor
1163 _Inspector(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
1164 _Inspector(const _Inspector& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
1165
1166// Attributes
1167public:
1168
1169// Operations
1170public:
1171 LPDISPATCH GetApplication();
1172 long GetClass();
1173 LPDISPATCH GetSession();
1174 LPDISPATCH GetParent();
1175 LPDISPATCH GetCommandBars();
1176 LPDISPATCH GetCurrentItem();
1177 long GetEditorType();
1178 LPDISPATCH GetModifiedFormPages();
1179 void Close(long SaveMode);
1180 void Display(const VARIANT& Modal);
1181 void HideFormPage(LPCTSTR PageName);
1182 BOOL IsWordMail();
1183 void SetCurrentFormPage(LPCTSTR PageName);
1184 void ShowFormPage(LPCTSTR PageName);
1185 LPDISPATCH GetHTMLEditor();
1186 LPDISPATCH GetWordEditor();
1187 CString GetCaption();
1188 long GetHeight();
1189 void SetHeight(long nNewValue);
1190 long GetLeft();
1191 void SetLeft(long nNewValue);
1192 long GetTop();
1193 void SetTop(long nNewValue);
1194 long GetWidth();
1195 void SetWidth(long nNewValue);
1196 long GetWindowState();
1197 void SetWindowState(long nNewValue);
1198 void Activate();
1199};
1200/////////////////////////////////////////////////////////////////////////////
1201// Actions wrapper class
1202
1203class Actions : public COleDispatchDriver
1204{
1205public:
1206 Actions() {} // Calls COleDispatchDriver default constructor
1207 Actions(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
1208 Actions(const Actions& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
1209
1210// Attributes
1211public:
1212
1213// Operations
1214public:
1215 LPDISPATCH GetApplication();
1216 long GetClass();
1217 LPDISPATCH GetSession();
1218 LPDISPATCH GetParent();
1219 long GetCount();
1220 LPDISPATCH Item(const VARIANT& Index);
1221 LPDISPATCH Add();
1222 void Remove(long Index);
1223};
1224/////////////////////////////////////////////////////////////////////////////
1225// Attachments wrapper class
1226
1227class Attachments : public COleDispatchDriver
1228{
1229public:
1230 Attachments() {} // Calls COleDispatchDriver default constructor
1231 Attachments(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
1232 Attachments(const Attachments& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
1233
1234// Attributes
1235public:
1236
1237// Operations
1238public:
1239 LPDISPATCH GetApplication();
1240 long GetClass();
1241 LPDISPATCH GetSession();
1242 LPDISPATCH GetParent();
1243 long GetCount();
1244 LPDISPATCH Item(const VARIANT& Index);
1245 LPDISPATCH Add(const VARIANT& Source, const VARIANT& Type, const VARIANT& Position, const VARIANT& DisplayName);
1246 void Remove(long Index);
1247};
1248/////////////////////////////////////////////////////////////////////////////
1249// Attachment wrapper class
1250
1251class Attachment : public COleDispatchDriver
1252{
1253public:
1254 Attachment() {} // Calls COleDispatchDriver default constructor
1255 Attachment(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
1256 Attachment(const Attachment& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
1257
1258// Attributes
1259public:
1260
1261// Operations
1262public:
1263 LPDISPATCH GetApplication();
1264 long GetClass();
1265 LPDISPATCH GetSession();
1266 LPDISPATCH GetParent();
1267 CString GetDisplayName();
1268 void SetDisplayName(LPCTSTR lpszNewValue);
1269 CString GetFileName();
1270 long GetIndex();
1271 CString GetPathName();
1272 long GetPosition();
1273 void SetPosition(long nNewValue);
1274 long GetType();
1275 void Delete();
1276 void SaveAsFile(LPCTSTR Path);
1277};
1278/////////////////////////////////////////////////////////////////////////////
1279// FormDescription wrapper class
1280
1281class FormDescription : public COleDispatchDriver
1282{
1283public:
1284 FormDescription() {} // Calls COleDispatchDriver default constructor
1285 FormDescription(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
1286 FormDescription(const FormDescription& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
1287
1288// Attributes
1289public:
1290
1291// Operations
1292public:
1293 LPDISPATCH GetApplication();
1294 long GetClass();
1295 LPDISPATCH GetSession();
1296 LPDISPATCH GetParent();
1297 CString GetCategory();
1298 void SetCategory(LPCTSTR lpszNewValue);
1299 CString GetCategorySub();
1300 void SetCategorySub(LPCTSTR lpszNewValue);
1301 CString GetComment();
1302 void SetComment(LPCTSTR lpszNewValue);
1303 CString GetContactName();
1304 void SetContactName(LPCTSTR lpszNewValue);
1305 CString GetDisplayName();
1306 void SetDisplayName(LPCTSTR lpszNewValue);
1307 BOOL GetHidden();
1308 void SetHidden(BOOL bNewValue);
1309 CString GetIcon();
1310 void SetIcon(LPCTSTR lpszNewValue);
1311 BOOL GetLocked();
1312 void SetLocked(BOOL bNewValue);
1313 CString GetMessageClass();
1314 CString GetMiniIcon();
1315 void SetMiniIcon(LPCTSTR lpszNewValue);
1316 CString GetName();
1317 void SetName(LPCTSTR lpszNewValue);
1318 CString GetNumber();
1319 void SetNumber(LPCTSTR lpszNewValue);
1320 BOOL GetOneOff();
1321 void SetOneOff(BOOL bNewValue);
1322 CString GetPassword();
1323 void SetPassword(LPCTSTR lpszNewValue);
1324 CString GetScriptText();
1325 CString GetTemplate();
1326 void SetTemplate(LPCTSTR lpszNewValue);
1327 BOOL GetUseWordMail();
1328 void SetUseWordMail(BOOL bNewValue);
1329 CString GetVersion();
1330 void SetVersion(LPCTSTR lpszNewValue);
1331 void PublishForm(long Registry, const VARIANT& Folder);
1332};
1333/////////////////////////////////////////////////////////////////////////////
1334// Recipients wrapper class
1335
1336class Recipients : public COleDispatchDriver
1337{
1338public:
1339 Recipients() {} // Calls COleDispatchDriver default constructor
1340 Recipients(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
1341 Recipients(const Recipients& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
1342
1343// Attributes
1344public:
1345
1346// Operations
1347public:
1348 LPDISPATCH GetApplication();
1349 long GetClass();
1350 LPDISPATCH GetSession();
1351 LPDISPATCH GetParent();
1352 long GetCount();
1353 LPDISPATCH Item(const VARIANT& Index);
1354 LPDISPATCH Add(LPCTSTR Name);
1355 void Remove(long Index);
1356 BOOL ResolveAll();
1357};
1358/////////////////////////////////////////////////////////////////////////////
1359// Links wrapper class
1360
1361class Links : public COleDispatchDriver
1362{
1363public:
1364 Links() {} // Calls COleDispatchDriver default constructor
1365 Links(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
1366 Links(const Links& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
1367
1368// Attributes
1369public:
1370
1371// Operations
1372public:
1373 LPDISPATCH GetApplication();
1374 long GetClass();
1375 LPDISPATCH GetSession();
1376 LPDISPATCH GetParent();
1377 long GetCount();
1378 LPDISPATCH Item(const VARIANT& Index);
1379 LPDISPATCH Add(LPDISPATCH Item);
1380 void Remove(const VARIANT& Index);
1381};
1382/////////////////////////////////////////////////////////////////////////////
1383// Link wrapper class
1384
1385class Link : public COleDispatchDriver
1386{
1387public:
1388 Link() {} // Calls COleDispatchDriver default constructor
1389 Link(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
1390 Link(const Link& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
1391
1392// Attributes
1393public:
1394
1395// Operations
1396public:
1397 LPDISPATCH GetApplication();
1398 long GetClass();
1399 LPDISPATCH GetSession();
1400 LPDISPATCH GetParent();
1401 CString GetName();
1402 long GetType();
1403 LPDISPATCH GetItem();
1404};
1405/////////////////////////////////////////////////////////////////////////////
1406// RecurrencePattern wrapper class
1407
1408class RecurrencePattern : public COleDispatchDriver
1409{
1410public:
1411 RecurrencePattern() {} // Calls COleDispatchDriver default constructor
1412 RecurrencePattern(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
1413 RecurrencePattern(const RecurrencePattern& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
1414
1415// Attributes
1416public:
1417
1418// Operations
1419public:
1420 LPDISPATCH GetApplication();
1421 long GetClass();
1422 LPDISPATCH GetSession();
1423 LPDISPATCH GetParent();
1424 long GetDayOfMonth();
1425 void SetDayOfMonth(long nNewValue);
1426 long GetDayOfWeekMask();
1427 void SetDayOfWeekMask(long nNewValue);
1428 long GetDuration();
1429 void SetDuration(long nNewValue);
1430 DATE GetEndTime();
1431 void SetEndTime(DATE newValue);
1432 LPDISPATCH GetExceptions();
1433 long GetInstance();
1434 void SetInstance(long nNewValue);
1435 long GetInterval();
1436 void SetInterval(long nNewValue);
1437 long GetMonthOfYear();
1438 void SetMonthOfYear(long nNewValue);
1439 BOOL GetNoEndDate();
1440 void SetNoEndDate(BOOL bNewValue);
1441 long GetOccurrences();
1442 void SetOccurrences(long nNewValue);
1443 DATE GetPatternEndDate();
1444 void SetPatternEndDate(DATE newValue);
1445 DATE GetPatternStartDate();
1446 void SetPatternStartDate(DATE newValue);
1447 long GetRecurrenceType();
1448 void SetRecurrenceType(long nNewValue);
1449 BOOL GetRegenerate();
1450 void SetRegenerate(BOOL bNewValue);
1451 DATE GetStartTime();
1452 void SetStartTime(DATE newValue);
1453 LPDISPATCH GetOccurrence(DATE StartDate);
1454};
1455
1456/////////////////////////////////////////////////////////////////////////////
1457// UserProperties wrapper class
1458
1459class UserProperties : public COleDispatchDriver
1460{
1461public:
1462 UserProperties() {} // Calls COleDispatchDriver default constructor
1463 UserProperties(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
1464 UserProperties(const UserProperties& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
1465
1466// Attributes
1467public:
1468
1469// Operations
1470public:
1471 LPDISPATCH GetApplication();
1472 long GetClass();
1473 LPDISPATCH GetSession();
1474 LPDISPATCH GetParent();
1475 long GetCount();
1476 LPDISPATCH Item(const VARIANT& Index);
1477 LPDISPATCH Add(LPCTSTR Name, long Type, const VARIANT& AddToFolderFields, const VARIANT& DisplayFormat);
1478 LPDISPATCH Find(LPCTSTR Name, const VARIANT& Custom);
1479 void Remove(long Index);
1480};
1481/////////////////////////////////////////////////////////////////////////////
1482// Exceptions wrapper class
1483
1484class Exceptions : public COleDispatchDriver
1485{
1486public:
1487 Exceptions() {} // Calls COleDispatchDriver default constructor
1488 Exceptions(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
1489 Exceptions(const Exceptions& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
1490
1491// Attributes
1492public:
1493
1494// Operations
1495public:
1496 LPDISPATCH GetApplication();
1497 long GetClass();
1498 LPDISPATCH GetSession();
1499 LPDISPATCH GetParent();
1500 long GetCount();
1501 LPDISPATCH Item(const VARIANT& Index);
1502};
1503/////////////////////////////////////////////////////////////////////////////
1504// Exception wrapper class
1505
1506class Exception : public COleDispatchDriver
1507{
1508public:
1509 Exception() {} // Calls COleDispatchDriver default constructor
1510 Exception(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
1511 Exception(const Exception& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
1512
1513// Attributes
1514public:
1515
1516// Operations
1517public:
1518 LPDISPATCH GetApplication();
1519 long GetClass();
1520 LPDISPATCH GetSession();
1521 LPDISPATCH GetParent();
1522 LPDISPATCH GetAppointmentItem();
1523 BOOL GetDeleted();
1524 DATE GetOriginalDate();
1525};
1526#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";