Share via


IItem::get_DefaultItemType (Compact 7)

3/12/2014

The get_DefaultItemType method gets a PIM item's type.

Syntax

HRESULT get_DefaultItemType(
  int * polItem
)

Parameters

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

Return Value

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.

Remarks

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

Requirements

Header

pimstore.h

Library

Pimstore.lib

See Also

Reference

IItem
IFolder::get_DefaultItemType