POOM Sample Code
The Windows Mobile Version 5.0 Pocket PC and Smartphone SDKs ship with a set of code samples that demonstrate how to use the Pocket Outlook Object Model (POOM) APIs. The default install location for them is C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Samples\CPP\Win32\
.
Code Sample Name | Language | PPC | SP | APIs Used | Description |
---|---|---|---|---|---|
Medical History | C++ Win32 | x | IItem::SetProps, IPOutlookApp2::GetIDsFromNames, IPOutlookApp2 (IPOutlookApp::Logon, IPOutlookApp2::GetItemFromOidEx), IItem (IItem::GetProps, IItem::Save), Menu Extensibility, IContextMenu, IObjectWithSite | Demonstrates how to add a menu extension to the contacts summary card.
Folder: |
|
Calendar List View | C++ Win32 | x | CEPROPVAL, GetCursor, IDispatch, IFolder, IItem, InitCommonControlsEx, INITCOMMONCONTROLSEX, IPOutlookApp2, IPOutlookItemCollection, LoadCursor, LVCOLUMN, LVITEM, MSG, SetCursor, SHINITDLGINFO, SHMENUBARINFO | Demonstrates how to use the POOM IItem interface for appointment items, and POOM notifications. It displays a list-view with all calendar items.
Folder: |
|
Picture Dialer | C++ Win32 | x | x | Pocket Outlook Object Model (POOM), ChooseContact | Demonstrates how to associate a phone number and picture with a digit in a grid. Pressing the digit will dial the phone number.
Folder: |
Register a Source Provider | C++ Win32 | x | CEPROPVAL, IPimSrcContactListIcon::Paint, IPimSrcContactSummaryCard::Display, PIMSRC_COLOR, Source Provider Customization Type Flags | The following application registers a source provider for the Contacts and Calendar applications.
Folder: |
|
POOM Master | C++ Win32 | x | x | Pocket Outlook Object Model (POOM), IPOutlookApp, IPOutlookItemCollection, ITask, IContact, IAppointment, ListView_InsertItem, Date and Time Picker Controls | Demonstrates how to use the POOM API. Via an owner-drawn list-view control, POOMMaster displays currently stored PIM items (Contacts, Tasks, and calendar Appointments).
Folder: |
POOM Application | C# | x | Microsoft.WindowsMobile.PocketOutlook, Microsoft.WindowsMobile.Telephony | Demonstrates how to write a Personal Information Manager (PIM)/Messaging application that uses API members from the Microsoft.WindowsMobile.PocketOutlook namespace, along with API members from the Microsoft.WindowsMobile.Telephony namespace.
Folder: |
|
Add Contacts' Birthdays to Calendar | C# | x | x | Microsoft.WindowsMobile.PocketOutlook, Microsoft.WindowsMobile.PocketOutlook.Appointment, Appointment.RecurrencePattern, Recurrence | Demonstrates how to write a managed Pocket Outlook Object Model (POOM) application.
Folder: |
Send Meeting Requests Over SMS | C# | x | Pocket Outlook Object Model (POOM), Pocket Outlook Object Model (POOM) API, Microsoft.WindowsMobile.PocketOutlook Namespace | Demonstrates how to use custom controls to pick an Appointment and a Contact, then send a meeting request to the Contact over SMS.
Folder: |
|
SMSIM | C# | x | x | Pocket Outlook Object Model (POOM), MessageInterceptor Class | Demonstrates how to use C# to write a managed code version of a Short Messaging Service (SMS) interception application.
Folder: |
Manage Tasks | C++ Win32 | x | IPOutlookItemCollection, IRecurrencePattern, ITask | Demonstrates how to write a Personal Information Manager (PIM)/Messaging application that uses API members from the Pocket Outlook Object Model (POOM) to create, delete, and otherwise manage tasks.
Folder: |
See Also
Pocket Outlook Object Model (POOM)
Send Feedback on this topic to the authors