Packs time information into a DOS packed time value.
#include <smsutapi.h> UINT16 NWSMPackTime ( UINT16 hours, UINT16 minutes, UINT16 seconds);
(IN) Specifies the hour value to pack (0-23).
(IN) Specifies the minute value to pack (0-59).
(IN) Specifies the number of seconds to pack.
If NWSMPackTime is successful, it returns the DOS packed time value.
NWSMPackTime returns a DOS packed time value in a 16-bit variable as follows:
hhhhhmmmmmmbbbbb
where
h = hours m = minutes b= biseconds
NWSMPackTime assumes that all input values are correct.
Do not divide seconds by two.