SetDaylightTime (Windows Embedded CE 6.0)

1/6/2010

This function sets the current state of daylight saving time.

Syntax

void SetDaylightTime(
  DWORD dst
);

Parameters

  • Dst
    [in] Integer that indicates whether or not day light savings time is in effect.

    A value of 1 indicates that daylight saving time is in effect.

    A value of zero indicates that standard time is in effect.

Return Value

None.

Remarks

To retrieve the current time zone state call GetTimeZoneInformation.

Requirements

Header winbase.h
Library coredll.lib
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

Time Functions
GetTimeZoneInformation

Concepts

Daylight Saving Time Registry Settings

Other Resources

Timer Driver Reference