Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The Windows Mobile Standard SDK ships 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 Mobile 6.5.3 DTK\Samples\.

Code Sample Name Language APIs Used Description

Medical History

C++ Win32

IItem::SetProps, IPOutlookApp2::GetIDsFromNames, IPOutlookApp2( IPOutlookApp::Logon, IPOutlookApp2::GetItemFromOidEx), IItem( IItem::GetProps, IItem::Save), Menu Overview, IContextMenu, IObjectWithSite

Demonstrates how to add a menu extension to the contacts summary card.

Folder: \Medicalhistory\MedicalHistory

Calendar List View

C++ Win32

CEPROPVAL, GetCursor, IDispatch, IFolder, IItem, InitCommonControlsEx (function), INITCOMMONCONTROLSEX (structure), IPOutlookApp2, IPOutlookItemCollection, LoadCursor, LVCOLUMN, LVITEM, MSG, SetCursor

Demonstrates how to use the POOM IItem interface for appointment items, and POOM notifications. It displays a list-view with all calendar items.

Folder: \Calendarview

Picture Dialer

C++ Win32

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: \Picturedialer

Register a Source Provider

C++ Win32

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: \Pimexprovider

POOM Master

C++ Win32

Pocket Outlook Object Model (POOM), IPOutlookApp, IPOutlookItemCollection, ITask, IContact, IAppointment, ListView_InsertItem, Date and Time Picker Controls Reference

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: \Poommaster

POOM Application

C#

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.PocketOutlooknamespace, along with API members from the Microsoft.WindowsMobile.Telephonynamespace.

Folder: \Pocketoutlooksample

Add Contacts' Birthdays to Calendar

C#

Microsoft.WindowsMobile.PocketOutlook, Appointment, RecurrencePattern, Recurrence

Demonstrates how to write a managed Pocket Outlook Object Model (POOM) application.

Folder: \Birthdaystocalendar

Send Meeting Requests Over SMS

C#

Pocket Outlook Object Model (POOM), Microsoft.WindowsMobile.PocketOutlooknamespace

Demonstrates how to use custom controls to pick an Appointment and a Contact, then send a meeting request to the Contact over SMS.

Folder: \CS\AppointmentOverSms

SMSIM

C#

Pocket Outlook Object Model (POOM), MessageInterceptorclass

Demonstrates how to use C# to write a managed code version of a Short Messaging Service (SMS) interception application.

Folder: \CS\Smsim

Manage Tasks

C++ Win32

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: \Poomtasks

See Also

Other Resources