The FpcDaysOfWeek enumerated type contains bit values that describe the days of the week.
typedef enum FpcDaysOfWeek { fpcNone
No day.
= 0x00000000, fpcSundayBit
Sunday.
= 0x00000001, fpcMondayBit
Monday.
= 0x00000002, fpcTuesdayBit
Tuesday.
= 0x00000004, fpcWednesdayBit
Wednesday.
= 0x00000008, fpcThursdayBit
Thursday.
= 0x00000010, fpcFridayBit
Friday.
= 0x00000020, fpcSaturdayBit
Saturday.
= 0x00000040 } FpcDaysOfWeek;
No day.
Sunday.
Monday.
Tuesday.
Wednesday.
Thursday.
Friday.
Saturday.
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).
Client | Requires Windows Vista or Windows XP. |
---|---|
Server | Requires Windows Server 2008. |
Version | Requires Forefront Threat Management Gateway (TMG). |
Header |
Declared in Comenum.h. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.