GetDaylight

Definition

VARIANT_BOOL GetDaylight ([in] LONG dwMachineNumber, [out] LONG* Support, [out] BSTR* BeginTime, [out] BSTR* EndTime)

Usage

Obtain DST settings of the current device

Parameter

dwMachineNumber Device number
Support Whether to use DST. 1: use, 0: not use
BeginTime Start time of DST, in format of mmdd hh:mm
EndTime End time of DST, in format of mmdd hh:mm

ReturnValue

Return True if it is successful, or return False.

RelatedFunction

SetDaylight