mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00:00
[kernel]
- Fail in DosDateTimeToFileTime if prior time conversion was unsuccessful - Should fix the NetStats installation, bug #4917, part 2 svn path=/trunk/; revision=44345
This commit is contained in:
parent
09bdd4ffa0
commit
fb3101148f
1 changed files with 4 additions and 1 deletions
|
@ -318,7 +318,10 @@ DosDateTimeToFileTime(WORD wFatDate,
|
|||
SystemTime.wMonth = pddate->Month;
|
||||
SystemTime.wYear = 1980 + pddate->Year;
|
||||
|
||||
SystemTimeToFileTime(&SystemTime,lpFileTime);
|
||||
if (SystemTimeToFileTime(&SystemTime, lpFileTime) == FALSE)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue