9.4 Appointment-Specific Information

The information in the appointment block is stored as a list of single appointments. Each appointment consists of a structure similar to the following:

struct {
    char cb;
    char flags;
    int  time;
    char szApptDesc[];
};

Following are the members in each appointment structure:

cb

Specifies the size, in bytes, of the structure containing the appointment. The structure address of the next appointment is the current appointment plus the value of the cb member.

flags

Contains various flags. This member can have one or more of the following values:

Value Meaning

1 Alarm will go off at the specified time of the appointment.
2 Appointment is a special time.

time

Specifies the number of minutes past midnight.

szApptDesc

Contains a null-terminated string consisting of text associated with an appointment.