Alexandre Julliard : ntdll: Added implementation of RtlDllShutdownInProgress.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Nov 3 07:32:42 CST 2006


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Nov  3 13:52:02 2006 +0100

ntdll: Added implementation of RtlDllShutdownInProgress.

---

 dlls/ntdll/loader.c   |   10 ++++++++++
 dlls/ntdll/ntdll.spec |    2 +-
 include/winternl.h    |    1 +
 3 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c
index 3787bc1..7e0b43a 100644
--- a/dlls/ntdll/loader.c
+++ b/dlls/ntdll/loader.c
@@ -1868,6 +1868,16 @@ NTSTATUS WINAPI LdrQueryProcessModuleInf
     return nts;
 }
 
+
+/******************************************************************
+ *		RtlDllShutdownInProgress  (NTDLL.@)
+ */
+BOOLEAN WINAPI RtlDllShutdownInProgress(void)
+{
+    return process_detaching;
+}
+
+
 /******************************************************************
  *		LdrShutdownProcess (NTDLL.@)
  *
diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
index d0c55cb..803ed53 100644
--- a/dlls/ntdll/ntdll.spec
+++ b/dlls/ntdll/ntdll.spec
@@ -530,7 +530,7 @@ # @ stub RtlDeregisterWaitEx
 @ stdcall RtlDestroyProcessParameters(ptr)
 @ stdcall RtlDestroyQueryDebugBuffer(ptr)
 @ stdcall RtlDetermineDosPathNameType_U(wstr)
-# @ stub RtlDllShutdownInProgress
+@ stdcall RtlDllShutdownInProgress()
 # @ stub RtlDnsHostNameToComputerName
 @ stdcall RtlDoesFileExists_U(wstr)
 # @ stub RtlDosApplyFileIsolationRedirection_Ustr
diff --git a/include/winternl.h b/include/winternl.h
index 193e02a..304f5af 100644
--- a/include/winternl.h
+++ b/include/winternl.h
@@ -2015,6 +2015,7 @@ HANDLE    WINAPI RtlDestroyHeap(HANDLE);
 void      WINAPI RtlDestroyProcessParameters(RTL_USER_PROCESS_PARAMETERS*);
 NTSTATUS  WINAPI RtlDestroyQueryDebugBuffer(PDEBUG_BUFFER);
 DOS_PATHNAME_TYPE WINAPI RtlDetermineDosPathNameType_U(PCWSTR);
+BOOLEAN   WINAPI RtlDllShutdownInProgress(void);
 BOOLEAN   WINAPI RtlDoesFileExists_U(LPCWSTR);
 BOOLEAN   WINAPI RtlDosPathNameToNtPathName_U(PCWSTR,PUNICODE_STRING,PWSTR*,CURDIR*);
 ULONG     WINAPI RtlDosSearchPath_U(LPCWSTR, LPCWSTR, LPCWSTR, ULONG, LPWSTR, LPWSTR*);




More information about the wine-cvs mailing list