mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
tz command fixed (info class 44).
svn path=/trunk/; revision=1519
This commit is contained in:
parent
01531797b4
commit
a04660d2b0
1 changed files with 9 additions and 14 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: qsi.c,v 1.5 2001/01/14 19:59:43 ea Exp $
|
/* $Id: qsi.c,v 1.6 2001/01/14 20:16:37 ea Exp $
|
||||||
*
|
*
|
||||||
* PROJECT : ReactOS Operating System (see http://www.reactos.com/)
|
* PROJECT : ReactOS Operating System (see http://www.reactos.com/)
|
||||||
* DESCRIPTION: Tool to query system information
|
* DESCRIPTION: Tool to query system information
|
||||||
|
@ -1964,14 +1964,13 @@ CMD_NOT_IMPLEMENTED
|
||||||
*/
|
*/
|
||||||
CMD_DEF(44)
|
CMD_DEF(44)
|
||||||
{
|
{
|
||||||
#if 0
|
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
TIME_ZONE_INFORMATION Tzi;
|
SYSTEM_TIME_ZONE_INFORMATION Tzi;
|
||||||
WCHAR Name [33];
|
WCHAR Name [33];
|
||||||
|
|
||||||
RtlZeroMemory (& Tzi, sizeof Tzi);
|
RtlZeroMemory (& Tzi, sizeof Tzi);
|
||||||
Status = NtQuerySystemInformation(
|
Status = NtQuerySystemInformation(
|
||||||
SystemTimeZoneInformation,
|
44,
|
||||||
& Tzi,
|
& Tzi,
|
||||||
sizeof Tzi,
|
sizeof Tzi,
|
||||||
0
|
0
|
||||||
|
@ -1981,10 +1980,6 @@ CMD_DEF(44)
|
||||||
PrintStatus (Status);
|
PrintStatus (Status);
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
printf (
|
|
||||||
"12h/24h.....: %dh\n",
|
|
||||||
0 /* FIXME: */
|
|
||||||
);
|
|
||||||
printf (
|
printf (
|
||||||
" Bias........: %d'\n",
|
" Bias........: %d'\n",
|
||||||
Tzi.Bias /* LONG */
|
Tzi.Bias /* LONG */
|
||||||
|
@ -2007,7 +2002,7 @@ CMD_DEF(44)
|
||||||
|
|
||||||
PrintUtcDateTime (
|
PrintUtcDateTime (
|
||||||
"\tDate: %s\n",
|
"\tDate: %s\n",
|
||||||
& Tzi.StandardDate /* SYSTEMTIME */
|
(PTIME) & Tzi.StandardDate /* SYSTEMTIME */
|
||||||
);
|
);
|
||||||
|
|
||||||
printf ("\tBias: %d'\n",
|
printf ("\tBias: %d'\n",
|
||||||
|
@ -2031,14 +2026,14 @@ CMD_DEF(44)
|
||||||
|
|
||||||
PrintUtcDateTime (
|
PrintUtcDateTime (
|
||||||
"\tDate: %s\n",
|
"\tDate: %s\n",
|
||||||
& Tzi.DaylightDate /* SYSTEMTIME */
|
(PTIME) & Tzi.DaylightDate /* SYSTEMTIME */
|
||||||
);
|
);
|
||||||
|
|
||||||
printf (
|
printf (
|
||||||
"\tBias: %d'\n",
|
"\tBias: %d'\n",
|
||||||
Tzi.DaylightBias /* LONG */
|
Tzi.DaylightBias /* LONG */
|
||||||
);
|
);
|
||||||
#endif
|
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue