Navigating the Cancel Appointment Sample Application Source Code
Topic Last Modified: 2007-04-17
CancelAppointment.cpp contains the source code for the Cancel Appointment sample application and is installed in the directory in which the Microsoft Exchange Server 2007 Software Development Kit (SDK) is installed, in the \Samples\CancelAppointment\ folder. The following table lists the functions that are relevant to canceling an appointment.
Function | Description |
---|---|
main(int argc, char* argv[]) |
Functions as the main entry point for the application. This application cancels an appointment in the user's calendar. |
ConnectToMailbox(bstr_t mailTo) |
Connects to the user's mailbox. |
CancelAppointment(DATE startTime, DATE endTime,bstr_t subject,bstr_t location,bstr_t textbody, bstr_t calendarUrl) |
Cancels an appointment in the user's Calendar mailbox folder. |