NMDAYSTATE structure (commctrl.h)

Carries information required to process the MCN_GETDAYSTATE notification code. All members of this structure are for input, except prgDayState, which the receiving application must set when processing MCN_GETDAYSTATE.

Syntax

typedef struct tagNMDAYSTATE {
  NMHDR           nmhdr;
  SYSTEMTIME      stStart;
  int             cDayState;
  LPMONTHDAYSTATE prgDayState;
} NMDAYSTATE, *LPNMDAYSTATE;

Members

nmhdr

Type: NMHDR

NMHDR structure that contains information about this notification code.

stStart

Type: SYSTEMTIME

SYSTEMTIME structure that contains the starting date.

cDayState

Type: int

INT value specifying the total number of elements that must be in the array at prgDayState.

prgDayState

Type: LPMONTHDAYSTATE

Address of an array of MONTHDAYSTATE values. The buffer at this address must be large enough to contain at least cDayState elements. The first element in the array corresponds to the date in stStart.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header commctrl.h