* Slap *some* sense into our header inclusions.

* This significantly shrinks the dependency tracking data and the compiled objects size, which speeds up the whole build process (especially the incremental builds) accelerating the daily development as a result.
* No intended code changes, ~27% smaller build. Enjoy ;)

svn path=/trunk/; revision=58214
This commit is contained in:
Amine Khaldi 2013-01-24 23:00:42 +00:00
parent 7d4974af75
commit 2bd930547c
2243 changed files with 12671 additions and 9977 deletions

View file

@ -1,6 +1,9 @@
#include <windows.h> #include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <winioctl.h> #include <winioctl.h>
#include <stdio.h> #include <stdlib.h>
//#include <ntdddisk.h> //#include <ntdddisk.h>
//#include <ntddscsi.h> //#include <ntddscsi.h>
#include <ntddscsi.h> #include <ntddscsi.h>

View file

@ -17,7 +17,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <precomp.h> #include "precomp.h"
static GENERIC_MAPPING FileGenericMapping = static GENERIC_MAPPING FileGenericMapping =
{ {

View file

@ -1,4 +1,4 @@
#include <windows.h> #include <windef.h>
#include "resource.h" #include "resource.h"
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Control ACLs Program\0" #define REACTOS_STR_FILE_DESCRIPTION "ReactOS Control ACLs Program\0"

View file

@ -1,10 +1,13 @@
#ifndef _CACLS_PRECOMP_H #ifndef _CACLS_PRECOMP_H
#define _CACLS_PRECOMP_H #define _CACLS_PRECOMP_H
#include <windows.h> #include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <sddl.h> #include <sddl.h>
#include <tchar.h> #include <tchar.h>
#include <stdio.h>
#include "resource.h" #include "resource.h"
#endif /* _CACLS_PRECOMP_H */ #endif /* _CACLS_PRECOMP_H */

View file

@ -1,8 +1,12 @@
#include <stdarg.h>
#include <windows.h> #include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <wingdi.h>
#include <winreg.h>
#include <tchar.h> #include <tchar.h>
#include <stdio.h> //#include <stdio.h>
#include <string.h> //#include <string.h>
#include <math.h> #include <math.h>
#include <float.h> #include <float.h>
#include <malloc.h> #include <malloc.h>

View file

@ -1,3 +1,5 @@
#pragma once
#define IDS_STRING_LICENSE 1 #define IDS_STRING_LICENSE 1
#define IDS_MATH_ERROR 2 #define IDS_MATH_ERROR 2
#define IDS_QUICKHELP 3 #define IDS_QUICKHELP 3
@ -376,4 +378,3 @@
#define IDM_VIEW_BYTE 40018 #define IDM_VIEW_BYTE 40018
#define IDM_VIEW_DWORD 40019 #define IDM_VIEW_DWORD 40019
#define IDM_VIEW_CONVERSION 40020 #define IDM_VIEW_CONVERSION 40020

View file

@ -18,7 +18,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <windows.h> #include <windef.h>
#include <winuser.h>
#include "resource.h" #include "resource.h"

View file

@ -1,6 +1,8 @@
#include <windows.h> #include <windef.h>
#include <commctrl.h> #include <winuser.h>
//#include <commctrl.h>
#include <richedit.h> #include <richedit.h>
#include "resource.h" #include "resource.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL

View file

@ -1,14 +1,19 @@
#ifndef __CHARMAP_PRECOMP_H #ifndef __CHARMAP_PRECOMP_H
#define __CHARMAP_PRECOMP_H #define __CHARMAP_PRECOMP_H
#define WIN32_LEAN_AND_MEAN #include <stdarg.h>
#include <windows.h> #include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <winreg.h>
#include <wingdi.h>
#include <windowsx.h> #include <windowsx.h>
#include <tchar.h> #include <tchar.h>
#include <stdio.h> //#include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <commctrl.h> #include <commctrl.h>
#include <richedit.h> #include <richedit.h>
#include "resource.h" #include "resource.h"
#define SIZEOF(_v) (sizeof(_v) / sizeof(*_v)) #define SIZEOF(_v) (sizeof(_v) / sizeof(*_v))

View file

@ -1,3 +1,5 @@
#pragma once
#define IDC_STATIC -1 #define IDC_STATIC -1
#define IDI_ICON 100 #define IDI_ICON 100

View file

@ -8,9 +8,11 @@
* Christoph von Wittich (Christoph_vW@ReactOS.org) * Christoph von Wittich (Christoph_vW@ReactOS.org)
*/ */
#include <windows.h> #include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <tchar.h> #include <tchar.h>
#include <debug.h> //#include <debug.h>
#include <stdio.h> #include <stdio.h>
int _tmain(int argc, TCHAR ** argv) int _tmain(int argc, TCHAR ** argv)

View file

@ -1,8 +1,13 @@
#include <windows.h> #include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <wincon.h>
#include <stdio.h> #include <stdio.h>
#include <wchar.h> #include <wchar.h>
#include <assert.h> #include <assert.h>
#include <locale.h> #include <locale.h>
#include "doskey.h" #include "doskey.h"
#define MAX_STRING 2000 #define MAX_STRING 2000

View file

@ -1,3 +1,5 @@
#pragma once
#define IDS_HELP 0 #define IDS_HELP 0
#define IDS_INVALID_MACRO_DEF 1 #define IDS_INVALID_MACRO_DEF 1

View file

@ -1,4 +1,5 @@
#include <windows.h> #include <windef.h>
#include "doskey.h" #include "doskey.h"
#define REACTOS_STR_FILE_DESCRIPTION "W32 doskey command\0" #define REACTOS_STR_FILE_DESCRIPTION "W32 doskey command\0"

View file

@ -27,20 +27,21 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> //#include <string.h>
#include <ctype.h> //#include <ctype.h>
#include <windows.h>
#include <io.h> #include <windef.h>
#include <winbase.h>
#include <winuser.h>
//#include <io.h>
#include <dos.h> #include <dos.h>
#include "resource.h" #include "resource.h"
/* Symbol definition */ /* Symbol definition */
#define MAX_STR 1024 #define MAX_STR 1024
/* This function prints out all lines containing a substring. There are some /* This function prints out all lines containing a substring. There are some
* conditions that may be passed to the function. * conditions that may be passed to the function.
* *
@ -251,5 +252,3 @@ main (int argc, char **argv)
*/ */
exit ( (ret ? 0 : 1) ); exit ( (ret ? 0 : 1) );
} }

View file

@ -1,3 +1,7 @@
#include <windef.h>
#include "resource.h"
#define REACTOS_STR_FILE_DESCRIPTION "W32 find command\0" #define REACTOS_STR_FILE_DESCRIPTION "W32 find command\0"
#define REACTOS_STR_INTERNAL_NAME "find\0" #define REACTOS_STR_INTERNAL_NAME "find\0"
#define REACTOS_STR_ORIGINAL_FILENAME "find.exe\0" #define REACTOS_STR_ORIGINAL_FILENAME "find.exe\0"

View file

@ -1,3 +1,5 @@
#pragma once
#define IDS_USAGE 1000 #define IDS_USAGE 1000
#define IDS_NO_SUCH_FILE 1001 #define IDS_NO_SUCH_FILE 1001
#define IDS_CANNOT_OPEN 1002 #define IDS_CANNOT_OPEN 1002

View file

@ -1,6 +1,3 @@
#include <windows.h>
#include "resource.h"
// UTF-8 // UTF-8
#pragma code_page(65001) #pragma code_page(65001)
#ifdef LANGUAGE_BG_BG #ifdef LANGUAGE_BG_BG

View file

@ -23,10 +23,13 @@
* FILE : subsys/system/hostname/hostname.c * FILE : subsys/system/hostname/hostname.c
* PROGRAMMER: Emanuele Aliberti (ea@reactos.com) * PROGRAMMER: Emanuele Aliberti (ea@reactos.com)
*/ */
#include <windows.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> //#include <string.h>
#include <windef.h>
#include <winbase.h>
int main (int argc, char ** argv) int main (int argc, char ** argv)
{ {

View file

@ -16,7 +16,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <windows.h> #include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <loadperf.h> #include <loadperf.h>
int wmain(int argc, WCHAR *argv[]) int wmain(int argc, WCHAR *argv[])

View file

@ -1,5 +1,4 @@
/* $Id$ /*
*
* MORE.C - external command. * MORE.C - external command.
* *
* clone from 4nt more command * clone from 4nt more command
@ -10,10 +9,15 @@
* use window size instead of buffer size. * use window size instead of buffer size.
*/ */
#include <windows.h> #include <stdio.h>
#include <malloc.h> #include <malloc.h>
#include <tchar.h> #include <tchar.h>
#include <stdio.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <wincon.h>
#include "resource.h" #include "resource.h"
static TCHAR szCont[128]; static TCHAR szCont[128];

View file

@ -1,4 +1,4 @@
#include <windows.h> #include <windef.h>
#include "resource.h" #include "resource.h"
#define REACTOS_STR_FILE_DESCRIPTION "W32 more command\0" #define REACTOS_STR_FILE_DESCRIPTION "W32 more command\0"

View file

@ -16,8 +16,14 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <windows.h> #include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <winreg.h>
#include <wincon.h>
#include <wine/unicode.h> #include <wine/unicode.h>
#include "reg.h" #include "reg.h"
static int reg_printfW(const WCHAR *msg, ...) static int reg_printfW(const WCHAR *msg, ...)

View file

@ -18,7 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <windef.h> #pragma once
//#include <windef.h>
/* Translation IDs. */ /* Translation IDs. */
#define STRING_USAGE 101 #define STRING_USAGE 101

View file

@ -1,6 +1,7 @@
#include <windows.h> #include <windef.h>
#include <commctrl.h> //#include <commctrl.h>
#include "reg.h"
//#include "reg.h"
/* Define language neutral resources */ /* Define language neutral resources */
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL

View file

@ -1,7 +1,3 @@
#include <windows.h>
#include "reg.h"
/* Include localised resources */
// UTF-8 // UTF-8
#pragma code_page(65001) #pragma code_page(65001)
#ifdef LANGUAGE_BG_BG #ifdef LANGUAGE_BG_BG

View file

@ -39,11 +39,19 @@
* 5 - Disk write error * 5 - Disk write error
*/ */
#include <stdio.h> #include <stdio.h>
#include <windows.h> #include <stdlib.h>
//#include <tchar.h>
//#include <malloc.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <winnls.h>
#include <wincon.h>
#include <wine/debug.h> #include <wine/debug.h>
#include <wine/unicode.h> //#include <wine/unicode.h>
#include "xcopy.h" #include "xcopy.h"
WINE_DEFAULT_DEBUG_CHANNEL(xcopy); WINE_DEFAULT_DEBUG_CHANNEL(xcopy);

View file

@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#pragma once
#include <windef.h> #include <windef.h>
/* Local #defines */ /* Local #defines */

View file

@ -6,8 +6,13 @@
* Colin Finck (mail@colinfinck.de) * Colin Finck (mail@colinfinck.de)
*/ */
#include <windows.h>
#include <tchar.h> #include <tchar.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <winreg.h>
#include <shellapi.h>
#include "resource.h" #include "resource.h"
#define CCH_UINT_MAX 11 #define CCH_UINT_MAX 11

View file

@ -1 +1,3 @@
#pragma once
#define IDI_MAINICON 100 #define IDI_MAINICON 100

View file

@ -7,7 +7,7 @@
*/ */
#include "precomp.h" #include "precomp.h"
#include <d3d.h> //#include <d3d.h>
BOOL D3D7Test(HWND hWnd) BOOL D3D7Test(HWND hWnd)
{ {

View file

@ -7,7 +7,7 @@
*/ */
#include "precomp.h" #include "precomp.h"
#include <d3d8.h> //#include <d3d8.h>
BOOL D3D8Test(HWND hWnd) BOOL D3D8Test(HWND hWnd)
{ {

View file

@ -7,7 +7,7 @@
*/ */
#include "precomp.h" #include "precomp.h"
#include <d3d9.h> //#include <d3d9.h>
BOOL D3D9Test(HWND hWnd) BOOL D3D9Test(HWND hWnd)
{ {

View file

@ -1,4 +1,5 @@
#include <windows.h> #include <windef.h>
#include <winuser.h>
#include <commctrl.h> #include <commctrl.h>
#include "resource.h" #include "resource.h"

View file

@ -6,18 +6,26 @@
#define D3D_OVERLOADS #define D3D_OVERLOADS
#include <stdio.h> #include <stdio.h>
#include <windows.h>
#include <limits.h> #define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <winsvc.h>
#include <wingdi.h>
#include <winnls.h>
#include <winver.h>
#include <winuser.h>
#include <mmsystem.h> #include <mmsystem.h>
#include <setupapi.h> #include <setupapi.h>
#include <commctrl.h>
#include <ddraw.h> #include <ddraw.h>
#include <initguid.h> #include <initguid.h>
#include <devguid.h> #include <devguid.h>
#include <mmreg.h> #include <mmreg.h>
#include <wintrust.h>
#include <softpub.h>
#include <mscat.h>
#include "resource.h" #include "resource.h"
typedef struct typedef struct

View file

@ -19,13 +19,13 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#define WIN32_LEAN_AND_MEAN
#include <windows.h> #include <windows.h>
#include <shellapi.h> #include <shellapi.h>
#include <setupapi.h> #include <setupapi.h>
#include <shlwapi.h> #include <shlwapi.h>
#include <wine/unicode.h>
#include "wine/unicode.h" #include <wine/debug.h>
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(extrac32); WINE_DEFAULT_DEBUG_CHANNEL(extrac32);

View file

@ -27,16 +27,16 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> //#include <string.h>
#include <ctype.h> //#include <ctype.h>
#include <windows.h> #include <windef.h>
#include <winbase.h>
#include <io.h> #include <winuser.h>
//#include <io.h>
#include <dos.h> #include <dos.h>
#include "resource.h" #include "resource.h"
/* Symbol definition */ /* Symbol definition */
#define MAX_STR 1024 #define MAX_STR 1024

View file

@ -1,3 +1,7 @@
#include <windef.h>
#include "resource.h"
#define REACTOS_STR_FILE_DESCRIPTION "W32 findstr command\0" #define REACTOS_STR_FILE_DESCRIPTION "W32 findstr command\0"
#define REACTOS_STR_INTERNAL_NAME "findstr\0" #define REACTOS_STR_INTERNAL_NAME "findstr\0"
#define REACTOS_STR_ORIGINAL_FILENAME "findstr.exe\0" #define REACTOS_STR_ORIGINAL_FILENAME "findstr.exe\0"

View file

@ -1,3 +1,5 @@
#pragma once
#define IDS_USAGE 1000 #define IDS_USAGE 1000
#define IDS_NO_SUCH_FILE 1001 #define IDS_NO_SUCH_FILE 1001
#define IDS_CANNOT_OPEN 1002 #define IDS_CANNOT_OPEN 1002

View file

@ -1,6 +1,3 @@
#include <windows.h>
#include "resource.h"
// UTF-8 // UTF-8
#pragma code_page(65001) #pragma code_page(65001)
#ifdef LANGUAGE_BG_BG #ifdef LANGUAGE_BG_BG

View file

@ -20,9 +20,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include <windows.h>
#include <stdio.h>
#include "display.h" #include "display.h"
#define SPACING1 8 #define SPACING1 8

View file

@ -1,5 +1,13 @@
#pragma once #pragma once
#include <stdio.h>
#include <stdlib.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <wingdi.h>
#include <commdlg.h>
/* Messages for the display class */ /* Messages for the display class */
#define FVM_SETTYPEFACE WM_USER #define FVM_SETTYPEFACE WM_USER
#define FVM_SETSTRING (WM_USER + 1) #define FVM_SETSTRING (WM_USER + 1)

View file

@ -1,4 +1,7 @@
#include <windows.h> #include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <shellapi.h>
#include "resource.h" #include "resource.h"
#include "display.h" #include "display.h"

View file

@ -1,4 +1,5 @@
#include <windows.h> #include <windef.h>
#include "resource.h" #include "resource.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL

View file

@ -1,3 +1,4 @@
#pragma once
#define IDS_ERROR 100 #define IDS_ERROR 100
#define IDS_ERROR_NOMEM 101 #define IDS_ERROR_NOMEM 101
@ -12,4 +13,3 @@
#define IDS_CHARSLOWER 700 #define IDS_CHARSLOWER 700
#define IDS_CHARSUPPER 701 #define IDS_CHARSUPPER 701
#define IDS_SPECIALCHARS 702 #define IDS_SPECIALCHARS 702

View file

@ -1,3 +1,4 @@
#pragma once
/* Icon */ /* Icon */
#define IDI_SOLITAIRE 100 #define IDI_SOLITAIRE 100

View file

@ -1,4 +1,6 @@
#include <windows.h> #include <windef.h>
#include <winuser.h>
#include "resource.h" #include "resource.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL

View file

@ -1,11 +1,14 @@
#define WIN32_NO_STATUS
#include <windows.h> #include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <winuser.h>
#include <commctrl.h> #include <commctrl.h>
#include <tchar.h> #include <tchar.h>
#include <stdio.h> #include <cardlib.h>
#include <stdlib.h>
#include "resource.h" #include "resource.h"
#include "cardlib.h"
extern CardWindow SolWnd; extern CardWindow SolWnd;
extern TCHAR szAppName[]; extern TCHAR szAppName[];

View file

@ -1,3 +1,5 @@
#pragma once
/* Icon */ /* Icon */
#define IDI_SPIDER 100 #define IDI_SPIDER 100
@ -37,4 +39,3 @@
#define IDS_SPI_QUIT 1302 #define IDS_SPI_QUIT 1302
#define IDS_SPI_WIN 1303 #define IDS_SPI_WIN 1303
#define IDS_SPI_DEAL 1304 #define IDS_SPI_DEAL 1304

View file

@ -1,4 +1,6 @@
#include <windows.h> #include <windef.h>
#include <winuser.h>
#include "resource.h" #include "resource.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL

View file

@ -1,12 +1,13 @@
#define WIN32_NO_STATUS
#include <windows.h> #include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <commctrl.h> #include <commctrl.h>
#include <tchar.h> #include <tchar.h>
#include <stdio.h> #include <cardlib.h>
#include <stdlib.h>
#include "resource.h"
#include "cardlib.h"
#include "resource.h"
#define DIFFICULTY_ONE_COLOR 1 #define DIFFICULTY_ONE_COLOR 1
#define DIFFICULTY_TWO_COLORS 2 #define DIFFICULTY_TWO_COLORS 2

View file

@ -18,9 +18,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#define WIN32_LEAN_AND_MEAN #define WIN32_NO_STATUS
#include <stdarg.h>
#include <windef.h>
#include <windows.h>
#include "main.h" #include "main.h"
#include "resource.h" #include "resource.h"

View file

@ -18,13 +18,16 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#define WIN32_LEAN_AND_MEAN #define WIN32_NO_STATUS
#include <stdarg.h>
#include <string.h> #include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <wingdi.h>
#include <time.h> #include <time.h>
#include <windows.h>
#include <stdlib.h> #include <stdlib.h>
#include <shellapi.h> #include <shellapi.h>
#include "main.h" #include "main.h"
#include "resource.h" #include "resource.h"

View file

@ -16,7 +16,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <windows.h> #pragma once
#include <winuser.h>
#define BEGINNER_MINES 10 #define BEGINNER_MINES 10
#define BEGINNER_COLS 9 #define BEGINNER_COLS 9

View file

@ -18,8 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <windef.h> #pragma once
#include <winuser.h>
#define ID_TIMER 1000 #define ID_TIMER 1000

View file

@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <windef.h>
#include <winuser.h>
#include "resource.h" #include "resource.h"
LANGUAGE LANG_NEUTRAL,SUBLANG_NEUTRAL LANGUAGE LANG_NEUTRAL,SUBLANG_NEUTRAL

View file

@ -1,4 +1,4 @@
#include <windows.h> //#include <windows.h>
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS HTML Help Executable\0" #define REACTOS_STR_FILE_DESCRIPTION "ReactOS HTML Help Executable\0"
#define REACTOS_STR_INTERNAL_NAME "hh\0" #define REACTOS_STR_INTERNAL_NAME "hh\0"
@ -6,4 +6,3 @@
#include <reactos/version.rc> #include <reactos/version.rc>
2 ICON DISCARDABLE hh.ico 2 ICON DISCARDABLE hh.ico

View file

@ -1,4 +1,6 @@
#include <windows.h> #include <stdarg.h>
#include <windef.h>
#include <winbase.h>
typedef int WINAPI DOWINMAIN(HMODULE hMod, LPSTR cmdline); typedef int WINAPI DOWINMAIN(HMODULE hMod, LPSTR cmdline);

View file

@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <windows.h> #include <windef.h>
extern DWORD WINAPI IEWinMain(LPSTR, int); extern DWORD WINAPI IEWinMain(LPSTR, int);

View file

@ -1,7 +1,11 @@
#include <stdio.h> #include <stdarg.h>
#include <stdlib.h> #include <windef.h>
#include <windows.h> #include <winbase.h>
#include <winuser.h> #include <winuser.h>
#include <winnls.h>
#include <winreg.h>
#include <wingdi.h>
#include <shellapi.h>
#include <tchar.h> #include <tchar.h>
#include "resource.h" #include "resource.h"

View file

@ -1,5 +1,6 @@
#include <windef.h>
#include "resource.h" #include "resource.h"
#include <windows.h>
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL

View file

@ -1,3 +1,5 @@
#pragma once
/* Icons */ /* Icons */
#define IDI_MAIN 100 #define IDI_MAIN 100

View file

@ -1,4 +1,5 @@
#include <windows.h> #include <windef.h>
#include "resource.h" #include "resource.h"
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Logoff Utility\0" #define REACTOS_STR_FILE_DESCRIPTION "ReactOS Logoff Utility\0"

View file

@ -1,11 +1,16 @@
#ifndef __SHUTDOWN_PRECOMP_H #ifndef __SHUTDOWN_PRECOMP_H
#define __SHUTDOWN_PRECOMP_H #define __SHUTDOWN_PRECOMP_H
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> //#include <stdlib.h>
#include <windows.h>
#include <tchar.h> #include <tchar.h>
#include <reason.h> //shutdown codes //#include <reason.h> //shutdown codes
#include "resource.h" #include "resource.h"
// misc.c // misc.c

View file

@ -1,3 +1,5 @@
#pragma once
#define IDS_USAGE 1000 #define IDS_USAGE 1000
#define IDS_LOGOFF_REMOTE 1001 #define IDS_LOGOFF_REMOTE 1001
#define IDS_LOGOFF_LOCAL 1002 #define IDS_LOGOFF_LOCAL 1002

View file

@ -18,12 +18,14 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
////////////////////////////////////////////////////////////////// #include <stdarg.h>
#include <windef.h>
#include <windows.h> #include <winbase.h>
#include <commctrl.h> #include <winuser.h>
#include <winreg.h>
#include <wingdi.h>
#include <tchar.h> #include <tchar.h>
#include <shellapi.h>
#include "resource.h" #include "resource.h"
extern int iZoom; extern int iZoom;

View file

@ -1,5 +1,7 @@
#include <windef.h>
#include <winuser.h>
#include "magnifier.h" #include "resource.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL

View file

@ -1,3 +1,5 @@
#pragma once
#define IDC_STATIC -1 #define IDC_STATIC -1
#define IDI_ICON 101 #define IDI_ICON 101

View file

@ -1,6 +1,3 @@
#include <windows.h>
#include "resource.h"
// UTF-8 // UTF-8
#pragma code_page(65001) #pragma code_page(65001)

View file

@ -1,6 +1,5 @@
/* $Id: sndvol32.rc 23239 2006-07-23 09:59:30Z janderwald $ */ #include <windef.h>
#include <windows.h>
#include "resource.h" #include "resource.h"
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Management Console\0" #define REACTOS_STR_FILE_DESCRIPTION "ReactOS Management Console\0"

View file

@ -1,8 +1,10 @@
#include <stdarg.h>
#include <windows.h> #include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <commctrl.h> #include <commctrl.h>
#include <shellapi.h>
#include <tchar.h> #include <tchar.h>
#include "resource.h" #include "resource.h"
/* console.c */ /* console.c */

View file

@ -1,6 +1,3 @@
#include <windows.h>
#include "resource.h"
// UTF-8 // UTF-8
#pragma code_page(65001) #pragma code_page(65001)

View file

@ -1,4 +1,11 @@
#include <windows.h> #include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <wingdi.h>
#include <commdlg.h>
#include <shellapi.h>
#include <mmsystem.h>
#include <commctrl.h> #include <commctrl.h>
#include <tchar.h> #include <tchar.h>

View file

@ -1,4 +1,5 @@
#include <windows.h> #include <windef.h>
#include "resource.h" #include "resource.h"
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Multimedia Player\0" #define REACTOS_STR_FILE_DESCRIPTION "ReactOS Multimedia Player\0"

View file

@ -1,6 +1,3 @@
#include <windows.h>
#include "resource.h"
// UTF-8 // UTF-8
#pragma code_page(65001) #pragma code_page(65001)
#ifdef LANGUAGE_BG_BG #ifdef LANGUAGE_BG_BG

View file

@ -7,7 +7,7 @@
* 2011 Gregor Schneider <Gregor.Schneider@reactos.org> * 2011 Gregor Schneider <Gregor.Schneider@reactos.org>
*/ */
#include <precomp.h> #include "precomp.h"
HWND hFreeLdrPage; HWND hFreeLdrPage;
HWND hFreeLdrDialog; HWND hFreeLdrDialog;

View file

@ -7,7 +7,7 @@
* *
*/ */
#include <precomp.h> #include "precomp.h"
HWND hGeneralPage; HWND hGeneralPage;
HWND hGeneralDialog; HWND hGeneralDialog;

View file

@ -6,7 +6,7 @@
* COPYRIGHT: Copyright 2005-2006 Christoph von Wittich <Christoph@ApiViewer.de> * COPYRIGHT: Copyright 2005-2006 Christoph von Wittich <Christoph@ApiViewer.de>
* *
*/ */
#include <precomp.h> #include "precomp.h"
HINSTANCE hInst = 0; HINSTANCE hInst = 0;

View file

@ -1,2 +1 @@
extern HINSTANCE hInst; extern HINSTANCE hInst;

View file

@ -1,9 +1,9 @@
#include <windows.h> #include <windef.h>
#include <winuser.h>
#include <commctrl.h> #include <commctrl.h>
#include "resource.h" #include "resource.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#define REACTOS_VERSION_DLL #define REACTOS_VERSION_DLL
@ -15,5 +15,3 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDI_APPICON ICON "res/msconfig.ico" IDI_APPICON ICON "res/msconfig.ico"
#include "rsrc.rc" #include "rsrc.rc"

View file

@ -1,7 +1,13 @@
#include <windows.h> #define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#define NTOS_MODE_USER #define NTOS_MODE_USER
#include <commctrl.h> #include <stdarg.h>
#include <winuser.h> #include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <winsvc.h>
#include <winver.h>
#include <tchar.h> #include <tchar.h>
#include <stdio.h> #include <stdio.h>
#include <shlwapi.h> #include <shlwapi.h>
@ -18,5 +24,3 @@
#define MAX_KEY_LENGTH 255 #define MAX_KEY_LENGTH 255
#define MAX_VALUE_NAME 16383 #define MAX_VALUE_NAME 16383

View file

@ -1,3 +1,5 @@
#pragma once
#define IDD_MSCONFIG_DIALOG 101 #define IDD_MSCONFIG_DIALOG 101
#define IDD_TOOLS_PAGE 102 #define IDD_TOOLS_PAGE 102
#define IDD_SERVICES_PAGE 103 #define IDD_SERVICES_PAGE 103

View file

@ -1,6 +1,3 @@
#include <windows.h>
#include "resource.h"
/* define language neutral resources */ /* define language neutral resources */
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL

View file

@ -7,7 +7,7 @@
* *
*/ */
#include <precomp.h> #include "precomp.h"
HWND hServicesPage; HWND hServicesPage;
HWND hServicesListCtrl; HWND hServicesListCtrl;

View file

@ -7,7 +7,7 @@
* *
*/ */
#include <precomp.h> #include "precomp.h"
HWND hStartupPage; HWND hStartupPage;
HWND hStartupListCtrl; HWND hStartupListCtrl;

View file

@ -6,7 +6,7 @@
* COPYRIGHT: Copyright 2005-2006 Christoph von Wittich <Christoph@ApiViewer.de> * COPYRIGHT: Copyright 2005-2006 Christoph von Wittich <Christoph@ApiViewer.de>
* 2011 Gregor Schneider <Gregor.Schneider@reactos.org> * 2011 Gregor Schneider <Gregor.Schneider@reactos.org>
*/ */
#include <precomp.h> #include "precomp.h"
HWND hSystemPage; HWND hSystemPage;
HWND hSystemDialog; HWND hSystemDialog;

View file

@ -7,7 +7,7 @@
* *
*/ */
#include <precomp.h> #include "precomp.h"
HWND hToolsPage; HWND hToolsPage;
HWND hToolsListCtrl; HWND hToolsListCtrl;

View file

@ -1,5 +1,6 @@
#include <windows.h> #include <windef.h>
#include <commctrl.h> #include <winuser.h>
#include "resource.h" #include "resource.h"
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Device Manager\0" #define REACTOS_STR_FILE_DESCRIPTION "ReactOS Device Manager\0"

View file

@ -1,18 +1,20 @@
#ifndef __DEVMGMT_PRECOMP_H #ifndef __DEVMGMT_PRECOMP_H
#define __DEVMGMT_PRECOMP_H #define __DEVMGMT_PRECOMP_H
#define WIN32_LEAN_AND_MEAN #include <stdarg.h>
#include <windows.h> #include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <winreg.h>
#include <wingdi.h>
#include <windowsx.h> #include <windowsx.h>
#include <stdio.h>
#include <tchar.h> #include <tchar.h>
#include <setupapi.h> #include <setupapi.h>
#include <cfgmgr32.h> #include <cfgmgr32.h>
#include <commctrl.h>
#include <dll/devmgr/devmgr.h> #include <dll/devmgr/devmgr.h>
#include <initguid.h> #include <initguid.h>
#include <cguid.h>
#include <devguid.h> #include <devguid.h>
#include "resource.h" #include "resource.h"
#ifdef _MSC_VER #ifdef _MSC_VER

View file

@ -1,3 +1,5 @@
#pragma once
#define IDC_STATIC -1 #define IDC_STATIC -1
#define IDI_MAIN_ICON 50 #define IDI_MAIN_ICON 50

View file

@ -1,6 +1,3 @@
#include <windows.h>
#include "resource.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDI_MAIN_ICON ICON "res/computer.ico" IDI_MAIN_ICON ICON "res/computer.ico"

View file

@ -23,11 +23,16 @@
* PROGRAMMER: Marc Piulachs (marc.piulachs at codexchange [dot] net) * PROGRAMMER: Marc Piulachs (marc.piulachs at codexchange [dot] net)
*/ */
#include "eventvwr.h"
#include <windows.h>
#include <commctrl.h>
#include <stdio.h> #include <stdio.h>
#include <time.h> #include <stdlib.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <winnls.h>
#include <winreg.h>
#include <commctrl.h>
#include "resource.h"
#if _MSC_VER #if _MSC_VER
#pragma warning(disable: 4996) /* 'strdup' was declared deprecated */ #pragma warning(disable: 4996) /* 'strdup' was declared deprecated */

View file

@ -1,7 +1,7 @@
#include <windows.h> #include <windef.h>
#include <commctrl.h> #include <winuser.h>
#include "resource.h"
#include "resource.h"
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Event Log Viewer\0" #define REACTOS_STR_FILE_DESCRIPTION "ReactOS Event Log Viewer\0"
#define REACTOS_STR_INTERNAL_NAME "eventvwr\0" #define REACTOS_STR_INTERNAL_NAME "eventvwr\0"
@ -9,5 +9,3 @@
#include <reactos/version.rc> #include <reactos/version.rc>
#include "rsrc.rc" #include "rsrc.rc"

View file

@ -1,3 +1,5 @@
#pragma once
#define IDC_MYICON 2 #define IDC_MYICON 2
#define IDNEXT 3 #define IDNEXT 3
#define IDD_EVENTVWR_DIALOG 102 #define IDD_EVENTVWR_DIALOG 102
@ -66,4 +68,3 @@
#define IDS_NONE 320 #define IDS_NONE 320
#define IDS_NOT_AVAILABLE 321 #define IDS_NOT_AVAILABLE 321

View file

@ -1,6 +1,3 @@
#include <windows.h>
#include "resource.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
// Shared icons // Shared icons

View file

@ -133,7 +133,6 @@ DoControl(PMAIN_WND_INFO Info,
return bRet; return bRet;
} }
BOOL BOOL
DoPause(PMAIN_WND_INFO Info) DoPause(PMAIN_WND_INFO Info)
{ {
@ -158,7 +157,6 @@ DoPause(PMAIN_WND_INFO Info)
return bRet; return bRet;
} }
BOOL BOOL
DoResume(PMAIN_WND_INFO Info) DoResume(PMAIN_WND_INFO Info)
{ {

View file

@ -80,7 +80,6 @@ DoCreate(PCREATE_DATA Data)
return bRet; return bRet;
} }
static LPTSTR static LPTSTR
GetStringFromDialog(PCREATE_DATA Data, GetStringFromDialog(PCREATE_DATA Data,
UINT id) UINT id)
@ -111,7 +110,6 @@ GetStringFromDialog(PCREATE_DATA Data,
return lpString; return lpString;
} }
static BOOL static BOOL
GetDataFromDialog(PCREATE_DATA Data) GetDataFromDialog(PCREATE_DATA Data)
{ {
@ -163,7 +161,6 @@ FreeMemory(PCREATE_DATA Data)
Data); Data);
} }
INT_PTR CALLBACK INT_PTR CALLBACK
CreateHelpDialogProc(HWND hDlg, CreateHelpDialogProc(HWND hDlg,
UINT message, UINT message,
@ -220,7 +217,6 @@ CreateHelpDialogProc(HWND hDlg,
return FALSE; return FALSE;
} }
INT_PTR CALLBACK INT_PTR CALLBACK
CreateDialogProc(HWND hDlg, CreateDialogProc(HWND hDlg,
UINT message, UINT message,

View file

@ -55,7 +55,6 @@ DoDeleteService(PMAIN_WND_INFO Info,
return bRet; return bRet;
} }
INT_PTR CALLBACK INT_PTR CALLBACK
DeleteDialogProc(HWND hDlg, DeleteDialogProc(HWND hDlg,
UINT message, UINT message,

View file

@ -9,7 +9,6 @@
#include "precomp.h" #include "precomp.h"
LPTSTR LPTSTR
TV1_GetDependants(PSERVICEPROPSHEET pDlgInfo, TV1_GetDependants(PSERVICEPROPSHEET pDlgInfo,
SC_HANDLE hService) SC_HANDLE hService)
@ -180,7 +179,6 @@ TV1_AddDependantsToTree(PSERVICEPROPSHEET pDlgInfo,
} }
} }
BOOL BOOL
TV1_Initialize(PSERVICEPROPSHEET pDlgInfo, TV1_Initialize(PSERVICEPROPSHEET pDlgInfo,
LPTSTR lpServiceName) LPTSTR lpServiceName)

View file

@ -9,7 +9,6 @@
#include "precomp.h" #include "precomp.h"
BOOL BOOL
TV2_HasDependantServices(LPWSTR lpServiceName) TV2_HasDependantServices(LPWSTR lpServiceName)
{ {
@ -50,7 +49,6 @@ TV2_HasDependantServices(LPWSTR lpServiceName)
return bRet; return bRet;
} }
LPENUM_SERVICE_STATUS LPENUM_SERVICE_STATUS
TV2_GetDependants(LPWSTR lpServiceName, TV2_GetDependants(LPWSTR lpServiceName,
LPDWORD lpdwCount) LPDWORD lpdwCount)
@ -117,7 +115,6 @@ TV2_GetDependants(LPWSTR lpServiceName,
return lpDependencies; return lpDependencies;
} }
VOID VOID
TV2_AddDependantsToTree(PSERVICEPROPSHEET pDlgInfo, TV2_AddDependantsToTree(PSERVICEPROPSHEET pDlgInfo,
HTREEITEM hParent, HTREEITEM hParent,

Some files were not shown because too many files have changed in this diff Show more