MSDN Library
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Windows Mobile POOM Sample Code

Windows Mobile 6.5

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


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

Add Contacts' Birthdays to Calendar


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


Pocket Outlook Object Model (POOM), 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: \CS\AppointmentOverSms



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

Other Resources

Community Additions

© 2016 Microsoft