Author: tkreuzer
Date: Tue Aug 11 17:45:56 2015
New Revision: 68692
URL: http://svn.reactos.org/svn/reactos?rev=68692&view=rev
Log:
[WIN32K]
Implement EngQueryLocalTime.
This commit would not have been possible without Colin's SVN superpowers.
Modified:
trunk/reactos/win32ss/gdi/eng/stubs.c
Modified: trunk/reactos/win32ss/gdi/eng/stubs.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/eng/stubs.c?re…
==============================================================================
--- trunk/reactos/win32ss/gdi/eng/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/eng/stubs.c [iso-8859-1] Tue Aug 11 17:45:56 2015
@@ -284,10 +284,21 @@
VOID
APIENTRY
-EngQueryLocalTime(OUT PENG_TIME_FIELDS ptf)
-{
- // www.osr.com/ddk/graphics/gdifncs_389z.htm
- UNIMPLEMENTED;
+EngQueryLocalTime(
+ _Out_ PENG_TIME_FIELDS ptf)
+{
+ LARGE_INTEGER liSystemTime, liLocalTime;
+ NT_ASSERT(ptf != NULL);
+
+ /* Query the system time */
+ KeQuerySystemTime(&liSystemTime);
+
+ /* Convert it to local time */
+ ExSystemTimeToLocalTime(&liSystemTime, &liLocalTime);
+
+ /* Convert the local time into time fields
+ (note that ENG_TIME_FIELDS is identical to TIME_FIELDS) */
+ RtlTimeToTimeFields(&liLocalTime, (PTIME_FIELDS)ptf);
}
ULONG
Author: cwittich
Date: Tue Aug 11 17:08:03 2015
New Revision: 68690
URL: http://svn.reactos.org/svn/reactos?rev=68690&view=rev
Log:
[NTOSKRNL] fix the order of arguments passed to DPRINT
Modified:
trunk/reactos/ntoskrnl/fsrtl/filelock.c
Modified: trunk/reactos/ntoskrnl/fsrtl/filelock.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/filelock.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/fsrtl/filelock.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/fsrtl/filelock.c [iso-8859-1] Tue Aug 11 17:08:03 2015
@@ -1010,7 +1010,7 @@
// we looked, but can't guarantee that it won't just be re-queued
// because somebody else snatched part of the range in a new thread.
DPRINT("Locking another IRP %p for %p %wZ\n",
- &FileObject->FileName, FileLock, NextMatchingLockIrp);
+ NextMatchingLockIrp, FileLock, &FileObject->FileName);
FsRtlProcessFileLock(InternalInfo->BelongsTo, NextMatchingLockIrp, NULL);
}
Author: bfreisen
Date: Tue Aug 11 14:15:05 2015
New Revision: 68686
URL: http://svn.reactos.org/svn/reactos?rev=68686&view=rev
Log:
[TOOLS][HHPCOMP] Do not build hhpcomp for now because the libraries it has to use appear to be less portable than I thought
Modified:
trunk/reactos/tools/CMakeLists.txt
Modified: trunk/reactos/tools/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/CMakeLists.txt?rev=6…
==============================================================================
--- trunk/reactos/tools/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/tools/CMakeLists.txt [iso-8859-1] Tue Aug 11 14:15:05 2015
@@ -15,7 +15,7 @@
add_subdirectory(cabman)
add_subdirectory(cdmake)
-add_subdirectory(hhpcomp)
+# add_subdirectory(hhpcomp)
add_subdirectory(hpp)
add_subdirectory(kbdtool)
add_subdirectory(mkhive)