Commit 8268ed97 authored by Alexandre Julliard's avatar Alexandre Julliard

kernel32: Do not include 16-bit headers in 32-bit files.

parent 4e3b5b87
...@@ -44,7 +44,6 @@ ...@@ -44,7 +44,6 @@
#include "winnls.h" #include "winnls.h"
#include "winerror.h" #include "winerror.h"
#include "wincon.h" #include "wincon.h"
#include "wine/winbase16.h"
#include "wine/server.h" #include "wine/server.h"
#include "wine/exception.h" #include "wine/exception.h"
#include "wine/unicode.h" #include "wine/unicode.h"
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#endif #endif
#include "ntstatus.h" #include "ntstatus.h"
#define WIN32_NO_STATUS #define WIN32_NO_STATUS
#include "wine/winbase16.h"
#include "winerror.h" #include "winerror.h"
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
...@@ -44,6 +43,8 @@ ...@@ -44,6 +43,8 @@
WINE_DEFAULT_DEBUG_CHANNEL(module); WINE_DEFAULT_DEBUG_CHANNEL(module);
#define NE_FFLAGS_LIBMODULE 0x8000
static WCHAR *dll_directory; /* extra path for SetDllDirectoryW */ static WCHAR *dll_directory; /* extra path for SetDllDirectoryW */
static CRITICAL_SECTION dlldir_section; static CRITICAL_SECTION dlldir_section;
......
...@@ -43,10 +43,9 @@ ...@@ -43,10 +43,9 @@
#include "ntstatus.h" #include "ntstatus.h"
#define WIN32_NO_STATUS #define WIN32_NO_STATUS
#include "wine/winbase16.h"
#include "wine/winuser16.h"
#include "winternl.h" #include "winternl.h"
#include "kernel_private.h" #include "kernel_private.h"
#include "wine/library.h"
#include "wine/server.h" #include "wine/server.h"
#include "wine/unicode.h" #include "wine/unicode.h"
#include "wine/debug.h" #include "wine/debug.h"
......
...@@ -39,13 +39,6 @@ ...@@ -39,13 +39,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(resource); WINE_DEFAULT_DEBUG_CHANNEL(resource);
/* handle conversions */
#define HRSRC_32(h16) ((HRSRC)(ULONG_PTR)(h16))
#define HRSRC_16(h32) (LOWORD(h32))
#define HGLOBAL_32(h16) ((HGLOBAL)(ULONG_PTR)(h16))
#define HGLOBAL_16(h32) (LOWORD(h32))
#define HMODULE_16(h32) (LOWORD(h32))
/* retrieve the resource name to pass to the ntdll functions */ /* retrieve the resource name to pass to the ntdll functions */
static NTSTATUS get_res_nameA( LPCSTR name, UNICODE_STRING *str ) static NTSTATUS get_res_nameA( LPCSTR name, UNICODE_STRING *str )
{ {
......
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
#include "winbase.h" #include "winbase.h"
#include "winerror.h" #include "winerror.h"
#include "winternl.h" #include "winternl.h"
#include "wine/winbase16.h"
#include "wine/exception.h" #include "wine/exception.h"
#include "wine/library.h" #include "wine/library.h"
#include "wine/server.h" #include "wine/server.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment