| Trees | Indices | Help |
|
|---|
|
|
1 # Created by makepy.py version 0.4.91
2 # By python version 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)]
3 # From type library 'msoutl9.olb'
4 # On Sun Jun 13 01:17:20 2004
5 """Microsoft Outlook 9.0 Object Library"""
6 makepy_version = '0.4.91'
7 python_version = 0x20304f0
8
9 import win32com.client.CLSIDToClass, pythoncom
10 import win32com.client.util
11 from pywintypes import IID
12 from win32com.client import Dispatch
13
14 # The following 3 lines may need tweaking for the particular server
15 # Candidates are pythoncom.Missing and pythoncom.Empty
16 defaultNamedOptArg=pythoncom.Empty
17 defaultNamedNotOptArg=pythoncom.Empty
18 defaultUnnamedArg=pythoncom.Empty
19
20 CLSID = IID('{00062FFF-0000-0000-C000-000000000046}')
21 MajorVersion = 9
22 MinorVersion = 0
23 LibraryFlags = 8
24 LCID = 0x0
25
27 olForward =0x2 # from enum OlActionCopyLike
28 olReply =0x0 # from enum OlActionCopyLike
29 olReplyAll =0x1 # from enum OlActionCopyLike
30 olReplyFolder =0x3 # from enum OlActionCopyLike
31 olRespond =0x4 # from enum OlActionCopyLike
32 olEmbedOriginalItem =0x1 # from enum OlActionReplyStyle
33 olIncludeOriginalText =0x2 # from enum OlActionReplyStyle
34 olIndentOriginalText =0x3 # from enum OlActionReplyStyle
35 olLinkOriginalItem =0x4 # from enum OlActionReplyStyle
36 olOmitOriginalText =0x0 # from enum OlActionReplyStyle
37 olReplyTickOriginalText =0x3e8 # from enum OlActionReplyStyle
38 olUserPreference =0x5 # from enum OlActionReplyStyle
39 olOpen =0x0 # from enum OlActionResponseStyle
40 olPrompt =0x2 # from enum OlActionResponseStyle
41 olSend =0x1 # from enum OlActionResponseStyle
42 olDontShow =0x0 # from enum OlActionShowOn
43 olMenu =0x1 # from enum OlActionShowOn
44 olMenuAndToolbar =0x2 # from enum OlActionShowOn
45 olByReference =0x4 # from enum OlAttachmentType
46 olByValue =0x1 # from enum OlAttachmentType
47 olEmbeddeditem =0x5 # from enum OlAttachmentType
48 olOLE =0x6 # from enum OlAttachmentType
49 olBusy =0x2 # from enum OlBusyStatus
50 olFree =0x0 # from enum OlBusyStatus
51 olOutOfOffice =0x3 # from enum OlBusyStatus
52 olTentative =0x1 # from enum OlBusyStatus
53 olFriday =0x20 # from enum OlDaysOfWeek
54 olMonday =0x2 # from enum OlDaysOfWeek
55 olSaturday =0x40 # from enum OlDaysOfWeek
56 olSunday =0x1 # from enum OlDaysOfWeek
57 olThursday =0x10 # from enum OlDaysOfWeek
58 olTuesday =0x4 # from enum OlDaysOfWeek
59 olWednesday =0x8 # from enum OlDaysOfWeek
60 olFolderCalendar =0x9 # from enum OlDefaultFolders
61 olFolderContacts =0xa # from enum OlDefaultFolders
62 olFolderDeletedItems =0x3 # from enum OlDefaultFolders
63 olFolderDrafts =0x10 # from enum OlDefaultFolders
64 olFolderInbox =0x6 # from enum OlDefaultFolders
65 olFolderJournal =0xb # from enum OlDefaultFolders
66 olFolderNotes =0xc # from enum OlDefaultFolders
67 olFolderOutbox =0x4 # from enum OlDefaultFolders
68 olFolderSentMail =0x5 # from enum OlDefaultFolders
69 olFolderTasks =0xd # from enum OlDefaultFolders
70 olAgent =0x3 # from enum OlDisplayType
71 olDistList =0x1 # from enum OlDisplayType
72 olForum =0x2 # from enum OlDisplayType
73 olOrganization =0x4 # from enum OlDisplayType
74 olPrivateDistList =0x5 # from enum OlDisplayType
75 olRemoteUser =0x6 # from enum OlDisplayType
76 olUser =0x0 # from enum OlDisplayType
77 olEditorHTML =0x2 # from enum OlEditorType
78 olEditorRTF =0x3 # from enum OlEditorType
79 olEditorText =0x1 # from enum OlEditorType
80 olEditorWord =0x4 # from enum OlEditorType
81 olFlagComplete =0x1 # from enum OlFlagStatus
82 olFlagMarked =0x2 # from enum OlFlagStatus
83 olNoFlag =0x0 # from enum OlFlagStatus
84 olFolderDisplayFolderOnly =0x1 # from enum OlFolderDisplayMode
85 olFolderDisplayNoNavigation =0x2 # from enum OlFolderDisplayMode
86 olFolderDisplayNormal =0x0 # from enum OlFolderDisplayMode
87 olDefaultRegistry =0x0 # from enum OlFormRegistry
88 olFolderRegistry =0x3 # from enum OlFormRegistry
89 olOrganizationRegistry =0x4 # from enum OlFormRegistry
90 olPersonalRegistry =0x2 # from enum OlFormRegistry
91 olFemale =0x1 # from enum OlGender
92 olMale =0x2 # from enum OlGender
93 olUnspecified =0x0 # from enum OlGender
94 olImportanceHigh =0x2 # from enum OlImportance
95 olImportanceLow =0x0 # from enum OlImportance
96 olImportanceNormal =0x1 # from enum OlImportance
97 olDiscard =0x1 # from enum OlInspectorClose
98 olPromptForSave =0x2 # from enum OlInspectorClose
99 olSave =0x0 # from enum OlInspectorClose
100 olAppointmentItem =0x1 # from enum OlItemType
101 olContactItem =0x2 # from enum OlItemType
102 olDistributionListItem =0x7 # from enum OlItemType
103 olJournalItem =0x4 # from enum OlItemType
104 olMailItem =0x0 # from enum OlItemType
105 olNoteItem =0x5 # from enum OlItemType
106 olPostItem =0x6 # from enum OlItemType
107 olTaskItem =0x3 # from enum OlItemType
108 olAssociatedContact =0x1 # from enum OlJournalRecipientType
109 olBCC =0x3 # from enum OlMailRecipientType
110 olCC =0x2 # from enum OlMailRecipientType
111 olOriginator =0x0 # from enum OlMailRecipientType
112 olTo =0x1 # from enum OlMailRecipientType
113 olBusiness =0x2 # from enum OlMailingAddress
114 olHome =0x1 # from enum OlMailingAddress
115 olNone =0x0 # from enum OlMailingAddress
116 olOther =0x3 # from enum OlMailingAddress
117 olOptional =0x2 # from enum OlMeetingRecipientType
118 olOrganizer =0x0 # from enum OlMeetingRecipientType
119 olRequired =0x1 # from enum OlMeetingRecipientType
120 olResource =0x3 # from enum OlMeetingRecipientType
121 olMeetingAccepted =0x3 # from enum OlMeetingResponse
122 olMeetingDeclined =0x4 # from enum OlMeetingResponse
123 olMeetingTentative =0x2 # from enum OlMeetingResponse
124 olMeeting =0x1 # from enum OlMeetingStatus
125 olMeetingCanceled =0x5 # from enum OlMeetingStatus
126 olMeetingReceived =0x3 # from enum OlMeetingStatus
127 olNonMeeting =0x0 # from enum OlMeetingStatus
128 olChat =0x2 # from enum OlNetMeetingType
129 olNetMeeting =0x0 # from enum OlNetMeetingType
130 olNetShow =0x1 # from enum OlNetMeetingType
131 olBlue =0x0 # from enum OlNoteColor
132 olGreen =0x1 # from enum OlNoteColor
133 olPink =0x2 # from enum OlNoteColor
134 olWhite =0x4 # from enum OlNoteColor
135 olYellow =0x3 # from enum OlNoteColor
136 olAction =0x20 # from enum OlObjectClass
137 olActions =0x21 # from enum OlObjectClass
138 olAddressEntries =0x15 # from enum OlObjectClass
139 olAddressEntry =0x8 # from enum OlObjectClass
140 olAddressList =0x7 # from enum OlObjectClass
141 olAddressLists =0x14 # from enum OlObjectClass
142 olApplication =0x0 # from enum OlObjectClass
143 olAppointment =0x1a # from enum OlObjectClass
144 olAttachment =0x5 # from enum OlObjectClass
145 olAttachments =0x12 # from enum OlObjectClass
146 olContact =0x28 # from enum OlObjectClass
147 olDistributionList =0x45 # from enum OlObjectClass
148 olDocument =0x29 # from enum OlObjectClass
149 olException =0x1e # from enum OlObjectClass
150 olExceptions =0x1d # from enum OlObjectClass
151 olExplorer =0x22 # from enum OlObjectClass
152 olExplorers =0x3c # from enum OlObjectClass
153 olFolder =0x2 # from enum OlObjectClass
154 olFolders =0xf # from enum OlObjectClass
155 olFormDescription =0x25 # from enum OlObjectClass
156 olInspector =0x23 # from enum OlObjectClass
157 olInspectors =0x3d # from enum OlObjectClass
158 olItems =0x10 # from enum OlObjectClass
159 olJournal =0x2a # from enum OlObjectClass
160 olLink =0x4b # from enum OlObjectClass
161 olLinks =0x4c # from enum OlObjectClass
162 olMail =0x2b # from enum OlObjectClass
163 olMeetingCancellation =0x36 # from enum OlObjectClass
164 olMeetingRequest =0x35 # from enum OlObjectClass
165 olMeetingResponseNegative =0x37 # from enum OlObjectClass
166 olMeetingResponsePositive =0x38 # from enum OlObjectClass
167 olMeetingResponseTentative =0x39 # from enum OlObjectClass
168 olNamespace =0x1 # from enum OlObjectClass
169 olNote =0x2c # from enum OlObjectClass
170 olOutlookBarGroup =0x42 # from enum OlObjectClass
171 olOutlookBarGroups =0x41 # from enum OlObjectClass
172 olOutlookBarPane =0x3f # from enum OlObjectClass
173 olOutlookBarShortcut =0x44 # from enum OlObjectClass
174 olOutlookBarShortcuts =0x43 # from enum OlObjectClass
175 olOutlookBarStorage =0x40 # from enum OlObjectClass
176 olPages =0x24 # from enum OlObjectClass
177 olPanes =0x3e # from enum OlObjectClass
178 olPost =0x2d # from enum OlObjectClass
179 olPropertyPageSite =0x46 # from enum OlObjectClass
180 olPropertyPages =0x47 # from enum OlObjectClass
181 olRecipient =0x4 # from enum OlObjectClass
182 olRecipients =0x11 # from enum OlObjectClass
183 olRecurrencePattern =0x1c # from enum OlObjectClass
184 olRemote =0x2f # from enum OlObjectClass
185 olReport =0x2e # from enum OlObjectClass
186 olSelection =0x4a # from enum OlObjectClass
187 olSyncObject =0x48 # from enum OlObjectClass
188 olSyncObjects =0x49 # from enum OlObjectClass
189 olTask =0x30 # from enum OlObjectClass
190 olTaskRequest =0x31 # from enum OlObjectClass
191 olTaskRequestAccept =0x33 # from enum OlObjectClass
192 olTaskRequestDecline =0x34 # from enum OlObjectClass
193 olTaskRequestUpdate =0x32 # from enum OlObjectClass
194 olUserProperties =0x26 # from enum OlObjectClass
195 olUserProperty =0x27 # from enum OlObjectClass
196 olLargeIcon =0x0 # from enum OlOutlookBarViewType
197 olSmallIcon =0x1 # from enum OlOutlookBarViewType
198 olFolderList =0x2 # from enum OlPane
199 olOutlookBar =0x1 # from enum OlPane
200 olPreview =0x3 # from enum OlPane
201 olApptException =0x3 # from enum OlRecurrenceState
202 olApptMaster =0x1 # from enum OlRecurrenceState
203 olApptNotRecurring =0x0 # from enum OlRecurrenceState
204 olApptOccurrence =0x2 # from enum OlRecurrenceState
205 olRecursDaily =0x0 # from enum OlRecurrenceType
206 olRecursMonthNth =0x3 # from enum OlRecurrenceType
207 olRecursMonthly =0x2 # from enum OlRecurrenceType
208 olRecursWeekly =0x1 # from enum OlRecurrenceType
209 olRecursYearNth =0x6 # from enum OlRecurrenceType
210 olRecursYearly =0x5 # from enum OlRecurrenceType
211 olMarkedForCopy =0x3 # from enum OlRemoteStatus
212 olMarkedForDelete =0x4 # from enum OlRemoteStatus
213 olMarkedForDownload =0x2 # from enum OlRemoteStatus
214 olRemoteStatusNone =0x0 # from enum OlRemoteStatus
215 olUnMarked =0x1 # from enum OlRemoteStatus
216 olResponseAccepted =0x3 # from enum OlResponseStatus
217 olResponseDeclined =0x4 # from enum OlResponseStatus
218 olResponseNone =0x0 # from enum OlResponseStatus
219 olResponseNotResponded =0x5 # from enum OlResponseStatus
220 olResponseOrganized =0x1 # from enum OlResponseStatus
221 olResponseTentative =0x2 # from enum OlResponseStatus
222 olDoc =0x4 # from enum OlSaveAsType
223 olHTML =0x5 # from enum OlSaveAsType
224 olMSG =0x3 # from enum OlSaveAsType
225 olRTF =0x1 # from enum OlSaveAsType
226 olTXT =0x0 # from enum OlSaveAsType
227 olTemplate =0x2 # from enum OlSaveAsType
228 olVCal =0x7 # from enum OlSaveAsType
229 olVCard =0x6 # from enum OlSaveAsType
230 olConfidential =0x3 # from enum OlSensitivity
231 olNormal =0x0 # from enum OlSensitivity
232 olPersonal =0x1 # from enum OlSensitivity
233 olPrivate =0x2 # from enum OlSensitivity
234 olAscending =0x1 # from enum OlSortOrder
235 olDescending =0x2 # from enum OlSortOrder
236 olSortNone =0x0 # from enum OlSortOrder
237 olSyncStarted =0x1 # from enum OlSyncState
238 olSyncStopped =0x0 # from enum OlSyncState
239 olTaskDelegationAccepted =0x2 # from enum OlTaskDelegationState
240 olTaskDelegationDeclined =0x3 # from enum OlTaskDelegationState
241 olTaskDelegationUnknown =0x1 # from enum OlTaskDelegationState
242 olTaskNotDelegated =0x0 # from enum OlTaskDelegationState
243 olDelegatedTask =0x1 # from enum OlTaskOwnership
244 olNewTask =0x0 # from enum OlTaskOwnership
245 olOwnTask =0x2 # from enum OlTaskOwnership
246 olFinalStatus =0x3 # from enum OlTaskRecipientType
247 olUpdate =0x2 # from enum OlTaskRecipientType
248 olTaskAccept =0x2 # from enum OlTaskResponse
249 olTaskAssign =0x1 # from enum OlTaskResponse
250 olTaskDecline =0x3 # from enum OlTaskResponse
251 olTaskSimple =0x0 # from enum OlTaskResponse
252 olTaskComplete =0x2 # from enum OlTaskStatus
253 olTaskDeferred =0x4 # from enum OlTaskStatus
254 olTaskInProgress =0x1 # from enum OlTaskStatus
255 olTaskNotStarted =0x0 # from enum OlTaskStatus
256 olTaskWaiting =0x3 # from enum OlTaskStatus
257 olTrackingDelivered =0x1 # from enum OlTrackingStatus
258 olTrackingNone =0x0 # from enum OlTrackingStatus
259 olTrackingNotDelivered =0x2 # from enum OlTrackingStatus
260 olTrackingNotRead =0x3 # from enum OlTrackingStatus
261 olTrackingRead =0x6 # from enum OlTrackingStatus
262 olTrackingRecallFailure =0x4 # from enum OlTrackingStatus
263 olTrackingRecallSuccess =0x5 # from enum OlTrackingStatus
264 olTrackingReplied =0x7 # from enum OlTrackingStatus
265 olCombination =0x13 # from enum OlUserPropertyType
266 olCurrency =0xe # from enum OlUserPropertyType
267 olDateTime =0x5 # from enum OlUserPropertyType
268 olDuration =0x7 # from enum OlUserPropertyType
269 olFormula =0x12 # from enum OlUserPropertyType
270 olKeywords =0xb # from enum OlUserPropertyType
271 olNumber =0x3 # from enum OlUserPropertyType
272 olPercent =0xc # from enum OlUserPropertyType
273 olText =0x1 # from enum OlUserPropertyType
274 olYesNo =0x6 # from enum OlUserPropertyType
275 olMaximized =0x0 # from enum OlWindowState
276 olMinimized =0x1 # from enum OlWindowState
277 olNormalWindow =0x2 # from enum OlWindowState
278
279 from win32com.client import DispatchBaseClass
281 CLSID = IID('{00063043-0000-0000-C000-000000000046}')
282 coclass_clsid = None
283
285 return self._oleobj_.InvokeTypes(108, LCID, 1, (24, 0), (),)
286
288 ret = self._oleobj_.InvokeTypes(106, LCID, 1, (9, 0), (),)
289 if ret is not None:
290 ret = Dispatch(ret, 'Execute', None, UnicodeToString=0)
291 return ret
292
293 _prop_map_get_ = {
294 # Method 'Application' returns object of type '_Application'
295 "Application": (61440, 2, (9, 0), (), "Application", '{00063001-0000-0000-C000-000000000046}'),
296 "Class": (61450, 2, (3, 0), (), "Class", None),
297 "CopyLike": (100, 2, (3, 0), (), "CopyLike", None),
298 "Enabled": (103, 2, (11, 0), (), "Enabled", None),
299 "MessageClass": (26, 2, (8, 0), (), "MessageClass", None),
300 "Name": (12289, 2, (8, 0), (), "Name", None),
301 "Parent": (61441, 2, (9, 0), (), "Parent", None),
302 "Prefix": (61, 2, (8, 0), (), "Prefix", None),
303 "ReplyStyle": (101, 2, (3, 0), (), "ReplyStyle", None),
304 "ResponseStyle": (102, 2, (3, 0), (), "ResponseStyle", None),
305 # Method 'Session' returns object of type '_NameSpace'
306 "Session": (61451, 2, (9, 0), (), "Session", '{00063002-0000-0000-C000-000000000046}'),
307 "ShowOn": (105, 2, (3, 0), (), "ShowOn", None),
308 }
309 _prop_map_put_ = {
310 "CopyLike": ((100, LCID, 4, 0),()),
311 "Enabled": ((103, LCID, 4, 0),()),
312 "MessageClass": ((26, LCID, 4, 0),()),
313 "Name": ((12289, LCID, 4, 0),()),
314 "Prefix": ((61, LCID, 4, 0),()),
315 "ReplyStyle": ((101, LCID, 4, 0),()),
316 "ResponseStyle": ((102, LCID, 4, 0),()),
317 "ShowOn": ((105, LCID, 4, 0),()),
318 }
319
321 CLSID = IID('{0006303E-0000-0000-C000-000000000046}')
322 coclass_clsid = None
323
324 # Result is of type Action
326 ret = self._oleobj_.InvokeTypes(100, LCID, 1, (9, 0), (),)
327 if ret is not None:
328 ret = Dispatch(ret, 'Add', '{00063043-0000-0000-C000-000000000046}', UnicodeToString=0)
329 return ret
330
331 # Result is of type Action
333 ret = self._oleobj_.InvokeTypes(81, LCID, 1, (9, 0), ((12, 1),),Index)
334 if ret is not None:
335 ret = Dispatch(ret, 'Item', '{00063043-0000-0000-C000-000000000046}', UnicodeToString=0)
336 return ret
337
339 return self._oleobj_.InvokeTypes(82, LCID, 1, (24, 0), ((3, 1),),Index)
340
341 _prop_map_get_ = {
342 # Method 'Application' returns object of type '_Application'
343 "Application": (61440, 2, (9, 0), (), "Application", '{00063001-0000-0000-C000-000000000046}'),
344 "Class": (61450, 2, (3, 0), (), "Class", None),
345 "Count": (80, 2, (3, 0), (), "Count", None),
346 "Parent": (61441, 2, (9, 0), (), "Parent", None),
347 # Method 'Session' returns object of type '_NameSpace'
348 "Session": (61451, 2, (9, 0), (), "Session", '{00063002-0000-0000-C000-000000000046}'),
349 }
350 _prop_map_put_ = {
351 }
352 #This class has Item property/method which may take args - allow indexed access
354 return self._get_good_object_(self._oleobj_.Invoke(*(81, LCID, 1, 1, item)), "Item")
355 #This class has Count() property - allow len(ob) to provide this
358 #This class has a __len__ - this is needed so 'if object:' always returns TRUE.
361
363 CLSID = IID('{0006304A-0000-0000-C000-000000000046}')
364 coclass_clsid = None
365
366 # Result is of type AddressEntry
367 - def Add(self, Type=defaultNamedNotOptArg, Name=defaultNamedOptArg, Address=defaultNamedOptArg):
368 ret = self._oleobj_.InvokeTypes(95, LCID, 1, (9, 0), ((8, 1), (12, 17), (12, 17)),Type, Name, Address)
369 if ret is not None:
370 ret = Dispatch(ret, 'Add', '{0006304B-0000-0000-C000-000000000046}', UnicodeToString=0)
371 return ret
372
373 # Result is of type AddressEntry
375 ret = self._oleobj_.InvokeTypes(86, LCID, 1, (9, 0), (),)
376 if ret is not None:
377 ret = Dispatch(ret, 'GetFirst', '{0006304B-0000-0000-C000-000000000046}', UnicodeToString=0)
378 return ret
379
380 # Result is of type AddressEntry
382 ret = self._oleobj_.InvokeTypes(88, LCID, 1, (9, 0), (),)
383 if ret is not None:
384 ret = Dispatch(ret, 'GetLast', '{0006304B-0000-0000-C000-000000000046}', UnicodeToString=0)
385 return ret
386
387 # Result is of type AddressEntry
389 ret = self._oleobj_.InvokeTypes(87, LCID, 1, (9, 0), (),)
390 if ret is not None:
391 ret = Dispatch(ret, 'GetNext', '{0006304B-0000-0000-C000-000000000046}', UnicodeToString=0)
392 return ret
393
394 # Result is of type AddressEntry
396 ret = self._oleobj_.InvokeTypes(89, LCID, 1, (9, 0), (),)
397 if ret is not None:
398 ret = Dispatch(ret, 'GetPrevious', '{0006304B-0000-0000-C000-000000000046}', UnicodeToString=0)
399 return ret
400
401 # Result is of type AddressEntry
403 ret = self._oleobj_.InvokeTypes(81, LCID, 1, (9, 0), ((12, 1),),Index)
404 if ret is not None:
405 ret = Dispatch(ret, 'Item', '{0006304B-0000-0000-C000-000000000046}', UnicodeToString=0)
406 return ret
407
409 return self._oleobj_.InvokeTypes(97, LCID, 1, (24, 0), ((12, 17), (12, 17)),Property, Order)
410
411 _prop_map_get_ = {
412 # Method 'Application' returns object of type '_Application'
413 "Application": (61440, 2, (9, 0), (), "Application", '{00063001-0000-0000-C000-000000000046}'),
414 "Class": (61450, 2, (3, 0), (), "Class", None),
415 "Count": (80, 2, (3, 0), (), "Count", None),
416 "Parent": (61441, 2, (9, 0), (), "Parent", None),
417 "RawTable": (90, 2, (13, 0), (), "RawTable", None),
418 # Method 'Session' returns object of type '_NameSpace'
419 "Session": (61451, 2, (9, 0), (), "Session", '{00063002-0000-0000-C000-000000000046}'),
420 }
421 _prop_map_put_ = {
422 }
423 #This class has Item property/method which may take args - allow indexed access
425 return self._get_good_object_(self._oleobj_.Invoke(*(81, LCID, 1, 1, item)), "Item")
426 #This class has Count() property - allow len(ob) to provide this
429 #This class has a __len__ - this is needed so 'if object:' always returns TRUE.
432
434 CLSID = IID('{0006304B-0000-0000-C000-000000000046}')
435 coclass_clsid = None
436
438 return self._oleobj_.InvokeTypes(770, LCID, 1, (24, 0), (),)
439
441 return self._oleobj_.InvokeTypes(769, LCID, 1, (24, 0), ((12, 17),),HWnd)
442
443 - def GetFreeBusy(self, Start=defaultNamedNotOptArg, MinPerChar=defaultNamedNotOptArg, CompleteFormat=defaultNamedOptArg):
444 # Result is a Unicode object - return as-is for this version of Python
445 return self._oleobj_.InvokeTypes(774, LCID, 1, (8, 0), ((7, 1), (3, 1), (12, 17)),Start, MinPerChar, CompleteFormat)
446
448 return self._oleobj_.InvokeTypes(768, LCID, 1, (24, 0), ((12, 17), (12, 17)),MakePermanent, Refresh)
449
451 return self._oleobj_.InvokeTypes(775, LCID, 1, (24, 0), (),)
452
453 _prop_map_get_ = {
454 "Address": (12291, 2, (8, 0), (), "Address", None),
455 # Method 'Application' returns object of type '_Application'
456 "Application": (61440, 2, (9, 0), (), "Application", '{00063001-0000-0000-C000-000000000046}'),
457 "Class": (61450, 2, (3, 0), (), "Class", None),
458 "DisplayType": (14592, 2, (3, 0), (), "DisplayType", None),
459 "ID": (61470, 2, (8, 0), (), "ID", None),
460 "MAPIOBJECT": (61696, 2, (13, 0), (), "MAPIOBJECT", None),
461 # Method 'Manager' returns object of type 'AddressEntry'
462 "Manager": (771, 2, (9, 0), (), "Manager", '{0006304B-0000-0000-C000-000000000046}'),
463 # Method 'Members' returns object of type 'AddressEntries'
464 "Members": (772, 2, (9, 0), (), "Members", '{0006304A-0000-0000-C000-000000000046}'),
465 "Name": (12289, 2, (8, 0), (), "Name", None),
466 "Parent": (61441, 2, (9, 0), (), "Parent", None),
467 # Method 'Session' returns object of type '_NameSpace'
468 "Session": (61451, 2, (9, 0), (), "Session", '{00063002-0000-0000-C000-000000000046}'),
469 "Type": (12290, 2, (8, 0), (), "Type", None),
470 }
471 _prop_map_put_ = {
472 "Address": ((12291, LCID, 4, 0),()),
473 "MAPIOBJECT": ((61696, LCID, 4, 0),()),
474 "Name": ((12289, LCID, 4, 0),()),
475 "Type": ((12290, LCID, 4, 0),()),
476 }
477
479 CLSID = IID('{00063049-0000-0000-C000-000000000046}')
480 coclass_clsid = None
481
482 _prop_map_get_ = {
483 # Method 'AddressEntries' returns object of type 'AddressEntries'
484 "AddressEntries": (256, 2, (9, 0), (), "AddressEntries", '{0006304A-0000-0000-C000-000000000046}'),
485 # Method 'Application' returns object of type '_Application'
486 "Application": (61440, 2, (9, 0), (), "Application", '{00063001-0000-0000-C000-000000000046}'),
487 "Class": (61450, 2, (3, 0), (), "Class", None),
488 "ID": (61470, 2, (8, 0), (), "ID", None),
489 "Index": (91, 2, (3, 0), (), "Index", None),
490 "IsReadOnly": (61463, 2, (11, 0), (), "IsReadOnly", None),
491 "Name": (12289, 2, (8, 0), (), "Name", None),
492 "Parent": (61441, 2, (9, 0), (), "Parent", None),
493 # Method 'Session' returns object of type '_NameSpace'
494 "Session": (61451, 2, (9, 0), (), "Session", '{00063002-0000-0000-C000-000000000046}'),
495 }
496 _prop_map_put_ = {
497 }
498
500 CLSID = IID('{00063048-0000-0000-C000-000000000046}')
501 coclass_clsid = None
502
503 # Result is of type AddressList
505 ret = self._oleobj_.InvokeTypes(81, LCID, 1, (9, 0), ((12, 1),),Index)
506 if ret is not None:
507 ret = Dispatch(ret, 'Item', '{00063049-0000-0000-C000-000000000046}', UnicodeToString=0)
508 return ret
509
510 _prop_map_get_ = {
511 # Method 'Application' returns object of type '_Application'
512 "Application": (61440, 2, (9, 0), (), "Application", '{00063001-0000-0000-C000-000000000046}'),
513 "Class": (61450, 2, (3, 0), (), "Class", None),
514 "Count": (80, 2, (3, 0), (), "Count", None),
515 "Parent": (61441, 2, (9, 0), (), "Parent", None),
516 # Method 'Session' returns object of type '_NameSpace'
517 "Session": (61451, 2, (9, 0), (), "Session", '{00063002-0000-0000-C000-000000000046}'),
518 }
519 _prop_map_put_ = {
520 }
521 #This class has Item property/method which may take args - allow indexed access
523 return self._get_good_object_(self._oleobj_.Invoke(*(81, LCID, 1, 1, item)), "Item")
524 #This class has Count() property - allow len(ob) to provide this
527 #This class has a __len__ - this is needed so 'if object:' always returns TRUE.
530
532 CLSID = CLSID_Sink = IID('{0006304E-0000-0000-C000-000000000046}')
533 coclass_clsid = IID('{0006F03A-0000-0000-C000-000000000046}')
534 _public_methods_ = [] # For COM Server support
535 _dispid_to_func_ = {
536 61447 : "OnQuit",
537 61442 : "OnItemSend",
538 61446 : "OnStartup",
539 61443 : "OnNewMail",
540 61444 : "OnReminder",
541 61445 : "OnOptionsPagesAdd",
542 }
543
545 if oobj is None:
546 self._olecp = None
547 else:
548 import win32com.server.util
549 from win32com.server.policy import EventHandlerPolicy
550 cpc=oobj._oleobj_.QueryInterface(pythoncom.IID_IConnectionPointContainer)
551 cp=cpc.FindConnectionPoint(self.CLSID_Sink)
552 cookie=cp.Advise(win32com.server.util.wrap(self, usePolicy=EventHandlerPolicy))
553 self._olecp,self._olecp_cookie = cp,cookie
560 if self._olecp is not None:
561 cp,cookie,self._olecp,self._olecp_cookie = self._olecp,self._olecp_cookie,None,None
562 cp.Unadvise(cookie)
566
567 # Event Handlers
568 # If you create handlers, they should have the following prototypes:
569 # def OnQuit(self):
570 # def OnItemSend(self, Item=defaultNamedNotOptArg, Cancel=defaultNamedNotOptArg):
571 # def OnStartup(self):
572 # def OnNewMail(self):
573 # def OnReminder(self, Item=defaultNamedNotOptArg):
574 # def OnOptionsPagesAdd(self, Pages=defaultNamedNotOptArg):
575
576
578 CLSID = IID('{00063007-0000-0000-C000-000000000046}')
579 coclass_clsid = None
580
582 return self._oleobj_.InvokeTypes(105, LCID, 1, (24, 0), (),)
583
585 return self._oleobj_.InvokeTypes(104, LCID, 1, (24, 0), ((8, 1),),Path)
586
587 _prop_map_get_ = {
588 # Method 'Application' returns object of type '_Application'
589 "Application": (61440, 2, (9, 0), (), "Application", '{00063001-0000-0000-C000-000000000046}'),
590 "Class": (61450, 2, (3, 0), (), "Class", None),
591 "DisplayName": (12289, 2, (8, 0), (), "DisplayName", None),
592 "FileName": (14084, 2, (8, 0), (), "FileName", None),
593 "Index": (91, 2, (3, 0), (), "Index", None),
594 "MAPIOBJECT": (61696, 2, (13, 0), (), "MAPIOBJECT", None),
595 "Parent": (113, 2, (9, 0), (), "Parent", None),
596 "PathName": (14088, 2, (8, 0), (), "PathName", None),
597 "Position": (114, 2, (3, 0), (), "Position", None),
598 # Method 'Session' returns object of type '_NameSpace'
599 "Session": (61451, 2, (9, 0), (), "Session", '{00063002-0000-0000-C000-000000000046}'),
600 "Type": (14085, 2, (3, 0), (), "Type", None),
601 }
602 _prop_map_put_ = {
603 "DisplayName": ((12289, LCID, 4, 0),()),
604 "Position": ((114, LCID, 4, 0),()),
605 }
606
608 CLSID = IID('{0006303C-0000-0000-C000-000000000046}')
609 coclass_clsid = None
610
611 # Result is of type Attachment
612 - def Add(self, Source=defaultNamedNotOptArg, Type=defaultNamedOptArg, Position=defaultNamedOptArg, DisplayName=defaultNamedOptArg):
613 ret = self._oleobj_.InvokeTypes(101, LCID, 1, (9, 0), ((12, 1), (12, 17), (12, 17), (12, 17)),Source, Type, Position, DisplayName)
614 if ret is not None:
615 ret = Dispatch(ret, 'Add', '{00063007-0000-0000-C000-000000000046}', UnicodeToString=0)
616 return ret
617
618 # Result is of type Attachment
620 ret = self._oleobj_.InvokeTypes(81, LCID, 1, (9, 0), ((12, 1),),Index)
621 if ret is not None:
622 ret = Dispatch(ret, 'Item', '{00063007-0000-0000-C000-000000000046}', UnicodeToString=0)
623 return ret
624
626 return self._oleobj_.InvokeTypes(84, LCID, 1, (24, 0), ((3, 1),),Index)
627
628 _prop_map_get_ = {
629 # Method 'Application' returns object of type '_Application'
630 "Application": (61440, 2, (9, 0), (), "Application", '{00063001-0000-0000-C000-000000000046}'),
631 "Class": (61450, 2, (3, 0), (), "Class", None),
632 "Count": (80, 2, (3, 0), (), "Count", None),
633 "Parent": (61441, 2, (9, 0), (), "Parent", None),
634 # Method 'Session' returns object of type '_NameSpace'
635 "Session": (61451, 2, (9, 0), (), "Session", '{00063002-0000-0000-C000-000000000046}'),
636 }
637 _prop_map_put_ = {
638 }
639 #This class has Item property/method which may take args - allow indexed access
641 return self._get_good_object_(self._oleobj_.Invoke(*(81, LCID, 1, 1, item)), "Item")
642 #This class has Count() property - allow len(ob) to provide this
645 #This class has a __len__ - this is needed so 'if object:' always returns TRUE.
648
650 CLSID = IID('{0006304D-0000-0000-C000-000000000046}')
651 coclass_clsid = None
652
653 _prop_map_get_ = {
654 # Method 'Application' returns object of type '_Application'
655