From 9e87c6826eb5c0fe43e52e5a0631fe7a09c6c55b Mon Sep 17 00:00:00 2001 From: Vijay Kiran Kamuju Date: Sun, 7 Jun 2020 23:03:22 +0200 Subject: [PATCH] include: Add wownt16.h. Signed-off-by: Vijay Kiran Kamuju Signed-off-by: Alexandre Julliard --- dlls/krnl386.exe16/thunk.c | 5 +---- include/Makefile.in | 1 + include/wownt16.h | 27 +++++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 4 deletions(-) create mode 100644 include/wownt16.h diff --git a/dlls/krnl386.exe16/thunk.c b/dlls/krnl386.exe16/thunk.c index 78925f594ba..e913a08f88c 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 a4563920f6c..9f70e72b4c7 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 00000000000..d4776231270 --- /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_ */