FpcDaysOfWeek Enumeration

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

Syntax

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

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
Header

Declared in Comenum.h.

See Also

Enumerated Types


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.