IItem::get_DefaultItemType

Windows Mobile 6.5
4/8/2010

The get_DefaultItemType method gets a PIM item's type.


HRESULT get_DefaultItemType(
  int * polItem
)

polItem

[out] Reference to the PIM item type. One of the OlItemType enumeration values.

This method returns the standard values HRESULT_FROM_WIN32(GetLastError()), E_INVALIDARG, and S_FAIL, as well as the following:

S_OK

The method completed successfully.

You can use IItem::get_DefaultItemType for all folder objects except the Infrared folder object, as well as PIM item objects.

Headerpimstore.h
LibraryPimstore.lib
Windows MobilePocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later
Show: