[PSDK]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 14 Mar 2015 13:40:36 +0000 (13:40 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 14 Mar 2015 13:40:36 +0000 (13:40 +0000)
Move winternl.h to include/reactos/wine.

svn path=/trunk/; revision=66695

reactos/base/applications/taskmgr/endproc.c
reactos/base/system/format/format.c
reactos/dll/directx/wine/dsound/CMakeLists.txt
reactos/dll/win32/avicap32/CMakeLists.txt
reactos/dll/win32/shell32/wine/shellord.c
reactos/dll/win32/wininet/CMakeLists.txt
reactos/dll/win32/winsta/CMakeLists.txt
reactos/include/reactos/wine/winternl.h [moved from reactos/include/psdk/winternl.h with 100% similarity]
reactos/lib/sdk/crt/string/scanf.c

index b831d3a..94afe5b 100644 (file)
@@ -24,7 +24,7 @@
 
 #include "precomp.h"
 #include <psdk/stierr.h>
-#include <psdk/winternl.h>
+#include <wine/winternl.h>
 
 void ProcessPage_OnEndProcess(void)
 {
index 73d3b07..9092aad 100644 (file)
@@ -8,7 +8,7 @@
 #include <winbase.h>
 #include <winnls.h>
 #include <winuser.h>
-#include <winternl.h>
+#include <wine/winternl.h>
 #include <fmifs/fmifs.h>
 #include <tchar.h>
 
@@ -56,10 +56,10 @@ int LoadStringAndOem(HINSTANCE hInst,
                UINT uID,
                LPTSTR szStr,
                int Siz
-)      
+)
 {
   TCHAR szTmp[RC_STRING_MAX_SIZE];
-  int res = LoadString(hInst, uID, szTmp, sizeof(szTmp)); 
+  int res = LoadString(hInst, uID, szTmp, sizeof(szTmp));
   CharToOem(szTmp, szStr);
   return(res);
 }
index 57d7188..f04d29a 100644 (file)
@@ -4,7 +4,7 @@ add_definitions(
     -D_USE_MATH_DEFINES
     -D__WINESRC__)
 
-include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
 spec2def(dsound.dll dsound.spec ADD_IMPORTLIB)
 
 add_library(dsound SHARED
index 7c574f5..d09589e 100644 (file)
@@ -1,6 +1,8 @@
 
 spec2def(avicap32.dll avicap32.spec ADD_IMPORTLIB)
 
+include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
 add_library(avicap32 SHARED
     avicap32.c
     avicap32.rc
index 43f4893..0a4fffa 100644 (file)
@@ -28,7 +28,7 @@
 
 #include <windef.h>
 #include <winbase.h>
-#include <winternl.h>
+#include <wine/winternl.h>
 #include <shlobj.h>
 #include <undocshell.h>
 #include <shlwapi.h>
@@ -1217,10 +1217,10 @@ BOOL WINAPI ReadCabinetState(CABINETSTATE *cs, int length)
        if( r == ERROR_SUCCESS )
        {
                type = REG_BINARY;
-               r = RegQueryValueExW( hkey, szwSettings, 
+               r = RegQueryValueExW( hkey, szwSettings,
                        NULL, &type, (LPBYTE)cs, (LPDWORD)&length );
                RegCloseKey( hkey );
-                       
+
        }
 
        /* if we can't read from the registry, create default values */
@@ -1242,7 +1242,7 @@ BOOL WINAPI ReadCabinetState(CABINETSTATE *cs, int length)
                cs->fAdminsCreateCommonGroups = TRUE;
                cs->fMenuEnumFilter  = 96;
        }
-       
+
        return TRUE;
 }
 
@@ -1264,7 +1264,7 @@ BOOL WINAPI WriteCabinetState(CABINETSTATE *cs)
                 NULL, 0, KEY_ALL_ACCESS, NULL, &hkey, NULL);
        if( r == ERROR_SUCCESS )
        {
-               r = RegSetValueExW( hkey, szwSettings, 0, 
+               r = RegSetValueExW( hkey, szwSettings, 0,
                        REG_BINARY, (LPBYTE) cs, cs->cLength);
 
                RegCloseKey( hkey );
@@ -1546,7 +1546,7 @@ DWORD WINAPI DoEnvironmentSubstW(LPWSTR pszString, UINT cchString)
 /************************************************************************
  *     DoEnvironmentSubst                      [SHELL32.53]
  *
- * See DoEnvironmentSubstA.  
+ * See DoEnvironmentSubstA.
  */
 DWORD WINAPI DoEnvironmentSubstAW(LPVOID x, UINT y)
 {
index 18d831b..7f968a8 100644 (file)
@@ -4,7 +4,7 @@ add_definitions(
     -D_WINE
     -Dclose=_close)
 
-include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine
+include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine
                     ${REACTOS_SOURCE_DIR}/include/reactos/libs/zlib)
 
 spec2def(wininet.dll wininet.spec ADD_IMPORTLIB)
index 18d65dc..21408ac 100644 (file)
@@ -1,6 +1,8 @@
 
 spec2def(winsta.dll winsta.spec)
 
+include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
 list(APPEND SOURCE
     logon.c
     main.c
index 8951f86..338d552 100644 (file)
@@ -26,7 +26,7 @@
 #include <stdarg.h>
 #include <limits.h>
 
-#include <winternl.h>
+#include <wine/winternl.h>
 #include <wine/debug.h>
 
 #include "winesup.h"