- Move from using include guards to pragma once.

- Whilst this is non-standard and potentially makes the code less portable, it's supported by both gcc and msvc and should bringg increased compilation speed due to its optimized behaviour (doesn't need to invoke the preprocessor)
- Patch by Amine Khaldi [amine.khaldi@reactos.org]

svn path=/trunk/; revision=45685
This commit is contained in:
Ged Murphy 2010-02-26 11:43:19 +00:00
parent e9e9e2bd0e
commit c5b25b8e9b
656 changed files with 725 additions and 2796 deletions

View file

@ -1,5 +1,4 @@
#ifndef _CACLS_RESOURCE_H #pragma once
#define _CACLS_RESOURCE_H
#define IDS_HELP 101 #define IDS_HELP 101
#define IDS_ABBR_CI 102 #define IDS_ABBR_CI 102
@ -40,5 +39,3 @@
#define IDS_READ_CONTROL 137 #define IDS_READ_CONTROL 137
#define IDS_DELETE 138 #define IDS_DELETE 138
#define IDS_STANDARD_RIGHTS_ALL 139 #define IDS_STANDARD_RIGHTS_ALL 139
#endif /* _CACLS_RESOURCE_H */

View file

@ -1,5 +1,4 @@
#ifndef __CALC_H__ #pragma once
#define __CALC_H__
#include <windows.h> #include <windows.h>
#include <tchar.h> #include <tchar.h>
@ -236,5 +235,3 @@ INT_PTR CALLBACK AboutDlgProc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp);
void ConvExecute(HWND hWnd); void ConvExecute(HWND hWnd);
void ConvAdjust(HWND hWnd, int n_cat); void ConvAdjust(HWND hWnd, int n_cat);
void ConvInit(HWND hWnd); void ConvInit(HWND hWnd);
#endif

View file

@ -1,5 +1,4 @@
#ifndef __CHARMAP_PRECOMP_H #pragma once
#define __CHARMAP_PRECOMP_H
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -53,5 +52,3 @@ VOID ShowAboutDlg(HWND hWndParent);
BOOL RegisterMapClasses(HINSTANCE hInstance); BOOL RegisterMapClasses(HINSTANCE hInstance);
VOID UnregisterMapClasses(HINSTANCE hInstance); VOID UnregisterMapClasses(HINSTANCE hInstance);
#endif /* __CHARMAP_PRECOMP_H */

View file

@ -1,20 +1,5 @@
#ifndef RESOURCE_H__ /* resource.h */ #pragma once
#define RESOURCE_H__
#define IDS_USAGE 100 #define IDS_USAGE 100
#define IDS_CONTINUE 101 #define IDS_CONTINUE 101
#define IDS_FILE_ACCESS 102 #define IDS_FILE_ACCESS 102
#endif /* EOF of resource.h */

View file

@ -1,5 +1,4 @@
#ifndef RESOURCE_H__ #pragma once
#define RESOURCE_H__
/* dialog constants */ /* dialog constants */
#define IDD_MAIN_DIALOG 100 #define IDD_MAIN_DIALOG 100
@ -142,6 +141,3 @@
/* icon resource constants */ /* icon resource constants */
#define IDI_APPICON 20000 #define IDI_APPICON 20000
#endif

View file

@ -1,5 +1,4 @@
#ifndef _DISPLAY_H #pragma once
#define _DISPLAY_H
/* Messages for the display class */ /* Messages for the display class */
#define FVM_SETTYPEFACE WM_USER #define FVM_SETTYPEFACE WM_USER
@ -14,5 +13,3 @@ extern const WCHAR g_szFontDisplayClassName[];
/* Public function */ /* Public function */
BOOL Display_InitClass(HINSTANCE hInstance); BOOL Display_InitClass(HINSTANCE hInstance);
#endif // _DISPLAY_H

View file

@ -1,5 +1,4 @@
#ifndef SOLITAIRE_INCLUDED #pragma once
#define SOLITAIRE_INCLUDED
extern CardWindow SolWnd; extern CardWindow SolWnd;
extern TCHAR szAppName[]; extern TCHAR szAppName[];
@ -54,5 +53,3 @@ void CARDLIBPROC DeckClickProc(CardRegion &stackobj, int iNumClicked);
void CARDLIBPROC PileDblClickProc(CardRegion &stackobj, int iNumClicked); void CARDLIBPROC PileDblClickProc(CardRegion &stackobj, int iNumClicked);
void CARDLIBPROC PileRemoveProc(CardRegion &stackobj, int iRemoved); void CARDLIBPROC PileRemoveProc(CardRegion &stackobj, int iRemoved);
#endif

View file

@ -1,5 +1,4 @@
#ifndef SOLITAIRE_INCLUDED #pragma once
#define SOLITAIRE_INCLUDED
#define DIFFICULTY_ONE_COLOR 1 #define DIFFICULTY_ONE_COLOR 1
#define DIFFICULTY_TWO_COLORS 2 #define DIFFICULTY_TWO_COLORS 2
@ -38,5 +37,3 @@ void CARDLIBPROC DeckClickProc(CardRegion &stackobj, int iNumClicked);
void CARDLIBPROC PileDblClickProc(CardRegion &stackobj, int iNumClicked); void CARDLIBPROC PileDblClickProc(CardRegion &stackobj, int iNumClicked);
void CARDLIBPROC PileRemoveProc(CardRegion &stackobj, int iRemoved); void CARDLIBPROC PileRemoveProc(CardRegion &stackobj, int iRemoved);
#endif

View file

@ -1,5 +1,4 @@
#ifndef __PRECOMP_H #pragma once
#define __PRECOMP_H
#include <windows.h> #include <windows.h>
#include <commctrl.h> #include <commctrl.h>
@ -34,5 +33,3 @@ LoadAndFormatString(IN HINSTANCE hInstance,
extern HINSTANCE hAppInstance; extern HINSTANCE hAppInstance;
extern HANDLE hAppHeap; extern HANDLE hAppHeap;
#endif /* __PRECOMP_H */

View file

@ -1,5 +1,4 @@
#ifndef __RESOURCE_H #pragma once
#define __RESOURCE_H
#define IDS_APPTITLE 101 #define IDS_APPTITLE 101
#define IDS_CONSOLETITLE 102 #define IDS_CONSOLETITLE 102
@ -10,5 +9,3 @@
#define ID_FILE_EXIT 1001 #define ID_FILE_EXIT 1001
#define ID_HELP_ABOUT 9001 #define ID_HELP_ABOUT 9001
#endif /* __RESOURCE_H */

View file

@ -1,5 +1,4 @@
#ifndef __RESOURCE_H_ #pragma once
#define __RESOURCE_H_
/* Icons */ /* Icons */
#define IDI_MAIN 10 #define IDI_MAIN 10
@ -51,5 +50,3 @@
#define IDC_SEEKBACK 1504 #define IDC_SEEKBACK 1504
#define IDC_SEEKFORW 1505 #define IDC_SEEKFORW 1505
#define IDC_FORWARD 1506 #define IDC_FORWARD 1506
#endif /* __RESOURCE_H_ */

View file

@ -1,5 +1,4 @@
#ifndef __DEVMGMT_PRECOMP_H #pragma once
#define __DEVMGMT_PRECOMP_H
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include <windows.h> #include <windows.h>
@ -93,5 +92,3 @@ HIMAGELIST InitImageList(UINT NumButtons,
VOID GetError(VOID); VOID GetError(VOID);
VOID DisplayString(LPTSTR); VOID DisplayString(LPTSTR);
#endif /* __DEVMGMT_PRECOMP_H */

View file

@ -1,5 +1,4 @@
#ifndef __SERVMAN_PRECOMP_H #pragma once
#define __SERVMAN_PRECOMP_H
//#define WIN32_LEAN_AND_MEAN //#define WIN32_LEAN_AND_MEAN
#include <windows.h> #include <windows.h>
@ -185,5 +184,3 @@ HIMAGELIST InitImageList(UINT StartResource,
UINT Width, UINT Width,
UINT Height, UINT Height,
ULONG type); ULONG type);
#endif /* __SERVMAN_PRECOMP_H */

View file

@ -18,8 +18,7 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __BSOPS_MSTSC_H #pragma once
#define __BSOPS_MSTSC_H
int bs_get_pixel(int x, int y); int bs_get_pixel(int x, int y);
void bs_set_pixel(int x, int y, int pixel, int rop, int use_clip); void bs_set_pixel(int x, int y, int pixel, int rop, int use_clip);
@ -50,5 +49,3 @@ void bs_patblt(int opcode, int x, int y, int cx, int cy,
int brush_style, char * brush_pattern, int brush_style, char * brush_pattern,
int brush_x_org, int brush_y_org, int brush_x_org, int brush_y_org,
int bgcolour, int fgcolour); int bgcolour, int fgcolour);
#endif /* __BSOPS_MSTSC_H */

View file

@ -18,8 +18,7 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __ORDERS_MSTSC_H #pragma once
#define __ORDERS_MSTSC_H
#define RDP_ORDER_STANDARD 0x01 #define RDP_ORDER_STANDARD 0x01
#define RDP_ORDER_SECONDARY 0x02 #define RDP_ORDER_SECONDARY 0x02
@ -369,5 +368,3 @@ typedef struct _RDP_COLCACHE_ORDER
} }
RDP_COLCACHE_ORDER; RDP_COLCACHE_ORDER;
#endif /* __ORDERS_MSTSC_H */

View file

@ -17,8 +17,7 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef RDESKTOP_PROTO_H #pragma once
#define RDESKTOP_PROTO_H
/* *INDENT-OFF* */ /* *INDENT-OFF* */
#ifdef __cplusplus #ifdef __cplusplus
@ -306,5 +305,3 @@ unsigned int seamless_send_focus(unsigned long id, unsigned long flags);
} }
#endif #endif
/* *INDENT-ON* */ /* *INDENT-ON* */
#endif

View file

@ -18,8 +18,7 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __RDESKTOP_MSTSC_H #pragma once
#define __RDESKTOP_MSTSC_H
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
@ -127,5 +126,3 @@
#ifndef MAKE_PROTO #ifndef MAKE_PROTO
#include "proto.h" #include "proto.h"
#endif #endif
#endif /* __RDESKTOP_MSTSC_H */

View file

@ -18,8 +18,7 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __UIMAIN_MSTSC_H #pragma once
#define __UIMAIN_MSTSC_H
/* in uimain.c */ /* in uimain.c */
int int
@ -77,5 +76,3 @@ ui_set_modifier_state(int code);
#define UI_MAX(a, b) (((a) > (b)) ? (a) : (b)) #define UI_MAX(a, b) (((a) > (b)) ? (a) : (b))
#undef UI_MIN #undef UI_MIN
#define UI_MIN(a, b) (((a) < (b)) ? (a) : (b)) #define UI_MIN(a, b) (((a) < (b)) ? (a) : (b))
#endif /* __UIMAIN_MSTSC_H */

View file

@ -33,8 +33,7 @@
* @(#)err.h 8.1 (Berkeley) 6/2/93 * @(#)err.h 8.1 (Berkeley) 6/2/93
*/ */
#ifndef _ERR_H_ #pragma once
#define _ERR_H_
/* /*
* Don't use va_list in the err/warn prototypes. Va_list is typedef'd in two * Don't use va_list in the err/warn prototypes. Va_list is typedef'd in two
@ -56,5 +55,3 @@ void warn __P((const char *, ...));
void vwarn __P((const char *, va_list)); void vwarn __P((const char *, va_list));
void warnx __P((const char *, ...)); void warnx __P((const char *, ...));
void vwarnx __P((const char *, va_list)); void vwarnx __P((const char *, va_list));
#endif /* !_ERR_H_ */

View file

@ -1,9 +1,7 @@
// Various things you need when porting BSD and GNU utilities to // Various things you need when porting BSD and GNU utilities to
// Win32. // Win32.
#ifndef VARIOUS_H #pragma once
#define VARIOUS_H
typedef float f4byte_t; typedef float f4byte_t;
typedef double f8byte_t; typedef double f8byte_t;
@ -32,5 +30,3 @@ typedef long uid_t; // SunOS 5.5
#define rindex(s, c) strrchr(s, c) #define rindex(s, c) strrchr(s, c)
void netfinger(char *); void netfinger(char *);
#endif

View file

@ -1,5 +1,4 @@
#ifndef __ANSIPRSR_H #pragma once
#define __ANSIPRSR_H
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -81,5 +80,3 @@ public:
char* ParseBuffer(char* pszBuffer, char* pszBufferEnd); char* ParseBuffer(char* pszBuffer, char* pszBufferEnd);
static int StripBuffer(char* pszBuffer, char* pszBufferEnd, int width); static int StripBuffer(char* pszBuffer, char* pszBufferEnd, int width);
}; };
#endif

View file

@ -18,8 +18,7 @@
// DeleteKeyDef : Deletes a key def from the list // // DeleteKeyDef : Deletes a key def from the list //
/////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////
#ifndef __KEYTRANS_H #pragma once
#define __KEYTRANS_H
#include "tkeydef.h" #include "tkeydef.h"
#include "tkeymap.h" #include "tkeymap.h"
@ -93,5 +92,3 @@ private:
int currentKeyMap, mainKeyMap; // AVS int currentKeyMap, mainKeyMap; // AVS
}; };
#endif // __KEYTRANS_H

View file

@ -1,8 +1,7 @@
// This is the STL wrapper for classlib/arrays.h from Borland's web site // This is the STL wrapper for classlib/arrays.h from Borland's web site
// It has been modified to be compatible with vc++ (Paul Branann 5/7/98) // It has been modified to be compatible with vc++ (Paul Branann 5/7/98)
#ifndef STL_ARRAY_AS_VECTOR #pragma once
#define STL_ARRAY_AS_VECTOR
#ifdef _MSC_VER #ifdef _MSC_VER
#pragma warning(disable: 4786) #pragma warning(disable: 4786)
@ -156,5 +155,3 @@ public:
} }
}; };
#endif

View file

@ -1,8 +1,7 @@
// This is a simple class to handle character maps // This is a simple class to handle character maps
// (Paul Brannan 6/25/98) // (Paul Brannan 6/25/98)
#ifndef __TCHARMAP_H #pragma once
#define __TCHARMAP_H
class TCharmap { class TCharmap {
private: private:
@ -37,5 +36,3 @@ public:
int enabled; int enabled;
}; };
#endif

View file

@ -1,5 +1,4 @@
#ifndef __TNPARSER_H #pragma once
#define __TNPARSER_H
#include "tnconfig.h" #include "tnconfig.h"
@ -168,5 +167,3 @@ void saveScreen(CHAR_INFO* chiBuffer);
void restoreScreen(CHAR_INFO* chiBuffer); void restoreScreen(CHAR_INFO* chiBuffer);
CHAR_INFO* newBuffer(); CHAR_INFO* newBuffer();
void deleteBuffer(CHAR_INFO* chiBuffer); void deleteBuffer(CHAR_INFO* chiBuffer);
#endif

View file

@ -1,5 +1,4 @@
#ifndef ___TELNET_H #pragma once
#define ___TELNET_H
/* /*
* Copyright (c) 1983 Regents of the University of California. * Copyright (c) 1983 Regents of the University of California.
@ -298,8 +297,3 @@ extern char *enctype_names[];
#define ENCTYPE_NAME(x) enctype_names[x] #define ENCTYPE_NAME(x) enctype_names[x]
////////////////////////////////////////////////////// //////////////////////////////////////////////////////
////////////////////////////////////////////////////// //////////////////////////////////////////////////////
#endif

View file

@ -3,8 +3,7 @@
// - keeped in an array container // // - keeped in an array container //
///////////////////////////////////////////////////////// /////////////////////////////////////////////////////////
#ifndef __TKEYDEF_H #pragma once
#define __TKEYDEF_H
#include <windows.h> #include <windows.h>
@ -67,5 +66,3 @@ public:
DWORD GetCodeKey() { return vk_code; } DWORD GetCodeKey() { return vk_code; }
}; };
#endif

View file

@ -1,5 +1,4 @@
#ifndef __TKEYMAP_H #pragma once
#define __TKEYMAP_H
#include "tkeydef.h" #include "tkeydef.h"
@ -35,5 +34,3 @@ struct KeyMap {
~KeyMap(); ~KeyMap();
}; };
#endif

View file

@ -68,8 +68,7 @@
// // // //
/////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////
#ifndef __TLOADMAP_H #pragma once
#define __TLOADMAP_H
#include "keytrans.h" #include "keytrans.h"
#include "tcharmap.h" #include "tcharmap.h"
@ -101,5 +100,3 @@ private:
int LoadCharMap(string buf); int LoadCharMap(string buf);
}; };
#endif

View file

@ -1,5 +1,4 @@
#ifndef __TMOUSE_H #pragma once
#define __TMOUSE_H
#include "tnclip.h" #include "tnclip.h"
#include <windows.h> #include <windows.h>
@ -25,5 +24,3 @@ public:
TMouse(Tnclip &RefClipboard); TMouse(Tnclip &RefClipboard);
~TMouse(); ~TMouse();
}; };
#endif

View file

@ -1,5 +1,4 @@
#ifndef __TNCLASS_H_ #pragma once
#define __TNCLASS_H_
#include <windows.h> #include <windows.h>
#include "tnconfig.h" #include "tnconfig.h"
@ -69,6 +68,3 @@ private:
void NewProcess(); // Paul Brannan 9/13/98 void NewProcess(); // Paul Brannan 9/13/98
void SetLocalAddress(SOCKET s); void SetLocalAddress(SOCKET s);
}; };
#endif

View file

@ -1,5 +1,4 @@
#ifndef __TNCLIP_H #pragma once
#define __TNCLIP_H
#include <windows.h> #include <windows.h>
#include "tnetwork.h" #include "tnetwork.h"
@ -16,5 +15,3 @@ public:
void Copy(HGLOBAL clipboard_data); void Copy(HGLOBAL clipboard_data);
void Paste(); void Paste();
}; };
#endif

View file

@ -1,5 +1,4 @@
#ifndef __TNCON_H #pragma once
#define __TNCON_H
#include "tparams.h" #include "tparams.h"
#include "tnclip.h" #include "tnclip.h"
@ -30,5 +29,3 @@ BOOL WINAPI ControlEventHandler(DWORD);
// Bryan Montgomery 10/14/98 // Bryan Montgomery 10/14/98
void setTNetwork(TNetwork); void setTNetwork(TNetwork);
#endif

View file

@ -6,8 +6,7 @@
// It does not store any information about the current settings, only default // It does not store any information about the current settings, only default
// or recommended settings. // or recommended settings.
#ifndef __TNCONFIG_H #pragma once
#define __TNCONFIG_H
// Ioannou 2 June 98: Borland needs them - quick hack // Ioannou 2 June 98: Borland needs them - quick hack
#ifdef __BORLANDC__ #ifdef __BORLANDC__
@ -207,5 +206,3 @@ private:
}; };
extern TConfig ini; extern TConfig ini;
#endif

View file

@ -1,5 +1,4 @@
#ifndef __TNERROR_H #pragma once
#define __TNERROR_H
#ifndef __WINDOWS_H #ifndef __WINDOWS_H
#include <windows.h> #include <windows.h>
@ -12,5 +11,3 @@ extern int Telnet_Redir;
int printm(LPTSTR szModule, BOOL fSystem, DWORD dwMessageId, ...); int printm(LPTSTR szModule, BOOL fSystem, DWORD dwMessageId, ...);
void LogErrorConsole(LPTSTR szError); void LogErrorConsole(LPTSTR szError);
int printit(const char * it); int printit(const char * it);
#endif

View file

@ -1,8 +1,7 @@
// This is a simple class to handle socket connections // This is a simple class to handle socket connections
// (Paul Brannan 6/15/98) // (Paul Brannan 6/15/98)
#ifndef __TNETWORK_H #pragma once
#define __TNETWORK_H
#include <windows.h> #include <windows.h>
@ -46,5 +45,3 @@ public:
void do_naws(int width, int height); void do_naws(int width, int height);
}; };
#endif

View file

@ -1,5 +1,4 @@
#ifndef __TNMAIN_H #pragma once
#define __TNMAIN_H
#include <stdlib.h> #include <stdlib.h>
#include <process.h> #include <process.h>
@ -15,5 +14,3 @@ struct cmdHistory {
struct cmdHistory *next; struct cmdHistory *next;
struct cmdHistory *prev; struct cmdHistory *prev;
}; };
#endif

View file

@ -1,5 +1,4 @@
#ifndef __TNMISC_H #pragma once
#define __TNMISC_H
// Process-related functions // Process-related functions
BOOL CreateHiddenConsoleProcess(LPCTSTR szChildName, PROCESS_INFORMATION* ppi, BOOL CreateHiddenConsoleProcess(LPCTSTR szChildName, PROCESS_INFORMATION* ppi,
@ -14,5 +13,3 @@ HWND TelnetGetConsoleWindow(void);
bool SetIcon(HWND hConsoleWindow, HANDLE hIcon, LPARAM *pOldBIcon, LPARAM *pOldSIcon, bool SetIcon(HWND hConsoleWindow, HANDLE hIcon, LPARAM *pOldBIcon, LPARAM *pOldSIcon,
const char *icondir); const char *icondir);
void ResetIcon(HWND hConsoleWindow, LPARAM oldBIcon, LPARAM oldSIcon); void ResetIcon(HWND hConsoleWindow, LPARAM oldBIcon, LPARAM oldSIcon);
#endif

View file

@ -1,5 +1,4 @@
#ifndef __THREADPARAMS #pragma once
#define __THREADPARAMS
#include "ttelhndl.h" #include "ttelhndl.h"
@ -20,5 +19,3 @@ public:
NetParams p; NetParams p;
TTelnetHandler &TelHandler; TTelnetHandler &TelHandler;
}; };
#endif

View file

@ -10,8 +10,7 @@
// - An Init() function, which will re-initialize the parser when // - An Init() function, which will re-initialize the parser when
// necessary. // necessary.
#ifndef __TPARSER_H #pragma once
#define __TPARSER_H
#include "tconsole.h" #include "tconsole.h"
#include "keytrans.h" #include "keytrans.h"
@ -45,5 +44,3 @@ protected:
TNetwork &Network; TNetwork &Network;
TCharmap &Charmap; TCharmap &Charmap;
}; };
#endif

View file

@ -1,5 +1,4 @@
#ifndef __TSCRIPT_H #pragma once
#define __TSCRIPT_H
#include <windows.h> #include <windows.h>
#include <stdio.h> #include <stdio.h>
@ -16,5 +15,3 @@ private:
char *script; char *script;
TNetwork &Network; TNetwork &Network;
}; };
#endif

View file

@ -1,5 +1,4 @@
#ifndef __TSCROLL_H #pragma once
#define __TSCROLL_H
#include "tconsole.h" #include "tconsole.h"
#include "tmouse.h" #include "tmouse.h"
@ -22,5 +21,3 @@ public:
TScroller(TMouse &M, int size=20000); TScroller(TMouse &M, int size=20000);
~TScroller(); ~TScroller();
}; };
#endif

View file

@ -1,5 +1,4 @@
#ifndef __TTELHNDL_H #pragma once
#define __TTELHNDL_H
#include "tparser.h" #include "tparser.h"
#include "tnetwork.h" #include "tnetwork.h"
@ -47,5 +46,3 @@ public:
int get_term() {return iTermSet;} int get_term() {return iTermSet;}
}; };
#endif

View file

@ -1,5 +1,4 @@
#ifndef _RAPPS_H__ #pragma once
#define _RAPPS_H__
#include <windows.h> #include <windows.h>
#include <commctrl.h> #include <commctrl.h>
@ -185,5 +184,3 @@ VOID ToolBarOnGetDispInfo(LPTOOLTIPTEXT lpttt);
extern HWND hTreeView; extern HWND hTreeView;
BOOL CreateTreeView(HWND hwnd); BOOL CreateTreeView(HWND hwnd);
HTREEITEM TreeViewAddItem(HTREEITEM hParent, LPWSTR lpText, INT Image, INT SelectedImage, LPARAM lParam); HTREEITEM TreeViewAddItem(HTREEITEM hParent, LPWSTR lpText, INT Image, INT SelectedImage, LPARAM lParam);
#endif /* _RAPPS_H__ */

View file

@ -1,5 +1,4 @@
#ifndef _RESOURCE_H__ #pragma once
#define _RESOURCE_H__
/* Icons */ /* Icons */
#define IDI_MAIN 10 #define IDI_MAIN 10
@ -152,5 +151,3 @@
#ifndef IDC_STATIC #ifndef IDC_STATIC
#define IDC_STATIC -1 #define IDC_STATIC -1
#endif #endif
#endif /* _RESOURCE_H__ */

View file

@ -1,5 +1,4 @@
#ifndef __CLBDLL_H #pragma once
#define __CLBDLL_H
#define CLBS_NOTIFY 0x1 #define CLBS_NOTIFY 0x1
#define CLBS_SORT 0x2 #define CLBS_SORT 0x2
@ -39,5 +38,3 @@ typedef struct _CUSTOM_CONTROL_INFO
LRESULT CALLBACK ClbWndProc(HWND,UINT,WPARAM,LPARAM); LRESULT CALLBACK ClbWndProc(HWND,UINT,WPARAM,LPARAM);
INT_PTR WINAPI ClbStyleW(HWND,LPARAM); INT_PTR WINAPI ClbStyleW(HWND,LPARAM);
BOOL WINAPI CustomControlInfoW(LPCUSTOM_CONTROL_INFO); BOOL WINAPI CustomControlInfoW(LPCUSTOM_CONTROL_INFO);
#endif /* __CLBDLL_H */

View file

@ -1,6 +1,3 @@
#ifndef __CLB_RESOURCE_H #pragma once
#define __CLB_RESOURCE_H
#define IDD_COLUMNLISTBOXSTYLES 1700 #define IDD_COLUMNLISTBOXSTYLES 1700
#endif /* __CLB_RESOURCE_H */

View file

@ -1,5 +1,4 @@
#ifndef __HEXEDIT_H #pragma once
#define __HEXEDIT_H
#define HEX_EDIT_CLASS_NAME _T("HexEdit32") #define HEX_EDIT_CLASS_NAME _T("HexEdit32")
@ -36,5 +35,3 @@ UnregisterHexEditorClass(HINSTANCE hInstance);
#define HexEdit_SetMaxBufferSize(hWnd, Size) \ #define HexEdit_SetMaxBufferSize(hWnd, Size) \
SendMessage((hWnd), HEM_SETMAXBUFFERSIZE, 0, (LPARAM)(Size)) SendMessage((hWnd), HEM_SETMAXBUFFERSIZE, 0, (LPARAM)(Size))
#endif /* __HEXEDIT_H */

View file

@ -18,8 +18,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
*/ */
#ifndef __MAIN_H__ #pragma once
#define __MAIN_H__
#include "resource.h" #include "resource.h"
@ -124,5 +123,3 @@ extern void DestroyMainMenu( void );
/* edit.c */ /* edit.c */
extern BOOL ModifyValue(HWND hwnd, HKEY hKey, LPCTSTR valueName, BOOL EditBin); extern BOOL ModifyValue(HWND hwnd, HKEY hKey, LPCTSTR valueName, BOOL EditBin);
extern BOOL DeleteKey(HWND hwnd, HKEY hKeyRoot, LPCTSTR keyPath); extern BOOL DeleteKey(HWND hwnd, HKEY hKeyRoot, LPCTSTR keyPath);
#endif /* __MAIN_H__ */

View file

@ -1,5 +1,4 @@
#ifndef _REGEXP_SECURITY_H #pragma once
#define _REGEXP_SECURITY_H
BOOL BOOL
InitializeAclUiDll(VOID); InitializeAclUiDll(VOID);
@ -154,6 +153,4 @@ typedef struct _CRegKeySecurity
TCHAR szRegKey[1]; TCHAR szRegKey[1];
} CRegKeySecurity, *PCRegKeySecurity; } CRegKeySecurity, *PCRegKeySecurity;
#endif /* _REGEXP_SECURITY_H */
/* EOF */ /* EOF */

View file

@ -1,5 +1,4 @@
#ifndef __SNDVOL_RESOURCES_H #pragma once
#define __SNDVOL_RESOURCES_H
#define IDM_MAINMENU 101 #define IDM_MAINMENU 101
@ -22,5 +21,3 @@
#define IDS_SNDVOL32 100 #define IDS_SNDVOL32 100
#define IDS_NOMIXERDEVICES 101 #define IDS_NOMIXERDEVICES 101
#endif /* __SNDVOL_RESOURCES_H */

View file

@ -20,9 +20,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifndef __ABOUT_H #pragma once
#define __ABOUT_H
void OnAbout(void); void OnAbout(void);
#endif /* __ABOUT_H */

View file

@ -20,9 +20,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifndef __AFFINITY_H #pragma once
#define __AFFINITY_H
void ProcessPage_OnSetAffinity(void); void ProcessPage_OnSetAffinity(void);
#endif /* __AFFINITY_H */

View file

@ -20,8 +20,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
*/ */
#ifndef __APPLICATIONPAGE_H #pragma once
#define __APPLICATIONPAGE_H
extern HWND hApplicationPage; /* Application List Property Page */ extern HWND hApplicationPage; /* Application List Property Page */
@ -43,5 +42,3 @@ void ApplicationPage_OnWindowsBringToFront(void);
void ApplicationPage_OnSwitchTo(void); void ApplicationPage_OnSwitchTo(void);
void ApplicationPage_OnEndTask(void); void ApplicationPage_OnEndTask(void);
void ApplicationPage_OnGotoProcess(void); void ApplicationPage_OnGotoProcess(void);
#endif /* __APPLICATIONPAGE_H */

View file

@ -20,8 +20,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
*/ */
#ifndef __COLUMN_H #pragma once
#define __COLUMN_H
#define COLUMN_IMAGENAME 0 #define COLUMN_IMAGENAME 0
#define COLUMN_PID 1 #define COLUMN_PID 1
@ -110,5 +109,3 @@ void ProcessPage_OnViewSelectColumns(void);
void AddColumns(void); void AddColumns(void);
void SaveColumnSettings(void); void SaveColumnSettings(void);
void UpdateColumnDataHints(void); void UpdateColumnDataHints(void);
#endif /* __COLUMN_H */

View file

@ -20,9 +20,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifndef __DEBUG_H #pragma once
#define __DEBUG_H
void ProcessPage_OnDebug(void); void ProcessPage_OnDebug(void);
#endif /* __DEBUG_H */

View file

@ -20,10 +20,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
*/ */
#ifndef __ENDPROC_H #pragma once
#define __ENDPROC_H
void ProcessPage_OnEndProcess(void); void ProcessPage_OnEndProcess(void);
void ProcessPage_OnEndProcessTree(void); void ProcessPage_OnEndProcessTree(void);
#endif /* __ENDPROC_H */

View file

@ -20,8 +20,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
*/ */
#ifndef __GRAPH_H #pragma once
#define __GRAPH_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -41,5 +40,3 @@ INT_PTR CALLBACK Graph_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
#ifdef __cplusplus #ifdef __cplusplus
}; };
#endif #endif
#endif /* __GRAPH_H */

View file

@ -20,8 +20,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
*/ */
#ifndef __GRAPH_CTRL_H__ #pragma once
#define __GRAPH_CTRL_H__
#define MAX_PLOTS 4 #define MAX_PLOTS 4
#define MAX_CTRLS 4 #define MAX_CTRLS 4
@ -110,5 +109,3 @@ INT_PTR CALLBACK GraphCtrl_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARA
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* __GRAPH_CTRL_H__ */

View file

@ -24,8 +24,7 @@
* Menu item handlers for the options menu. * Menu item handlers for the options menu.
*/ */
#ifndef __OPTNMENU_H #pragma once
#define __OPTNMENU_H
#define OPTIONS_MENU_INDEX 1 #define OPTIONS_MENU_INDEX 1
@ -33,5 +32,3 @@ void TaskManager_OnOptionsAlwaysOnTop(void);
void TaskManager_OnOptionsMinimizeOnUse(void); void TaskManager_OnOptionsMinimizeOnUse(void);
void TaskManager_OnOptionsHideWhenMinimized(void); void TaskManager_OnOptionsHideWhenMinimized(void);
void TaskManager_OnOptionsShow16BitTasks(void); void TaskManager_OnOptionsShow16BitTasks(void);
#endif /* __OPTNMENU_H */

View file

@ -20,8 +20,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
*/ */
#ifndef __PERFDATA_H #pragma once
#define __PERFDATA_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -106,5 +105,3 @@ ULONG PerfDataGetTotalThreadCount(void);
#ifdef __cplusplus #ifdef __cplusplus
}; };
#endif #endif
#endif /* __PERFDATA_H */

View file

@ -20,8 +20,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
*/ */
#ifndef __PERFORMANCEPAGE_H #pragma once
#define __PERFORMANCEPAGE_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -37,5 +36,3 @@ void PerformancePage_OnViewCPUHistoryOneGraphPerCPU(void);
#ifdef __cplusplus #ifdef __cplusplus
}; };
#endif #endif
#endif /* __PERFORMANCEPAGE_H */

View file

@ -1,5 +1,4 @@
#ifndef __PRECOMP_H #pragma once
#define __PRECOMP_H
#ifndef UNICODE #ifndef UNICODE
#error Task-Manager uses NDK functions, so it can only be compiled with Unicode support enabled! #error Task-Manager uses NDK functions, so it can only be compiled with Unicode support enabled!
@ -36,5 +35,3 @@
#include "priority.h" #include "priority.h"
#include "run.h" #include "run.h"
#include "trayicon.h" #include "trayicon.h"
#endif /* __PRECOMP_H */

View file

@ -20,9 +20,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifndef __PRIORITY_H #pragma once
#define __PRIORITY_H
void DoSetPriority(DWORD priority); void DoSetPriority(DWORD priority);
#endif /* __PRIORITY_H */

View file

@ -20,11 +20,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
*/ */
#ifndef __PROCLIST_H #pragma once
#define __PROCLIST_H
INT_PTR CALLBACK ProcessListWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); INT_PTR CALLBACK ProcessListWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
extern WNDPROC OldProcessListWndProc; extern WNDPROC OldProcessListWndProc;
#endif /* __PROCLIST_H */

View file

@ -20,8 +20,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
*/ */
#ifndef __PROCESSPAGE_H #pragma once
#define __PROCESSPAGE_H
extern HWND hProcessPage; /* Process List Property Page */ extern HWND hProcessPage; /* Process List Property Page */
extern HWND hProcessPageListCtrl; /* Process ListCtrl Window */ extern HWND hProcessPageListCtrl; /* Process ListCtrl Window */
@ -32,5 +31,3 @@ extern HWND hProcessPageShowAllProcessesButton; /* Process Show All Processes c
INT_PTR CALLBACK ProcessPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam); INT_PTR CALLBACK ProcessPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
void RefreshProcessPage(void); void RefreshProcessPage(void);
DWORD GetSelectedProcessId(void); DWORD GetSelectedProcessId(void);
#endif /* __PROCESSPAGE_H */

View file

@ -28,8 +28,7 @@
* jholderness@geocities.com * jholderness@geocities.com
*/ */
#ifndef __RUN_H #pragma once
#define __RUN_H
void TaskManager_OnFileNew(void); void TaskManager_OnFileNew(void);
@ -50,5 +49,3 @@ UINT uFlags);
#define RFF_CALCDIRECTORY 0x04 /* Calculates the working directory from the file name. */ #define RFF_CALCDIRECTORY 0x04 /* Calculates the working directory from the file name. */
#define RFF_NOLABEL 0x08 /* Removes the edit box label. */ #define RFF_NOLABEL 0x08 /* Removes the edit box label. */
#define RFF_NOSEPARATEMEM 0x20 /* Removes the Separate Memory Space check box (Windows NT only). */ #define RFF_NOSEPARATEMEM 0x20 /* Removes the Separate Memory Space check box (Windows NT only). */
#endif /* __RUN_H */

View file

@ -20,8 +20,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
*/ */
#ifndef __TASKMGR_H__ #pragma once
#define __TASKMGR_H__
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -124,5 +123,3 @@ LPTSTR GetLastErrorText( LPTSTR lpszBuf, DWORD dwSize );
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* __TASKMGR_H__ */

View file

@ -20,8 +20,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
*/ */
#ifndef __TRAYICON_H #pragma once
#define __TRAYICON_H
#define WM_ONTRAYICON WM_USER + 5 #define WM_ONTRAYICON WM_USER + 5
@ -29,5 +28,3 @@ HICON TrayIcon_GetProcessorUsageIcon(void);
BOOL TrayIcon_ShellAddTrayIcon(void); BOOL TrayIcon_ShellAddTrayIcon(void);
BOOL TrayIcon_ShellRemoveTrayIcon(void); BOOL TrayIcon_ShellRemoveTrayIcon(void);
BOOL TrayIcon_ShellUpdateTrayIcon(void); BOOL TrayIcon_ShellUpdateTrayIcon(void);
#endif /* __TRAYICON_H */

View file

@ -6,8 +6,8 @@
* DEFINES: DBG - Enable debug output * DEFINES: DBG - Enable debug output
* NASSERT - Disable assertions * NASSERT - Disable assertions
*/ */
#ifndef __DEBUG_H
#define __DEBUG_H #pragma once
#define NORMAL_MASK 0x000000FF #define NORMAL_MASK 0x000000FF
#define SPECIAL_MASK 0xFFFFFF00 #define SPECIAL_MASK 0xFFFFFF00
@ -48,6 +48,4 @@ extern unsigned long debug_trace_level;
#endif /* DBG */ #endif /* DBG */
#endif /* __DEBUG_H */
/* EOF */ /* EOF */

View file

@ -39,8 +39,7 @@
* Enterprises, see ``http://www.vix.com''. * Enterprises, see ``http://www.vix.com''.
*/ */
#ifndef DHCPD_H #pragma once
#define DHCPD_H
#include <winsock2.h> #include <winsock2.h>
#include <iphlpapi.h> #include <iphlpapi.h>
@ -484,5 +483,3 @@ int buf_add(struct buf *, void *, size_t);
int buf_close(int, struct buf *); int buf_close(int, struct buf *);
ssize_t buf_read(int, void *, size_t); ssize_t buf_read(int, void *, size_t);
void dispatch_imsg(int); void dispatch_imsg(int);
#endif/*DHCPD_H*/

View file

@ -1,7 +1,4 @@
#ifndef REACTOS_PREDEC_H #pragma once
#define REACTOS_PREDEC_H
struct iaddr; struct iaddr;
struct interface_info; struct interface_info;
#endif

View file

@ -1,5 +1,4 @@
#ifndef REACTOS_STDINT_H #pragma once
#define REACTOS_STDINT_H
typedef signed char int8_t; typedef signed char int8_t;
typedef unsigned char u_int8_t; typedef unsigned char u_int8_t;
@ -9,5 +8,3 @@ typedef int int32_t;
typedef unsigned int u_int32_t; typedef unsigned int u_int32_t;
typedef char *caddr_t; typedef char *caddr_t;
#endif

View file

@ -5,8 +5,8 @@
* PURPOSE: Provide dll service loader * PURPOSE: Provide dll service loader
* PROGRAMMERS: Gregor Brunmar (gregor.brunmar@home.se) * PROGRAMMERS: Gregor Brunmar (gregor.brunmar@home.se)
*/ */
#ifndef __SVCHOST_H__
#define __SVCHOST_H__ #pragma once
/* INCLUDES ******************************************************************/ /* INCLUDES ******************************************************************/
@ -32,7 +32,4 @@ typedef struct _SERVICE {
/* FUNCTIONS *****************************************************************/ /* FUNCTIONS *****************************************************************/
#endif /* __SVCHOST_H__ */
/* EOF */ /* EOF */

View file

@ -29,8 +29,7 @@
* @(#)syslog.h 8.1 (Berkeley) 6/2/93 * @(#)syslog.h 8.1 (Berkeley) 6/2/93
*/ */
#ifndef _SYS_SYSLOG_H #pragma once
#define _SYS_SYSLOG_H 1
#include <stdarg.h> #include <stdarg.h>
@ -193,5 +192,3 @@ extern const char* set_syslog_conf_dir( const char* dir );
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* syslog.h */

View file

@ -1,5 +1,4 @@
#ifndef __TELNETD_H #pragma once
#define __TELNETD_H
#define _CRT_SECURE_NO_WARNINGS #define _CRT_SECURE_NO_WARNINGS
@ -82,6 +81,3 @@ static DWORD WINAPI ReadFromPipeThread(LPVOID);
static void TerminateShell(client_t *client); static void TerminateShell(client_t *client);
static VOID ErrorExit(LPTSTR); static VOID ErrorExit(LPTSTR);
int kickoff_telnetd(void); int kickoff_telnetd(void);
#endif /* __TELNETD_H */

View file

@ -1,5 +1,4 @@
#ifndef RESOURCE_H #pragma once
#define RESOURCE_H
#define IDB_WATERMARK 100 #define IDB_WATERMARK 100
#define IDB_HEADER 101 #define IDB_HEADER 101
@ -61,5 +60,3 @@
#define IDC_DEVICEDRIVER 2051 #define IDC_DEVICEDRIVER 2051
#define IDI_MAIN 3000 #define IDI_MAIN 3000
#endif

View file

@ -24,8 +24,7 @@
* PROGRAMMER: Eric Kohl * PROGRAMMER: Eric Kohl
*/ */
#ifndef __BOOTSUP_H__ #pragma once
#define __BOOTSUP_H__
NTSTATUS NTSTATUS
CreateFreeLoaderIniForDos(PWCHAR IniPath, CreateFreeLoaderIniForDos(PWCHAR IniPath,
@ -83,6 +82,4 @@ NTSTATUS
InstallFatBootcodeToFloppy(PUNICODE_STRING SourceRootPath, InstallFatBootcodeToFloppy(PUNICODE_STRING SourceRootPath,
PUNICODE_STRING DestinationArcPath); PUNICODE_STRING DestinationArcPath);
#endif /* __BOOTSUP_H__ */
/* EOF */ /* EOF */

View file

@ -4,8 +4,7 @@
* FILE: apps/cabman/cabinet.h * FILE: apps/cabman/cabinet.h
* PURPOSE: Cabinet definitions * PURPOSE: Cabinet definitions
*/ */
#ifndef __CABINET_H #pragma once
#define __CABINET_H
#include <string.h> #include <string.h>
@ -204,5 +203,3 @@ VOID CabinetSetEventHandlers(PCABINET_OVERWRITE Overwrite,
PCABINET_DISK_CHANGE DiskChange); PCABINET_DISK_CHANGE DiskChange);
/* Get pointer to cabinet reserved area. NULL if none */ /* Get pointer to cabinet reserved area. NULL if none */
PVOID CabinetGetCabinetReservedArea(PULONG Size); PVOID CabinetGetCabinetReservedArea(PULONG Size);
#endif /* __CABINET_H */

View file

@ -23,14 +23,11 @@
* PROGRAMMER: Hervé Poussineau (hpoussin@reactos.org) * PROGRAMMER: Hervé Poussineau (hpoussin@reactos.org)
*/ */
#ifndef __CHKDSK_H__ #pragma once
#define __CHKDSK_H__
NTSTATUS NTSTATUS
ChkdskPartition( ChkdskPartition(
IN PUNICODE_STRING DriveRoot, IN PUNICODE_STRING DriveRoot,
IN PFILE_SYSTEM_ITEM FileSystem); IN PFILE_SYSTEM_ITEM FileSystem);
#endif /* __CHKDSK_H__ */
/* EOF */ /* EOF */

View file

@ -24,14 +24,11 @@
* PROGRAMMER: Eric Kohl * PROGRAMMER: Eric Kohl
*/ */
#ifndef __DRIVESUP_H__ #pragma once
#define __DRIVESUP_H__
NTSTATUS NTSTATUS
GetSourcePaths(PUNICODE_STRING SourcePath, GetSourcePaths(PUNICODE_STRING SourcePath,
PUNICODE_STRING SourceRootPath, PUNICODE_STRING SourceRootPath,
PUNICODE_STRING SourceRootDir); PUNICODE_STRING SourceRootDir);
#endif /* __DRIVESUP_H__ */
/* EOF */ /* EOF */

View file

@ -24,8 +24,7 @@
* PROGRAMMER: * PROGRAMMER:
*/ */
#ifndef __ERROR_CODE_H__ #pragma once
#define __ERROR_CODE_H__
typedef enum typedef enum
{ {
@ -70,7 +69,4 @@ typedef enum
ERROR_LAST_ERROR_CODE ERROR_LAST_ERROR_CODE
}ERROR_NUMBER; }ERROR_NUMBER;
#endif /* __ERROR_CODE_H__ */
/* EOF */ /* EOF */

View file

@ -24,9 +24,7 @@
* PROGRAMMER: Eric Kohl * PROGRAMMER: Eric Kohl
*/ */
#ifndef __FILEQUEUE_H__ #pragma once
#define __FILEQUEUE_H__
#define SPFILENOTIFY_STARTQUEUE 0x1 #define SPFILENOTIFY_STARTQUEUE 0x1
#define SPFILENOTIFY_ENDQUEUE 0x2 #define SPFILENOTIFY_ENDQUEUE 0x2
@ -104,6 +102,4 @@ SetupCommitFileQueueW(HWND Owner,
PSP_FILE_CALLBACK_W MsgHandler, PSP_FILE_CALLBACK_W MsgHandler,
PVOID Context); PVOID Context);
#endif /* __FILEQUEUE_H__ */
/* EOF */ /* EOF */

View file

@ -24,8 +24,7 @@
* PROGRAMMER: Eric Kohl * PROGRAMMER: Eric Kohl
*/ */
#ifndef __FILESUP_H__ #pragma once
#define __FILESUP_H__
NTSTATUS NTSTATUS
SetupCreateDirectory(PWCHAR DirectoryName); SetupCreateDirectory(PWCHAR DirectoryName);
@ -43,7 +42,4 @@ BOOLEAN
DoesFileExist(PWSTR PathName, DoesFileExist(PWSTR PathName,
PWSTR FileName); PWSTR FileName);
#endif /* __FILESUP_H__ */
/* EOF */ /* EOF */

View file

@ -24,14 +24,11 @@
* PROGRAMMER: Casper S. Hornstrup (chorns@users.sourceforge.net) * PROGRAMMER: Casper S. Hornstrup (chorns@users.sourceforge.net)
*/ */
#ifndef __FORMAT_H__ #pragma once
#define __FORMAT_H__
NTSTATUS NTSTATUS
FormatPartition( FormatPartition(
IN PUNICODE_STRING DriveRoot, IN PUNICODE_STRING DriveRoot,
IN PFILE_SYSTEM_ITEM FileSystem); IN PFILE_SYSTEM_ITEM FileSystem);
#endif /* __FILESUP_H__ */
/* EOF */ /* EOF */

View file

@ -24,8 +24,7 @@
* Casper S. Hornstrup (chorns@users.sourceforge.net) * Casper S. Hornstrup (chorns@users.sourceforge.net)
*/ */
#ifndef __FSLIST_H__ #pragma once
#define __FSLIST_H__
#include <fmifs/fmifs.h> #include <fmifs/fmifs.h>
@ -76,6 +75,4 @@ VOID
ScrollUpFileSystemList( ScrollUpFileSystemList(
IN PFILE_SYSTEM_LIST List); IN PFILE_SYSTEM_LIST List);
#endif /* __FSLIST_H__ */
/* EOF */ /* EOF */

View file

@ -24,8 +24,7 @@
* PROGRAMMER: Eric Kohl * PROGRAMMER: Eric Kohl
*/ */
#ifndef __GENLIST_H__ #pragma once
#define __GENLIST_H__
struct _GENERIC_LIST_ENTRY; struct _GENERIC_LIST_ENTRY;
typedef struct _GENERIC_LIST_ENTRY *PGENERIC_LIST_ENTRY; typedef struct _GENERIC_LIST_ENTRY *PGENERIC_LIST_ENTRY;
@ -97,6 +96,4 @@ RestoreGenericListState(PGENERIC_LIST List);
VOID VOID
GenericListKeyPress (PGENERIC_LIST List, CHAR AsciChar); GenericListKeyPress (PGENERIC_LIST List, CHAR AsciChar);
#endif /* __GENLIST_H__ */
/* EOF */ /* EOF */

View file

@ -24,8 +24,7 @@
* PROGRAMMER: Hervé Poussineau * PROGRAMMER: Hervé Poussineau
*/ */
#ifndef __INFFILE_H__ #pragma once
#define __INFFILE_H__
#ifndef __REACTOS__ #ifndef __REACTOS__
@ -138,6 +137,4 @@ INF_OpenBufferedFileA(
VOID INF_SetHeap( VOID INF_SetHeap(
IN PVOID Heap); IN PVOID Heap);
#endif /* __INFFILE_H__*/
/* EOF */ /* EOF */

View file

@ -25,9 +25,7 @@
* Eric Kohl * Eric Kohl
*/ */
#ifndef __INICACHE_H__ #pragma once
#define __INICACHE_H__
typedef struct _INICACHEKEY typedef struct _INICACHEKEY
{ {
@ -126,7 +124,4 @@ PINICACHESECTION
IniCacheAppendSection(PINICACHE Cache, IniCacheAppendSection(PINICACHE Cache,
PWCHAR Name); PWCHAR Name);
#endif /* __INICACHE_H__ */
/* EOF */ /* EOF */

View file

@ -24,8 +24,7 @@
* PROGRAMMER: Eric Kohl * PROGRAMMER: Eric Kohl
*/ */
#ifndef __CONSUP_H__ #pragma once
#define __CONSUP_H__
#define FOREGROUND_WHITE (FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE) #define FOREGROUND_WHITE (FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE)
#define FOREGROUND_YELLOW (FOREGROUND_INTENSITY | FOREGROUND_RED | FOREGROUND_GREEN) #define FOREGROUND_YELLOW (FOREGROUND_INTENSITY | FOREGROUND_RED | FOREGROUND_GREEN)
@ -187,6 +186,4 @@ CONSOLE_SetStyledText(
IN INT Flags, IN INT Flags,
IN LPCSTR Text); IN LPCSTR Text);
#endif /* __CONSOLE_H__*/
/* EOF */ /* EOF */

View file

@ -1,5 +1,4 @@
#ifndef LANG_AF_ZA_H__ #pragma once
#define LANG_AF_ZA_H__
MUI_LAYOUTS afZALayouts[] = MUI_LAYOUTS afZALayouts[] =
{ {
@ -7,5 +6,3 @@ MUI_LAYOUTS afZALayouts[] =
{ L"0409", L"00000409" }, { L"0409", L"00000409" },
{ NULL, NULL } { NULL, NULL }
}; };
#endif

View file

@ -1,5 +1,4 @@
#ifndef LANG_AR_AE_H__ #pragma once
#define LANG_AR_AE_H__
MUI_LAYOUTS arAELayouts[] = MUI_LAYOUTS arAELayouts[] =
{ {
@ -7,5 +6,3 @@ MUI_LAYOUTS arAELayouts[] =
{ L"3801", L"00000401" }, { L"3801", L"00000401" },
{ NULL, NULL } { NULL, NULL }
}; };
#endif

View file

@ -1,5 +1,4 @@
#ifndef LANG_AR_BH_H__ #pragma once
#define LANG_AR_BH_H__
MUI_LAYOUTS arBHLayouts[] = MUI_LAYOUTS arBHLayouts[] =
{ {
@ -7,5 +6,3 @@ MUI_LAYOUTS arBHLayouts[] =
{ L"3C01", L"00000401" }, { L"3C01", L"00000401" },
{ NULL, NULL } { NULL, NULL }
}; };
#endif

View file

@ -1,5 +1,4 @@
#ifndef LANG_AR_DZ_H__ #pragma once
#define LANG_AR_DZ_H__
MUI_LAYOUTS arDZLayouts[] = MUI_LAYOUTS arDZLayouts[] =
{ {
@ -7,5 +6,3 @@ MUI_LAYOUTS arDZLayouts[] =
{ L"1401", L"00020401" }, { L"1401", L"00020401" },
{ NULL, NULL } { NULL, NULL }
}; };
#endif

View file

@ -1,5 +1,4 @@
#ifndef LANG_AR_EG_H__ #pragma once
#define LANG_AR_EG_H__
MUI_LAYOUTS arEGLayouts[] = MUI_LAYOUTS arEGLayouts[] =
{ {
@ -7,5 +6,3 @@ MUI_LAYOUTS arEGLayouts[] =
{ L"0409", L"00000409" }, { L"0409", L"00000409" },
{ NULL, NULL } { NULL, NULL }
}; };
#endif

View file

@ -1,5 +1,4 @@
#ifndef LANG_AR_IQ_H__ #pragma once
#define LANG_AR_IQ_H__
MUI_LAYOUTS arIQLayouts[] = MUI_LAYOUTS arIQLayouts[] =
{ {
@ -7,5 +6,3 @@ MUI_LAYOUTS arIQLayouts[] =
{ L"0409", L"00000409" }, { L"0409", L"00000409" },
{ NULL, NULL } { NULL, NULL }
}; };
#endif

View file

@ -1,5 +1,4 @@
#ifndef LANG_AR_JO_H__ #pragma once
#define LANG_AR_JO_H__
MUI_LAYOUTS arJOLayouts[] = MUI_LAYOUTS arJOLayouts[] =
{ {
@ -7,5 +6,3 @@ MUI_LAYOUTS arJOLayouts[] =
{ L"2C01", L"00000401" }, { L"2C01", L"00000401" },
{ NULL, NULL } { NULL, NULL }
}; };
#endif

View file

@ -1,5 +1,4 @@
#ifndef LANG_AR_KW_H__ #pragma once
#define LANG_AR_KW_H__
MUI_LAYOUTS arKWLayouts[] = MUI_LAYOUTS arKWLayouts[] =
{ {
@ -7,5 +6,3 @@ MUI_LAYOUTS arKWLayouts[] =
{ L"3401", L"00000401" }, { L"3401", L"00000401" },
{ NULL, NULL } { NULL, NULL }
}; };
#endif

View file

@ -1,5 +1,4 @@
#ifndef LANG_AR_LB_H__ #pragma once
#define LANG_AR_LB_H__
MUI_LAYOUTS arLBLayouts[] = MUI_LAYOUTS arLBLayouts[] =
{ {
@ -7,5 +6,3 @@ MUI_LAYOUTS arLBLayouts[] =
{ L"3001", L"00000401" }, { L"3001", L"00000401" },
{ NULL, NULL } { NULL, NULL }
}; };
#endif

View file

@ -1,5 +1,4 @@
#ifndef LANG_AR_LY_H__ #pragma once
#define LANG_AR_LY_H__
MUI_LAYOUTS arLYLayouts[] = MUI_LAYOUTS arLYLayouts[] =
{ {
@ -7,5 +6,3 @@ MUI_LAYOUTS arLYLayouts[] =
{ L"1001", L"00020401" }, { L"1001", L"00020401" },
{ NULL, NULL } { NULL, NULL }
}; };
#endif

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