comctl32: datetime: Reject invalid flags in DTM_SETSYSTEMTIME.
commit2a79d962787c01311faf6dfed7424057a9b20de0
authorKanit Therdsteerasukdi <therdste@ucla.edu>
Sun, 18 Mar 2007 19:39:40 +0000 (18 12:39 -0700)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 19 Mar 2007 12:08:36 +0000 (19 13:08 +0100)
tree14ccf8c8e2a914838de911121adcd94af48523f1
parentc9ca25aa1d64f8dbe2ec9c09039e81adc48608c6
comctl32: datetime: Reject invalid flags in DTM_SETSYSTEMTIME.

Reject invalid flags in DTM_SETSYSTEMTIME i.e. when the flag is neither
GDT_VALID nor GDT_NONE when the style is set to DTS_SHOWNONE.  Corresponding
setters and message sequence tests were also added.
dlls/comctl32/datetime.c
dlls/comctl32/tests/datetime.c