[PATCH v2 3/3] ntdll: Add trace for NtQueryEvent/Semaphore
Daniel Lehman
dlehman25 at gmail.com
Sun May 1 14:14:47 CDT 2016
Signed-off-by: Daniel Lehman <dlehman25 at gmail.com>
---
dlls/ntdll/sync.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dlls/ntdll/sync.c b/dlls/ntdll/sync.c
index d0697a1..51353be 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.5.0
More information about the wine-patches
mailing list