Incorporated changed from Boudewijn

svn path=/trunk/; revision=206
This commit is contained in:
Rex Jolliff 1999-02-05 19:24:10 +00:00
parent d4195242ff
commit 67c37a748e
8 changed files with 796 additions and 649 deletions

View file

@ -233,59 +233,10 @@ GetVersionExA(
return TRUE;
}
VOID GetSystemTime(
LPSYSTEMTIME lpSystemTime
)
{
NTSTATUS errCode;
memset(lpSystemTime,sizeof(SYSTEMTIME),0);
// errCode = NtQuerySystemTime (
// (TIME *)lpSystemTime
// );
return;
}
WINBOOL
STDCALL
SetSystemTime(
CONST SYSTEMTIME *lpSystemTime
)
{
NTSTATUS errCode;
LARGE_INTEGER NewSystemTime;
errCode = NtSetSystemTime (
(LARGE_INTEGER *)lpSystemTime,
&NewSystemTime
);
if ( !NT_SUCCESS(errCode) )
return FALSE;
return TRUE;
}
VOID
STDCALL
GetLocalTime(
LPSYSTEMTIME lpSystemTime
)
{
GetSystemTime(lpSystemTime);
}
WINBOOL
STDCALL
SetLocalTime(
CONST SYSTEMTIME *lpSystemTime
)
{
return SetSystemTime(lpSystemTime);
}
LPSTR
STDCALL
GetEnvironmentStringsA(