Move winternl.h to include/reactos/wine.

svn path=/trunk/; revision=66695
This commit is contained in:
Timo Kreuzer
2015-03-14 13:40:36 +00:00
parent ceb8bad33a
commit 00aac1ad3b
9 changed files with 17 additions and 13 deletions

View File

@@ -24,7 +24,7 @@
#include "precomp.h"
#include <psdk/stierr.h>
#include <psdk/winternl.h>
#include <wine/winternl.h>
void ProcessPage_OnEndProcess(void)
{

View 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);
}

View 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

View 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

View 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)
{

View 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)

View 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

View 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"