IAppointment::Cancel (Windows CE 5.0)
This method sends a cancellation of a meeting request.
HRESULT Cancel ();
Return Values
S_OK indicates success. If an error occurs, the appropriate HRESULT is returned.
Remarks
This method does not remove an appointment from the user's calendar. To both cancel and remove an appointment, you must first call Cancel, then Delete.
In the Outlook Object Model, you must set the MeetingStatus property to the value olMeetingCanceled, then call Send. In POOM, MeetingStatus is a read-only property. Thus you use Cancel instead.
Requirements
OS Versions: Windows CE 2.0 and later.
Header: Pimstore.h.
Link Library: Pimstore.lib.
See Also
IAppointment | IAppointment Properties
Send Feedback on this topic to the authors