IItem::get_DefaultItemType
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 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.
Remarks
You can use IItem::get_DefaultItemType for folder objects as well as PIM item objects.
Requirements
Pocket PC: Windows Mobile Version 5.0 and later
Smartphone: Windows Mobile Version 5.0 and later
OS Versions: Windows CE 5.01 and later
Header: pimstore.h
Library: pimstore.lib
See Also
IItem | Pocket Outlook Object Model API Interfaces | Pocket Outlook Object Model API Enumerations | IFolder::get_DefaultItemType
Send Feedback on this topic to the authors