[3/3] ntdll: Add trace for NtQueryEvent/Semaphore. (v3)

Sebastian Lackner sebastian at fds-team.de
Mon May 2 19:55:56 CDT 2016


From: Daniel Lehman <dlehman25 at gmail.com>

Signed-off-by: Daniel Lehman <dlehman25 at gmail.com>
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---
Changes in v3:
* Remove ":" at end of TRACE and add spaces inbetween of arguments.

 dlls/ntdll/sync.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dlls/ntdll/sync.c b/dlls/ntdll/sync.c
index e949df6..74f7779 100644
--- a/dlls/ntdll/sync.c
+++ b/dlls/ntdll/sync.c
@@ -235,6 +235,8 @@ NTSTATUS WINAPI NtQuerySemaphore( HANDLE handle, SEMAPHORE_INFORMATION_CLASS cla
     NTSTATUS ret;
     SEMAPHORE_BASIC_INFORMATION *out = info;
 
+    TRACE("(%p, %u, %p, %u, %p)\n", handle, class, info, len, ret_len);
+
     if (class != SemaphoreBasicInformation)
     {
         FIXME("(%p,%d,%u) Unknown class\n", handle, class, len);
@@ -417,6 +419,8 @@ NTSTATUS WINAPI NtQueryEvent( HANDLE handle, EVENT_INFORMATION_CLASS class,
     NTSTATUS ret;
     EVENT_BASIC_INFORMATION *out = info;
 
+    TRACE("(%p, %u, %p, %u, %p)\n", handle, class, info, len, ret_len);
+
     if (class != EventBasicInformation)
     {
         FIXME("(%p, %d, %d) Unknown class\n",
-- 
2.8.0



More information about the wine-patches mailing list