Vijay Kiran Kamuju : include: Add wownt16.h.

Alexandre Julliard julliard at winehq.org
Mon Jun 8 15:19:56 CDT 2020


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

Author: Vijay Kiran Kamuju <infyquest at gmail.com>
Date:   Sun Jun  7 23:03:22 2020 +0200

include: Add wownt16.h.

Signed-off-by: Vijay Kiran Kamuju <infyquest at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/krnl386.exe16/thunk.c |  5 +----
 include/Makefile.in        |  1 +
 include/wownt16.h          | 27 +++++++++++++++++++++++++++
 3 files changed, 29 insertions(+), 4 deletions(-)

diff --git a/dlls/krnl386.exe16/thunk.c b/dlls/krnl386.exe16/thunk.c
index 78925f594b..e913a08f88 100644
--- a/dlls/krnl386.exe16/thunk.c
+++ b/dlls/krnl386.exe16/thunk.c
@@ -29,6 +29,7 @@
 #include "winbase.h"
 #include "winerror.h"
 #include "winternl.h"
+#include "wownt16.h"
 #include "wownt32.h"
 #include "wine/winbase16.h"
 
@@ -2402,10 +2403,6 @@ DWORD WINAPI FreeLibrary32W16( DWORD hLibModule )
     return (DWORD)retv;
 }
 
-
-#define CPEX_DEST_STDCALL   0x00000000
-#define CPEX_DEST_CDECL     0x80000000
-
 /**********************************************************************
  *           WOW_CallProc32W
  */
diff --git a/include/Makefile.in b/include/Makefile.in
index a4563920f6..9f70e72b4c 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -781,6 +781,7 @@ SOURCES = \
 	wmsdk.h \
 	wmsdkidl.idl \
 	wnaspi32.h \
+	wownt16.h \
 	wownt32.h \
 	wpcapi.idl \
 	ws2def.h \
diff --git a/include/wownt16.h b/include/wownt16.h
new file mode 100644
index 0000000000..d477623127
--- /dev/null
+++ b/include/wownt16.h
@@ -0,0 +1,27 @@
+/*
+ * WOW16 Generic Thunk API
+ *
+ * Copyright (C) 2020 Vijay Kiran Kamuju
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#ifndef _WOWNT16_H_
+#define _WOWNT16_H_
+
+#define CPEX_DEST_STDCALL 0x00000000
+#define CPEX_DEST_CDECL   0x80000000
+
+#endif /* _WOWNT16_H_ */




More information about the wine-cvs mailing list