ITask::Save
The Save method saves a task item.
Syntax
HRESULT Save ();
Return Values
This method returns the standard values E_INVALIDREMINDERTIME, E_INVALIDDATES, E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:
- S_OK
The method completed successfully.
Remarks
ITask::Save generates an E_INVALIDDATES error when the following conditions are met:
- the HKLM\Software\Microsoft\Pim\Outlook\Outlook registry key is set to zero
- PIMPR_START_DATE is set to NONE
- PIMPR_DUE_DATE has a valid date
This registry setting is for Schedule+ backward compatibility. If you do not need Schedule+ backward compatibility, then set this value to one.
Requirements
Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: pimstore.h
Library: pimstore.lib
See Also
How to: Create a PIM Item | ITask | Pocket Outlook Object Model API Interfaces | Pocket Outlook Object Model API Enumerations
Send Feedback on this topic to the authors