Skip to content

Performing scheduling actions on calendar notices

Chapter 11-5
Performing scheduling actions on calendar notices

Performing scheduling actions on calendar notices

Similar to CalEntryAction, actions can be taken on notices via CalNoticeAction or CalNoticeActionUNID. Different actions are possible depending on the type of notice.

Invitations or reschedules can be accepted, declined, delegated, countered, etc. In addition to updating the mailfile with the result of the action, these will result in corresponding notices being sent to the meeting organizer. Information updates and cancelations are applied without sending notices to the organizer since they do not require responses.

Meeting organizers can also respond to notices from participants. For instance, counterproposals can be accepted or declined and requests for information can be granted.

Example Using Calendar and Scheduling Functions

  • Accept
/*
code snippet

if organizer has sent an invitation, attendee can accept it using CalNoticeAction.
first, call CalGetNewInvitations to find the noteID of the notice.
second, call CalNoticeAction to accept it.

*/

STATUS error = NOERROR;

WORD wNumNotices = 0;
MEMHANDLE hRetCalData = NULL;

error = CalNoticeAction(hDB, noteID, CAL_PROCESS_ACCEPT, NULL, NULL, CAL_ACTION_DO_OVERWRITE_CHECK, NULL);

---