Louis Lenders : ntdll: Add stub for RtlGetUnloadEventTrace.

Alexandre Julliard julliard at winehq.org
Wed Oct 4 15:37:15 CDT 2017


Module: wine
Branch: master
Commit: 9a53298eed493080fb132d0cd57fffa95b00b1ec
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9a53298eed493080fb132d0cd57fffa95b00b1ec

Author: Louis Lenders <xerox.xerox2000x at gmail.com>
Date:   Wed Oct  4 12:17:03 2017 +0200

ntdll: Add stub for RtlGetUnloadEventTrace.

Signed-off-by: Louis Lenders <xerox.xerox2000x at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/ntdll.spec |  2 +-
 dlls/ntdll/rtl.c      | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
index ab801ac..50f4acf 100644
--- a/dlls/ntdll/ntdll.spec
+++ b/dlls/ntdll/ntdll.spec
@@ -669,7 +669,7 @@
 # @ stub RtlGetSecurityDescriptorRMControl
 # @ stub RtlGetSetBootStatusData
 @ stdcall RtlGetThreadErrorMode()
-# @ stub RtlGetUnloadEventTrace
+@ stdcall RtlGetUnloadEventTrace()
 @ stub RtlGetUserInfoHeap
 @ stdcall RtlGetVersion(ptr)
 @ stub RtlGuidToPropertySetName
diff --git a/dlls/ntdll/rtl.c b/dlls/ntdll/rtl.c
index 8630dde..09a9c92 100644
--- a/dlls/ntdll/rtl.c
+++ b/dlls/ntdll/rtl.c
@@ -1653,3 +1653,22 @@ NTSTATUS WINAPI RtlCreateUserProcess(UNICODE_STRING *path, ULONG attributes, RTL
                                      parent, inherit, debug, exception, info);
     return STATUS_NOT_IMPLEMENTED;
 }
+
+typedef struct _RTL_UNLOAD_EVENT_TRACE
+{
+    PVOID BaseAddress;
+    SIZE_T SizeOfImage;
+    ULONG Sequence;
+    ULONG TimeDateStamp;
+    ULONG CheckSum;
+    WCHAR ImageName[32];
+} RTL_UNLOAD_EVENT_TRACE, *PRTL_UNLOAD_EVENT_TRACE;
+
+/*********************************************************************
+ *           RtlGetUnloadEventTrace [NTDLL.@]
+ */
+RTL_UNLOAD_EVENT_TRACE * WINAPI RtlGetUnloadEventTrace(void)
+{
+    FIXME("stub!\n");
+    return NULL;
+}




More information about the wine-cvs mailing list