[PATCH] user.exe16: Implemented OldExitWindows() user.exe16 function.
Martin Payne
development at martinpayne.me.uk
Wed Dec 13 04:23:50 CST 2017
Tested on Fedora 26 x86.
Signed-off-by: Martin Payne <development at martinpayne.me.uk>
---
dlls/user.exe16/user.c | 9 +++++++++
dlls/user.exe16/user.exe16.spec | 2 +-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/dlls/user.exe16/user.c b/dlls/user.exe16/user.c
index eac4a19d39..729e973ab2 100644
--- a/dlls/user.exe16/user.c
+++ b/dlls/user.exe16/user.c
@@ -510,6 +510,15 @@ static void free_clipboard_formats(void)
}
+/***********************************************************************
+ * OldExitWindows (USER.2)
+ */
+void WINAPI OldExitWindows16(void)
+{
+ ExitWindows16(0, 0);
+}
+
+
/**********************************************************************
* InitApp (USER.5)
*/
diff --git a/dlls/user.exe16/user.exe16.spec b/dlls/user.exe16/user.exe16.spec
index 8d928bc7d9..ec571800e7 100644
--- a/dlls/user.exe16/user.exe16.spec
+++ b/dlls/user.exe16/user.exe16.spec
@@ -1,5 +1,5 @@
1 pascal -ret16 MessageBox(word str str word) MessageBox16
-2 stub OldExitWindows
+2 pascal -ret16 OldExitWindows() OldExitWindows16
3 stub EnableOEMLayer
4 stub DisableOEMLayer
5 pascal -ret16 InitApp(word) InitApp16
--
2.15.1.windows.2
More information about the wine-devel
mailing list