Microsoft Internet Security and Acceleration Server 2004 SDK

FpcDaysOfWeek

The FpcDaysOfWeek enumerated type contains bit values that describe the days of the week.

typedef enum FpcDaysOfWeek
{
  fpcNone
fpcNone
No day.
 = 0x00000000,
  fpcSundayBit
fpcSundayBit
Sunday.
 = 0x00000001,
  fpcMondayBit
fpcMondayBit
Monday.
 = 0x00000002,
  fpcTuesdayBit
fpcTuesdayBit
Tuesday.
 = 0x00000004,
  fpcWednesdayBit
fpcWednesdayBit
Wednesday.
 = 0x00000008,
  fpcThursdayBit
fpcThursdayBit
Thursday.
 = 0x00000010,
  fpcFridayBit
fpcFridayBit
Friday.
 = 0x00000020,
  fpcSaturdayBit
fpcSaturdayBit
Saturday.
 = 0x00000040

} FpcDaysOfWeek;

Constants

fpcNone
No day.
fpcSundayBit
Sunday.
fpcMondayBit
Monday.
fpcTuesdayBit
Tuesday.
fpcWednesdayBit
Wednesday.
fpcThursdayBit
Thursday.
fpcFridayBit
Friday.
fpcSaturdayBit
Saturday.

Remarks

You can combine these bit values using the Or operator to obtain a value that specifies two or more days of the week. For example, combining the binary values for Sunday (1), Tuesday (100), and Thursday (10000) results in the binary value 10101. The right bit represents Sunday, the next bit represents Monday, and so on. Thus, the bits corresponding to Sunday, Tuesday, and Thursday are set, while the bits corresponding to Monday and Wednesday are not set. This binary value is equal to the hexadecimal value 0x15 (which corresponds to the decimal value 21).

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Comenum.h.

See Also

Enumerated Types