Added: trunk/reactos/base/system/msconfig/
Added: trunk/reactos/base/system/msconfig/De.rc
Added: trunk/reactos/base/system/msconfig/En.rc
Added: trunk/reactos/base/system/msconfig/Fr.rc
Added: trunk/reactos/base/system/msconfig/Hu.rc
Added: trunk/reactos/base/system/msconfig/freeldrpage.c
Added: trunk/reactos/base/system/msconfig/freeldrpage.h
Added: trunk/reactos/base/system/msconfig/generalpage.c
Added: trunk/reactos/base/system/msconfig/generalpage.h
Added: trunk/reactos/base/system/msconfig/msconfig.c
Added: trunk/reactos/base/system/msconfig/msconfig.h
Added: trunk/reactos/base/system/msconfig/msconfig.rbuild
Added: trunk/reactos/base/system/msconfig/msconfig.rc
Added: trunk/reactos/base/system/msconfig/precomp.h
Added: trunk/reactos/base/system/msconfig/resource.h
Added: trunk/reactos/base/system/msconfig/srvpage.c
Added: trunk/reactos/base/system/msconfig/srvpage.h
Added: trunk/reactos/base/system/msconfig/startuppage.c
Added: trunk/reactos/base/system/msconfig/startuppage.h
Added: trunk/reactos/base/system/msconfig/systempage.c
Added: trunk/reactos/base/system/msconfig/systempage.h
Added: trunk/reactos/base/system/msconfig/toolspage.c
Added: trunk/reactos/base/system/msconfig/toolspage.h
--- trunk/reactos/base/system/msconfig/De.rc 2006-01-28 17:47:03 UTC (rev 15)
+++ trunk/reactos/base/system/msconfig/De.rc 2006-01-28 18:07:22 UTC (rev 16)
@@ -0,0 +1,155 @@
+LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
+
+IDD_MSCONFIG_DIALOG DIALOG DISCARDABLE 0, 0, 378, 220
+STYLE DS_CENTER | WS_MINIMIZEBOX | WS_POPUP |
+ WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU |
+ WS_THICKFRAME
+CAPTION "Systemkonfigurationsprogramm"
+FONT 8, "Tahoma"
+BEGIN
+ CONTROL "Tab1",IDC_TAB,"SysTabControl32",WS_TABSTOP,2,2,374,195
+ DEFPUSHBUTTON "OK", IDOK, 211, 201, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ PUSHBUTTON "&Hilfe", IDC_BTN_HELP, 2, 201, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ PUSHBUTTON "Abbrechen", IDCANCEL, 267, 201, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ PUSHBUTTON "?&bernehmen", IDC_BTN_APPLY, 323, 201, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+IDD_STARTUP_PAGE DIALOG DISCARDABLE 0, 0, 362, 175
+STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
+FONT 8, "Tahoma"
+BEGIN
+ CONTROL "List3",IDC_STARTUP_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP, 2, 1, 360, 148
+ PUSHBUTTON "Alle &aktivieren",IDC_BTN_STARTUP_ACTIVATE,223,155,66,14
+ PUSHBUTTON "Alle &deaktivieren",IDC_BTN_STARTUP_DEACTIVATE,295,155,66,14
+END
+
+IDD_TOOLS_PAGE DIALOG DISCARDABLE 0, 0, 362, 175
+STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
+FONT 8, "Tahoma"
+BEGIN
+ CONTROL "List2",IDC_TOOLS_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP, 2, 1, 360, 134
+ EDITTEXT IDC_TOOLS_CMDLINE, 1, 139, 360, 12, ES_READONLY
+ PUSHBUTTON "&Ausf³hren", IDC_BTN_RUN, 311, 155, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+IDD_SERVICES_PAGE DIALOG DISCARDABLE 0, 0, 362, 175
+STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
+FONT 8, "Tahoma"
+BEGIN
+ CONTROL "List1",IDC_SERVICES_LIST,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SORTASCENDING | WS_BORDER | WS_TABSTOP,2,1,360,148
+ PUSHBUTTON "Alle &aktivieren",IDC_BTN_SERVICES_ACTIVATE,223,155,66,14
+ PUSHBUTTON "Alle &deaktivieren",IDC_BTN_SERVICES_DEACTIVATE,295,155,66,14
+END
+
+IDD_GENERAL_PAGE DIALOG DISCARDABLE 0, 0, 362, 175
+STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
+FONT 8, "Tahoma"
+BEGIN
+ GROUPBOX "Systemstartauswahl", -1, 10, 10, 340, 150
+ CONTROL "&Normaler Systemstart - Alle Gerõtetreiber und Dienste laden", IDC_CBX_NORMAL_START, "Button", 0x50010009, 20, 30, 210, 10
+ CONTROL "&Diagnosesystemstart - Nur grundlegende Gerõte und Dienste laden", IDC_CBX_DIAGNOSTIC_START, "Button", 0x50010009, 20, 45, 230, 10
+ CONTROL "B&enutzerdefinierter Systemstart", IDC_CBX_SELECTIVE_STARTUP, "Button", 0x50010009, 20, 60, 120, 10
+ CHECKBOX "D&atei SYSTEM.INI verarbeiten", IDC_CBX_SYSTEM_INI, 30, 80, 110, 10
+ CHECKBOX "&Systemdienste laden", IDC_CBX_SYSTEM_SERVICE, 30, 95, 90, 10
+ CHECKBOX "S&ystemstartelemente laden", IDC_CBX_STARTUP_ITEM, 30, 110, 110, 10
+END
+
+IDD_FREELDR_PAGE DIALOG DISCARDABLE 0, 0, 362, 175
+STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
+FONT 8, "Tahoma"
+BEGIN
+ CONTROL "", IDC_LIST_BOX, "ListBox", 0x50010141, 10, 10, 340, 50, 0x00000200
+ PUSHBUTTON "&Alle Bootpfade ³berpr³fen", IDC_BTN_CHECK_BOOT_PATH, 10, 65, 90, 12
+ PUSHBUTTON "A&ls Standard", IDC_BTN_SET_DEFAULT_BOOT, 120, 65, 63, 12
+ PUSHBUTTON "Nach &oben", IDC_BTN_MOVE_UP_BOOT_OPTION, 203, 65, 63, 12
+ PUSHBUTTON "Nach &unten", IDC_BTN_MOVE_DOWN_BOOT_OPTION, 286, 65, 63, 12
+ GROUPBOX "Boot Optionen", -1, 10, 80, 250, 90
+ CHECKBOX "/SA&FEBOOT", IDC_CBX_SAFE_BOOT, 15, 90, 50, 10
+ CHECKBOX "/&NOGUIBOOT", IDC_CBX_NO_GUI_BOOT, 15, 105, 55, 10
+ CHECKBOX "/&BOOTLOG", IDC_CBX_BOOT_LOG, 15, 120, 50, 10
+ CHECKBOX "/BAS&EVIDEO", IDC_CBX_BASE_VIDEO, 15, 135, 55, 10
+ CHECKBOX "/S&OS", IDC_CBX_SOS, 15, 150, 50, 10
+ PUSHBUTTON "E&rweiterte Optionen...", IDC_BTN_ADVANCED_OPTIONS, 100, 150, 90, 12
+ LTEXT "&Zeitlimit:", -1, 280, 91, 30, 10
+ EDITTEXT IDC_TXT_BOOT_TIMEOUT, 310, 90, 25, 12, ES_LEFT
+ LTEXT "Sek.", -1, 340, 91, 15, 10
+END
+
+IDD_FREELDR_ADVANCED_PAGE DIALOG DISCARDABLE 0, 0, 175, 175
+STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
+FONT 8, "Tahoma"
+BEGIN
+ CHECKBOX "/&MAXMEM=", IDC_CBX_MAX_MEM, 10, 10, 50, 10
+ EDITTEXT IDC_TXT_MAX_MEM, 80, 10, 60, 12
+ CONTROL "",IDC_SCR_MAX_MEM, "msctls_updown32", 0x50000000, 140, 10, 11, 11
+ CHECKBOX "/&NUMPROC=", IDC_CBX_NUM_PROC, 10, 25, 50, 10
+ COMBOBOX IDC_DRP_NUM_PROC, 80, 25, 60, 10, CBS_DROPDOWNLIST | CBS_SORT | WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ CHECKBOX "/&PCILOCK", IDC_CBX_PCI_LOCK, 10, 40, 50, 10
+ CHECKBOX "/P&ROFILE", IDC_CBX_PROFILE, 10, 55, 50, 10
+ CHECKBOX "/&IRQ", IDC_CBX_IRQ, 10, 70, 40, 12
+ EDITTEXT IDC_TXT_IRQ, 80, 70, 60, 12, ES_LEFT
+ CHECKBOX "/&DEBUG", IDC_CBX_DEBUG, 10, 85, 40, 10
+ CHECKBOX "/D&EBUGPORT", IDC_CBX_DEBUG_PORT, 20, 100, 60, 10
+ COMBOBOX IDC_DRP_DEBUG_PORT, 80, 100, 60, 10, CBS_DROPDOWNLIST | CBS_SORT | WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ CHECKBOX "/&BAUDRATE", IDC_CBX_BAUD_RATE, 20, 115, 50, 10
+ COMBOBOX IDC_DRP_DRP_BAUD_RATE, 80, 115, 60, 10, CBS_DROPDOWNLIST | CBS_SORT | WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ CHECKBOX "/&CHANNEL", IDC_CBX_CHANNEL, 20, 130, 50, 10
+ EDITTEXT IDC_TXT_CHANNEL, 80, 130, 60, 12, ES_LEFT
+ CONTROL "",IDC_SCR_CHANNEL, "msctls_updown32", 0x50000000, 140, 130, 11, 11
+ PUSHBUTTON "OK", IDC_OK, 20, 160, 50, 12
+ PUSHBUTTON "Abbrechen", IDC_CANCEL, 100, 160, 50, 12
+END
+
+STRINGTABLE DISCARDABLE
+BEGIN
+ IDS_MSCONFIG "Systemkonfigurationsprogramm"
+ IDS_TAB_GENERAL "Allgemein"
+ IDS_TAB_SYSTEM "SYSTEM.INI"
+ IDS_TAB_FREELDR "FREELDR.INI"
+ IDS_TAB_SERVICES "Dienste"
+ IDS_TAB_STARTUP "Systemstart"
+ IDS_TAB_TOOLS "Tools"
+END
+
+STRINGTABLE DISCARDABLE
+BEGIN
+ IDS_SERVICES_COLUMN_SERVICE "Dienst"
+ IDS_SERVICES_COLUMN_REQ "Erforderlich"
+ IDS_SERVICES_COLUMN_VENDOR "Hersteller"
+ IDS_SERVICES_COLUMN_STATUS "Status"
+END
+
+STRINGTABLE DISCARDABLE
+BEGIN
+ IDS_TOOLS_COLUMN_NAME "Name"
+ IDS_TOOLS_COLUMN_DESCR "Beschreibung"
+
+ IDS_TOOLS_CMD_NAME "Konsole"
+ IDS_TOOLS_CMD_DESCR ""
+ IDS_TOOLS_CMD_CMD "cmd.exe"
+
+ IDS_TOOLS_INFO_NAME "Version"
+ IDS_TOOLS_INFO_DESCR "Zeigt die installierte ReactOS Version an."
+ IDS_TOOLS_INFO_CMD "winver.exe"
+
+ IDS_TOOLS_REGEDIT_NAME "Registrierungs-Editor"
+ IDS_TOOLS_REGEDIT_DESCR "Íffnet den Registrierungs-Editor."
+ IDS_TOOLS_REGEDIT_CMD "regedit.exe"
+
+ IDS_TOOLS_SYSDM_NAME "Systemeigenschaften"
+ IDS_TOOLS_SYSDM_DESCR "Zeigt Informationen ³ber diesen Rechner an."
+ IDS_TOOLS_SYSDM_CMD "control"
+ IDS_TOOLS_SYSDM_PARAM "sysdm.cpl"
+
+ IDS_STARTUP_COLUMN_ELEMENT "Element"
+ IDS_STARTUP_COLUMN_CMD "Befehl"
+ IDS_STARTUP_COLUMN_PATH "Pfad"
+END
+
+STRINGTABLE DISCARDABLE
+BEGIN
+ IDS_SERVICES_STATUS_RUNNING "Gestartet"
+ IDS_SERVICES_STATUS_STOPPED "Beendet"
+ IDS_SERVICES_YES "Ja"
+ IDS_SERVICES_UNKNOWN "Unbekannt"
+END
--- trunk/reactos/base/system/msconfig/En.rc 2006-01-28 17:47:03 UTC (rev 15)
+++ trunk/reactos/base/system/msconfig/En.rc 2006-01-28 18:07:22 UTC (rev 16)
@@ -0,0 +1,155 @@
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+
+IDD_MSCONFIG_DIALOG DIALOG DISCARDABLE 0, 0, 378, 220
+STYLE DS_CENTER | WS_MINIMIZEBOX | WS_POPUP |
+ WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU |
+ WS_THICKFRAME
+CAPTION "System configuration program"
+FONT 8, "Tahoma"
+BEGIN
+ CONTROL "Tab1",IDC_TAB,"SysTabControl32",WS_TABSTOP,2,2,374,195
+ DEFPUSHBUTTON "OK", IDOK, 211, 201, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ PUSHBUTTON "&Help", IDC_BTN_HELP, 2, 201, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ PUSHBUTTON "Cancel", IDCANCEL, 267, 201, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ PUSHBUTTON "Apply", IDC_BTN_APPLY, 323, 201, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+IDD_STARTUP_PAGE DIALOG DISCARDABLE 0, 0, 362, 175
+STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
+FONT 8, "Tahoma"
+BEGIN
+ CONTROL "List3",IDC_STARTUP_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP, 2, 1, 360, 148
+ PUSHBUTTON "&Activate all",IDC_BTN_STARTUP_ACTIVATE,223,155,66,14
+ PUSHBUTTON "&Deactivate all",IDC_BTN_STARTUP_DEACTIVATE,295,155,66,14
+END
+
+IDD_TOOLS_PAGE DIALOG DISCARDABLE 0, 0, 362, 175
+STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
+FONT 8, "Tahoma"
+BEGIN
+ CONTROL "List2",IDC_TOOLS_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP, 2, 1, 360, 134
+ EDITTEXT IDC_TOOLS_CMDLINE, 1, 139, 360, 12, ES_READONLY
+ PUSHBUTTON "&Run", IDC_BTN_RUN, 311, 155, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+IDD_SERVICES_PAGE DIALOG DISCARDABLE 0, 0, 362, 175
+STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
+FONT 8, "Tahoma"
+BEGIN
+ CONTROL "List1",IDC_SERVICES_LIST,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SORTASCENDING | WS_BORDER | WS_TABSTOP,2,1,360,148
+ PUSHBUTTON "&Activate all",IDC_BTN_SERVICES_ACTIVATE,223,155,66,14
+ PUSHBUTTON "&Deactivate all",IDC_BTN_SERVICES_DEACTIVATE,295,155,66,14
+END
+
+IDD_GENERAL_PAGE DIALOG DISCARDABLE 0, 0, 362, 175
+STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
+FONT 8, "Tahoma"
+BEGIN
+ GROUPBOX "Startup Selection", -1, 10, 10, 340, 150
+ CONTROL "&Normal Startup - load all device drivers and services", IDC_CBX_NORMAL_START, "Button", 0x50010009, 20, 30, 180, 10
+ CONTROL "&Diagnostic Startup - load basic devices and services only", IDC_CBX_DIAGNOSTIC_START, "Button", 0x50010009, 20, 45, 195, 10
+ CONTROL "S&elective Startup", IDC_CBX_SELECTIVE_STARTUP, "Button", 0x50010009, 20, 60, 70, 10
+ CHECKBOX "P&rocess SYSTEM.INI File", IDC_CBX_SYSTEM_INI, 30, 80, 95, 10
+ CHECKBOX "&Load System Services", IDC_CBX_SYSTEM_SERVICE, 30, 95, 90, 10
+ CHECKBOX "&L&oad Startup Items", IDC_CBX_STARTUP_ITEM, 30, 110, 75, 10
+END
+
+IDD_FREELDR_PAGE DIALOG DISCARDABLE 0, 0, 362, 175
+STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
+FONT 8, "Tahoma"
+BEGIN
+ CONTROL "", IDC_LIST_BOX, "ListBox", 0x50010141, 10, 10, 340, 50, 0x00000200
+ PUSHBUTTON "&Check All Boot Paths", IDC_BTN_CHECK_BOOT_PATH, 10, 65, 70, 12
+ PUSHBUTTON "&Set as Default", IDC_BTN_SET_DEFAULT_BOOT, 100, 65, 70, 12
+ PUSHBUTTON "Move &Up", IDC_BTN_MOVE_UP_BOOT_OPTION, 190, 65, 70, 12
+ PUSHBUTTON "Move &Down", IDC_BTN_MOVE_DOWN_BOOT_OPTION, 280, 65, 70, 12
+ GROUPBOX "Boot Options", -1, 10, 80, 250, 90
+ CHECKBOX "/SA&FEBOOT", IDC_CBX_SAFE_BOOT, 15, 90, 50, 10
+ CHECKBOX "/&NOGUIBOOT", IDC_CBX_NO_GUI_BOOT, 15, 105, 55, 10
+ CHECKBOX "/&BOOTLOG", IDC_CBX_BOOT_LOG, 15, 120, 50, 10
+ CHECKBOX "/BAS&EVIDEO", IDC_CBX_BASE_VIDEO, 15, 135, 55, 10
+ CHECKBOX "/S&OS", IDC_CBX_SOS, 15, 150, 50, 10
+ PUSHBUTTON "Ad&vanced Options...", IDC_BTN_ADVANCED_OPTIONS, 100, 150, 70, 12
+ LTEXT "&Timeout:", -1, 280, 91, 30, 10
+ EDITTEXT IDC_TXT_BOOT_TIMEOUT, 310, 90, 25, 12, ES_LEFT
+ LTEXT "sec.", -1, 340, 91, 15, 10
+END
+
+IDD_FREELDR_ADVANCED_PAGE DIALOG DISCARDABLE 0, 0, 175, 175
+STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
+FONT 8, "Tahoma"
+BEGIN
+ CHECKBOX "/&MAXMEM=", IDC_CBX_MAX_MEM, 10, 10, 50, 10
+ EDITTEXT IDC_TXT_MAX_MEM, 80, 10, 60, 12
+ CONTROL "",IDC_SCR_MAX_MEM, "msctls_updown32", 0x50000000, 140, 10, 11, 11
+ CHECKBOX "/&NUMPROC=", IDC_CBX_NUM_PROC, 10, 25, 50, 10
+ COMBOBOX IDC_DRP_NUM_PROC, 80, 25, 60, 10, CBS_DROPDOWNLIST | CBS_SORT | WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ CHECKBOX "/&PCILOCK", IDC_CBX_PCI_LOCK, 10, 40, 50, 10
+ CHECKBOX "/P&ROFILE", IDC_CBX_PROFILE, 10, 55, 50, 10
+ CHECKBOX "/&IRQ", IDC_CBX_IRQ, 10, 70, 40, 12
+ EDITTEXT IDC_TXT_IRQ, 80, 70, 60, 12, ES_LEFT
+ CHECKBOX "/&DEBUG", IDC_CBX_DEBUG, 10, 85, 40, 10
+ CHECKBOX "/D&EBUGPORT", IDC_CBX_DEBUG_PORT, 20, 100, 60, 10
+ COMBOBOX IDC_DRP_DEBUG_PORT, 80, 100, 60, 10, CBS_DROPDOWNLIST | CBS_SORT | WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ CHECKBOX "/&BAUDRATE", IDC_CBX_BAUD_RATE, 20, 115, 50, 10
+ COMBOBOX IDC_DRP_DRP_BAUD_RATE, 80, 115, 60, 10, CBS_DROPDOWNLIST | CBS_SORT | WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ CHECKBOX "/&CHANNEL", IDC_CBX_CHANNEL, 20, 130, 50, 10
+ EDITTEXT IDC_TXT_CHANNEL, 80, 130, 60, 12, ES_LEFT
+ CONTROL "",IDC_SCR_CHANNEL, "msctls_updown32", 0x50000000, 140, 130, 11, 11
+ PUSHBUTTON "Ok", IDC_OK, 20, 160, 50, 12
+ PUSHBUTTON "Cancel", IDC_CANCEL, 100, 160, 50, 12
+END
+
+STRINGTABLE DISCARDABLE
+BEGIN
+ IDS_MSCONFIG "System configuration program"
+ IDS_TAB_GENERAL "General"
+ IDS_TAB_SYSTEM "SYSTEM.INI"
+ IDS_TAB_FREELDR "FREELDR.INI"
+ IDS_TAB_SERVICES "Services"
+ IDS_TAB_STARTUP "Startup"
+ IDS_TAB_TOOLS "Tools"
+END
+
+STRINGTABLE DISCARDABLE
+BEGIN
+ IDS_SERVICES_COLUMN_SERVICE "Service"
+ IDS_SERVICES_COLUMN_REQ "Required"
+ IDS_SERVICES_COLUMN_VENDOR "Vendor"
+ IDS_SERVICES_COLUMN_STATUS "Status"
+END
+
+STRINGTABLE DISCARDABLE
+BEGIN
+ IDS_TOOLS_COLUMN_NAME "Name"
+ IDS_TOOLS_COLUMN_DESCR "Description"
+
+ IDS_TOOLS_CMD_NAME "Console"
+ IDS_TOOLS_CMD_DESCR ""
+ IDS_TOOLS_CMD_CMD "cmd.exe"
+
+ IDS_TOOLS_INFO_NAME "Version"
+ IDS_TOOLS_INFO_DESCR "Displays version information."
+ IDS_TOOLS_INFO_CMD "winver.exe"
+
+ IDS_TOOLS_REGEDIT_NAME "Registry-Editor"
+ IDS_TOOLS_REGEDIT_DESCR "Opens the Registry-Editor."
+ IDS_TOOLS_REGEDIT_CMD "regedit.exe"
+
+ IDS_TOOLS_SYSDM_NAME "System properties"
+ IDS_TOOLS_SYSDM_DESCR "Shows information about this computer."
+ IDS_TOOLS_SYSDM_CMD "control"
+ IDS_TOOLS_SYSDM_PARAM "sysdm.cpl"
+
+ IDS_STARTUP_COLUMN_ELEMENT "Element"
+ IDS_STARTUP_COLUMN_CMD "Command"
+ IDS_STARTUP_COLUMN_PATH "Path"
+END
+
+STRINGTABLE DISCARDABLE
+BEGIN
+ IDS_SERVICES_STATUS_RUNNING "Running"
+ IDS_SERVICES_STATUS_STOPPED "Stopped"
+ IDS_SERVICES_YES "Yes"
+ IDS_SERVICES_UNKNOWN "Unknown"
+END
--- trunk/reactos/base/system/msconfig/Fr.rc 2006-01-28 17:47:03 UTC (rev 15)
+++ trunk/reactos/base/system/msconfig/Fr.rc 2006-01-28 18:07:22 UTC (rev 16)
@@ -0,0 +1,96 @@
+LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
+
+IDD_MSCONFIG_DIALOG DIALOG DISCARDABLE 0, 0, 378, 220
+STYLE DS_CENTER | WS_MINIMIZEBOX | WS_POPUP |
+ WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU |
+ WS_THICKFRAME
+CAPTION "Utilitaire de configuration systÞme"
+FONT 8, "Tahoma"
+BEGIN
+ CONTROL "Tab1",IDC_TAB,"SysTabControl32",WS_TABSTOP,2,2,374,195
+ DEFPUSHBUTTON "OK", IDOK, 211, 201, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ PUSHBUTTON "&Aide", IDC_BTN_HELP, 2, 201, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ PUSHBUTTON "Annuler", IDCANCEL, 267, 201, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ PUSHBUTTON "A&ppliquer", IDC_BTN_APPLY, 323, 201, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+IDD_STARTUP_PAGE DIALOG DISCARDABLE 0, 0, 362, 175
+STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
+FONT 8, "Tahoma"
+BEGIN
+ CONTROL "List3",IDC_STARTUP_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP, 2, 1, 360, 148
+ PUSHBUTTON "&Activer tout",IDC_BTN_STARTUP_ACTIVATE,223,155,66,14
+ PUSHBUTTON "&DÚsactiver tout",IDC_BTN_STARTUP_DEACTIVATE,295,155,66,14
+END
+
+IDD_TOOLS_PAGE DIALOG DISCARDABLE 0, 0, 362, 175
+STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
+FONT 8, "Tahoma"
+BEGIN
+ CONTROL "List2",IDC_TOOLS_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP, 2, 1, 360, 134
+ EDITTEXT IDC_TOOLS_CMDLINE, 1, 139, 360, 12, ES_READONLY
+ PUSHBUTTON "&Lancer", IDC_BTN_RUN, 311, 155, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+IDD_SERVICES_PAGE DIALOG DISCARDABLE 0, 0, 362, 175
+STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
+FONT 8, "Tahoma"
+BEGIN
+ CONTROL "List1",IDC_SERVICES_LIST,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SORTASCENDING | WS_BORDER | WS_TABSTOP,2,1,360,148
+ PUSHBUTTON "&Activer tout",IDC_BTN_SERVICES_ACTIVATE,223,155,66,14
+ PUSHBUTTON "&DÚsactiver tout",IDC_BTN_SERVICES_DEACTIVATE,295,155,66,14
+END
+
+STRINGTABLE DISCARDABLE
+BEGIN
+ IDS_MSCONFIG "Utilitaire de configuration systÞme"
+ IDS_TAB_GENERAL "GÚnÚral"
+ IDS_TAB_SYSTEM "SYSTEM.INI"
+ IDS_TAB_FREELDR "FREELDR.INI"
+ IDS_TAB_SERVICES "Services"
+ IDS_TAB_STARTUP "DÚmarrage"
+ IDS_TAB_TOOLS "Outils"
+END
+
+STRINGTABLE DISCARDABLE
+BEGIN
+ IDS_SERVICES_COLUMN_SERVICE "Service"
+ IDS_SERVICES_COLUMN_REQ "Requis"
+ IDS_SERVICES_COLUMN_VENDOR "Fabricant"
+ IDS_SERVICES_COLUMN_STATUS "Etat"
+END
+
+STRINGTABLE DISCARDABLE
+BEGIN
+ IDS_TOOLS_COLUMN_NAME "Nom"
+ IDS_TOOLS_COLUMN_DESCR "Description"
+
+ IDS_TOOLS_CMD_NAME "Console"
+ IDS_TOOLS_CMD_DESCR ""
+ IDS_TOOLS_CMD_CMD "cmd.exe"
+
+ IDS_TOOLS_INFO_NAME "Version"
+ IDS_TOOLS_INFO_DESCR "Affiche les informations de version."
+ IDS_TOOLS_INFO_CMD "winver.exe"
+
+ IDS_TOOLS_REGEDIT_NAME "Editeur de Registre"
+ IDS_TOOLS_REGEDIT_DESCR "Ouvre l'Úditeur de Registre"
+ IDS_TOOLS_REGEDIT_CMD "regedit.exe"
+
+ IDS_TOOLS_SYSDM_NAME "PropriÚtÚs systÞme"
+ IDS_TOOLS_SYSDM_DESCR "Affiche/modifie des information a propos de l'ordinateur."
+ IDS_TOOLS_SYSDM_CMD "control"
+ IDS_TOOLS_SYSDM_PARAM "sysdm.cpl"
+
+ IDS_STARTUP_COLUMN_ELEMENT "ElÚment"
+ IDS_STARTUP_COLUMN_CMD "Commande"
+ IDS_STARTUP_COLUMN_PATH "Chemin"
+END
+
+STRINGTABLE DISCARDABLE
+BEGIN
+ IDS_SERVICES_STATUS_RUNNING "En cours"
+ IDS_SERVICES_STATUS_STOPPED "ArrÛtÚ"
+ IDS_SERVICES_YES "Oui"
+ IDS_SERVICES_UNKNOWN "Inconnu"
+END
--- trunk/reactos/base/system/msconfig/Hu.rc 2006-01-28 17:47:03 UTC (rev 15)
+++ trunk/reactos/base/system/msconfig/Hu.rc 2006-01-28 18:07:22 UTC (rev 16)
@@ -0,0 +1,98 @@
+// Hungarian resources, by Robert Horvath (Talley at cubeclub.hu)
+
+LANGUAGE LANG_HUNGARIAN, SUBLANG_NEUTRAL
+
+IDD_MSCONFIG_DIALOG DIALOG DISCARDABLE 0, 0, 378, 220
+STYLE DS_CENTER | WS_MINIMIZEBOX | WS_POPUP |
+ WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU |
+ WS_THICKFRAME
+CAPTION "RendszerbeßllÝtßsok"
+FONT 8, "Tahoma"
+BEGIN
+ CONTROL "Tab1",IDC_TAB,"SysTabControl32",WS_TABSTOP,2,2,374,195
+ DEFPUSHBUTTON "OK", IDOK, 211, 201, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ PUSHBUTTON "&S·g¾", IDC_BTN_HELP, 2, 201, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ PUSHBUTTON "MÚgse", IDCANCEL, 267, 201, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ PUSHBUTTON "Alkalmaz", IDC_BTN_APPLY, 323, 201, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+IDD_STARTUP_PAGE DIALOG DISCARDABLE 0, 0, 362, 175
+STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
+FONT 8, "Tahoma"
+BEGIN
+ CONTROL "List3",IDC_STARTUP_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP, 2, 1, 360, 148
+ PUSHBUTTON "Mindet &bekapcsol",IDC_BTN_STARTUP_ACTIVATE,223,155,66,14
+ PUSHBUTTON "Mindet &kikapcsol",IDC_BTN_STARTUP_DEACTIVATE,295,155,66,14
+END
+
+IDD_TOOLS_PAGE DIALOG DISCARDABLE 0, 0, 362, 175
+STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
+FONT 8, "Tahoma"
+BEGIN
+ CONTROL "List2",IDC_TOOLS_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP, 2, 1, 360, 134
+ EDITTEXT IDC_TOOLS_CMDLINE, 1, 139, 360, 12, ES_READONLY
+ PUSHBUTTON "&Futtat", IDC_BTN_RUN, 311, 155, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+IDD_SERVICES_PAGE DIALOG DISCARDABLE 0, 0, 362, 175
+STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
+FONT 8, "Tahoma"
+BEGIN
+ CONTROL "List1",IDC_SERVICES_LIST,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SORTASCENDING | WS_BORDER | WS_TABSTOP,2,1,360,148
+ PUSHBUTTON "Mindet &bekapcsol",IDC_BTN_SERVICES_ACTIVATE,223,155,66,14
+ PUSHBUTTON "Mindet &kikapcsol",IDC_BTN_SERVICES_DEACTIVATE,295,155,66,14
+END
+
+STRINGTABLE DISCARDABLE
+BEGIN
+ IDS_MSCONFIG "Rendszerkonfigurßci³s segÚdprogram"
+ IDS_TAB_GENERAL "?ltalßnos"
+ IDS_TAB_SYSTEM "SYSTEM.INI"
+ IDS_TAB_FREELDR "FREELDR.INI"
+ IDS_TAB_SERVICES "Szolgßltatßsok"
+ IDS_TAB_STARTUP "Automatikus indÝtßs"
+ IDS_TAB_TOOLS "SegÚdprogramok"
+END
+
+STRINGTABLE DISCARDABLE
+BEGIN
+ IDS_SERVICES_COLUMN_SERVICE "Szolgßlgatßs"
+ IDS_SERVICES_COLUMN_REQ "LÚnyeges"
+ IDS_SERVICES_COLUMN_VENDOR "Gyßrt¾"
+ IDS_SERVICES_COLUMN_STATUS "?llapot"
+END
+
+STRINGTABLE DISCARDABLE
+BEGIN
+ IDS_TOOLS_COLUMN_NAME "NÚv"
+ IDS_TOOLS_COLUMN_DESCR "Description"
+
+ IDS_TOOLS_CMD_NAME "Konzol"
+ IDS_TOOLS_CMD_DESCR ""
+ IDS_TOOLS_CMD_CMD "cmd.exe"
+
+ IDS_TOOLS_INFO_NAME "Verzi¾"
+ IDS_TOOLS_INFO_DESCR "MegjelenÝti a verzi¾-informßci¾kat."
+ IDS_TOOLS_INFO_CMD "winver.exe"
+
+ IDS_TOOLS_REGEDIT_NAME "RendszerleÝr¾adatbßzis-szerkeszt§"
+ IDS_TOOLS_REGEDIT_DESCR "Megnyitja a szerkeszt§ programot."
+ IDS_TOOLS_REGEDIT_CMD "regedit.exe"
+
+ IDS_TOOLS_SYSDM_NAME "Rendszertulajdonsßgok"
+ IDS_TOOLS_SYSDM_DESCR "MegjelenÝti a szßmÝt¾gÚp informßci¾kat."
+ IDS_TOOLS_SYSDM_CMD "control"
+ IDS_TOOLS_SYSDM_PARAM "sysdm.cpl"
+
+ IDS_STARTUP_COLUMN_ELEMENT "Element"
+ IDS_STARTUP_COLUMN_CMD "Parancs"
+ IDS_STARTUP_COLUMN_PATH "ElÚrÚsi ·t"
+END
+
+STRINGTABLE DISCARDABLE
+BEGIN
+ IDS_SERVICES_STATUS_RUNNING "Fut"
+ IDS_SERVICES_STATUS_STOPPED "LeßllÝtva"
+ IDS_SERVICES_YES "Igen"
+ IDS_SERVICES_UNKNOWN "Ismeretlen"
+END
--- trunk/reactos/base/system/msconfig/freeldrpage.c 2006-01-28 17:47:03 UTC (rev 15)
+++ trunk/reactos/base/system/msconfig/freeldrpage.c 2006-01-28 18:07:22 UTC (rev 16)
@@ -0,0 +1,17 @@
+#include <precomp.h>
+
+HWND hFreeLdrPage;
+HWND hFreeLdrDialog;
+
+INT_PTR CALLBACK
+FreeLdrPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
+{
+ switch (message) {
+ case WM_INITDIALOG:
+ hFreeLdrDialog = hDlg;
+ SetWindowPos(hDlg, NULL, 10, 32, 0, 0, SWP_NOACTIVATE | SWP_NOOWNERZORDER | SWP_NOSIZE | SWP_NOZORDER);
+ return TRUE;
+ }
+
+ return 0;
+}
--- trunk/reactos/base/system/msconfig/freeldrpage.h 2006-01-28 17:47:03 UTC (rev 15)
+++ trunk/reactos/base/system/msconfig/freeldrpage.h 2006-01-28 18:07:22 UTC (rev 16)
@@ -0,0 +1,3 @@
+extern HWND hFreeLdrPage;
+
+INT_PTR CALLBACK FreeLdrPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
--- trunk/reactos/base/system/msconfig/generalpage.c 2006-01-28 17:47:03 UTC (rev 15)
+++ trunk/reactos/base/system/msconfig/generalpage.c 2006-01-28 18:07:22 UTC (rev 16)
@@ -0,0 +1,17 @@
+#include <precomp.h>
+
+HWND hGeneralPage;
+HWND hGeneralDialog;
+
+INT_PTR CALLBACK
+GeneralPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
+{
+ switch (message) {
+ case WM_INITDIALOG:
+ hGeneralDialog = hDlg;
+ SetWindowPos(hDlg, NULL, 10, 32, 0, 0, SWP_NOACTIVATE | SWP_NOOWNERZORDER | SWP_NOSIZE | SWP_NOZORDER);
+ return TRUE;
+ }
+
+ return 0;
+}
--- trunk/reactos/base/system/msconfig/generalpage.h 2006-01-28 17:47:03 UTC (rev 15)
+++ trunk/reactos/base/system/msconfig/generalpage.h 2006-01-28 18:07:22 UTC (rev 16)
@@ -0,0 +1,3 @@
+extern HWND hGeneralPage;
+
+INT_PTR CALLBACK GeneralPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
--- trunk/reactos/base/system/msconfig/msconfig.c 2006-01-28 17:47:03 UTC (rev 15)
+++ trunk/reactos/base/system/msconfig/msconfig.c 2006-01-28 18:07:22 UTC (rev 16)
@@ -0,0 +1,198 @@
+#include <precomp.h>
+
+HINSTANCE hInst = 0;
+
+HWND hMainWnd; /* Main Window */
+HWND hTabWnd; /* Tab Control Window */
+
+void MsConfig_OnTabWndSelChange(void);
+
+BOOL OnCreate(HWND hWnd)
+{
+ TCHAR szTemp[256];
+ TCITEM item;
+
+ hTabWnd = GetDlgItem(hWnd, IDC_TAB);
+ hGeneralPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_GENERAL_PAGE), hWnd, GeneralPageWndProc);
+ hSystemPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_SYSTEM_PAGE), hWnd, SystemPageWndProc);
+ hFreeLdrPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_FREELDR_PAGE), hWnd, FreeLdrPageWndProc);
+ hServicesPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_SERVICES_PAGE), hWnd, ServicesPageWndProc);
+ hStartupPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_STARTUP_PAGE), hWnd, StartupPageWndProc);
+ hToolsPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_TOOLS_PAGE), hWnd, ToolsPageWndProc);
+
+ LoadString(hInst, IDS_MSCONFIG, szTemp, 256);
+ SetWindowText(hWnd, szTemp);
+
+ // Insert Tab Pages
+ LoadString(hInst, IDS_TAB_GENERAL, szTemp, 256);
+ memset(&item, 0, sizeof(TCITEM));
+ item.mask = TCIF_TEXT;
+ item.pszText = szTemp;
+ TabCtrl_InsertItem(hTabWnd, 0, &item);
+
+ LoadString(hInst, IDS_TAB_SYSTEM, szTemp, 256);
+ memset(&item, 0, sizeof(TCITEM));
+ item.mask = TCIF_TEXT;
+ item.pszText = szTemp;
+ TabCtrl_InsertItem(hTabWnd, 1, &item);
+
+ LoadString(hInst, IDS_TAB_FREELDR, szTemp, 256);
+ memset(&item, 0, sizeof(TCITEM));
+ item.mask = TCIF_TEXT;
+ item.pszText = szTemp;
+ TabCtrl_InsertItem(hTabWnd, 2, &item);
+
+ LoadString(hInst, IDS_TAB_SERVICES, szTemp, 256);
+ memset(&item, 0, sizeof(TCITEM));
+ item.mask = TCIF_TEXT;
+ item.pszText = szTemp;
+ TabCtrl_InsertItem(hTabWnd, 3, &item);
+
+ LoadString(hInst, IDS_TAB_STARTUP, szTemp, 256);
+ memset(&item, 0, sizeof(TCITEM));
+ item.mask = TCIF_TEXT;
+ item.pszText = szTemp;
+ TabCtrl_InsertItem(hTabWnd, 4, &item);
+
+ LoadString(hInst, IDS_TAB_TOOLS, szTemp, 256);
+ memset(&item, 0, sizeof(TCITEM));
+ item.mask = TCIF_TEXT;
+ item.pszText = szTemp;
+ TabCtrl_InsertItem(hTabWnd, 5, &item);
+
+ MsConfig_OnTabWndSelChange();
+
+ return TRUE;
+}
+
+
+void MsConfig_OnTabWndSelChange(void)
+{
+ switch (TabCtrl_GetCurSel(hTabWnd)) {
+ case 0: //General
+ ShowWindow(hGeneralPage, SW_SHOW);
+ ShowWindow(hSystemPage, SW_HIDE);
+ ShowWindow(hFreeLdrPage, SW_HIDE);
+ ShowWindow(hServicesPage, SW_HIDE);
+ ShowWindow(hStartupPage, SW_HIDE);
+ ShowWindow(hToolsPage, SW_HIDE);
+ BringWindowToTop(hGeneralPage);
+ break;
+ case 1: //SYSTEM.INI
+ ShowWindow(hGeneralPage, SW_HIDE);
+ ShowWindow(hSystemPage, SW_SHOW);
+ ShowWindow(hToolsPage, SW_HIDE);
+ ShowWindow(hStartupPage, SW_HIDE);
+ ShowWindow(hFreeLdrPage, SW_HIDE);
+ ShowWindow(hServicesPage, SW_HIDE);
+ BringWindowToTop(hSystemPage);
+ break;
+ case 2: //Freeldr
+ ShowWindow(hGeneralPage, SW_HIDE);
+ ShowWindow(hSystemPage, SW_HIDE);
+ ShowWindow(hFreeLdrPage, SW_SHOW);
+ ShowWindow(hServicesPage, SW_HIDE);
+ ShowWindow(hStartupPage, SW_HIDE);
+ ShowWindow(hToolsPage, SW_HIDE);
+ BringWindowToTop(hFreeLdrPage);
+ break;
+ case 3: //Services
+ ShowWindow(hGeneralPage, SW_HIDE);
+ ShowWindow(hSystemPage, SW_HIDE);
+ ShowWindow(hFreeLdrPage, SW_HIDE);
+ ShowWindow(hServicesPage, SW_SHOW);
+ ShowWindow(hStartupPage, SW_HIDE);
+ ShowWindow(hToolsPage, SW_HIDE);
+ BringWindowToTop(hServicesPage);
+ break;
+ case 4: //startup
+ ShowWindow(hGeneralPage, SW_HIDE);
+ ShowWindow(hSystemPage, SW_HIDE);
+ ShowWindow(hFreeLdrPage, SW_HIDE);
+ ShowWindow(hServicesPage, SW_HIDE);
+ ShowWindow(hStartupPage, SW_SHOW);
+ ShowWindow(hToolsPage, SW_HIDE);
+ BringWindowToTop(hStartupPage);
+ break;
+ case 5: //Tools
+ ShowWindow(hGeneralPage, SW_HIDE);
+ ShowWindow(hSystemPage, SW_HIDE);
+ ShowWindow(hFreeLdrPage, SW_HIDE);
+ ShowWindow(hServicesPage, SW_HIDE);
+ ShowWindow(hStartupPage, SW_HIDE);
+ ShowWindow(hToolsPage, SW_SHOW);
+ BringWindowToTop(hToolsPage);
+ break;
+ }
+}
+
+
+/* Message handler for dialog box. */
+INT_PTR CALLBACK
+MsConfigWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
+{
+ int idctrl;
+ LPNMHDR pnmh;
+
+ switch (message) {
+ case WM_INITDIALOG:
+ hMainWnd = hDlg;
+ return OnCreate(hDlg);
+
+ case WM_COMMAND:
+
+ if (LOWORD(wParam) == IDOK) {
+ //MsConfig_OnSaveChanges();
+ }
+
+ if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL) {
+ EndDialog(hDlg, LOWORD(wParam));
+ return TRUE;
+ }
+ break;
+
+ case WM_NOTIFY:
+ idctrl = (int)wParam;
+ pnmh = (LPNMHDR)lParam;
+ if ((pnmh->hwndFrom == hTabWnd) &&
+ (pnmh->idFrom == IDC_TAB) &&
+ (pnmh->code == TCN_SELCHANGE))
+ {
+ MsConfig_OnTabWndSelChange();
+ }
+ break;
+
+ case WM_DESTROY:
+ DestroyWindow(hToolsPage);
+ DestroyWindow(hGeneralPage);
+ DestroyWindow(hServicesPage);
+ DestroyWindow(hStartupPage);
+ DestroyWindow(hFreeLdrPage);
+ DestroyWindow(hSystemPage);
+ return DefWindowProc(hDlg, message, wParam, lParam);
+
+ }
+
+ return 0;
+}
+
+int APIENTRY WinMain(HINSTANCE hInstance,
+ HINSTANCE hPrevInstance,
+ LPSTR lpCmdLine,
+ int nCmdShow)
+{
+
+ INITCOMMONCONTROLSEX InitControls;
+
+ InitControls.dwSize = sizeof(INITCOMMONCONTROLSEX);
+ InitControls.dwICC = ICC_TAB_CLASSES | ICC_LISTVIEW_CLASSES;
+ InitCommonControlsEx(&InitControls);
+
+ hInst = hInstance;
+
+ DialogBox(hInst, (LPCTSTR)IDD_MSCONFIG_DIALOG, NULL, MsConfigWndProc);
+
+ return 0;
+}
+
+/* EOF */
--- trunk/reactos/base/system/msconfig/msconfig.h 2006-01-28 17:47:03 UTC (rev 15)
+++ trunk/reactos/base/system/msconfig/msconfig.h 2006-01-28 18:07:22 UTC (rev 16)
@@ -0,0 +1,2 @@
+extern HINSTANCE hInst;
+
--- trunk/reactos/base/system/msconfig/msconfig.rbuild 2006-01-28 17:47:03 UTC (rev 15)
+++ trunk/reactos/base/system/msconfig/msconfig.rbuild 2006-01-28 18:07:22 UTC (rev 16)
@@ -0,0 +1,26 @@
+<module name="msconfig" type="win32gui" installbase="system32" installname="msconfig.exe">
+ <include base="msconfig">.</include>
+ <define name="UNICODE" />
+ <define name="_UNICODE" />
+ <define name="__REACTOS__" />
+ <define name="__USE_W32API" />
+ <define name="_WIN32_IE">0x600</define>
+ <define name="_WIN32_WINNT">0x501</define>
+ <library>kernel32</library>
+ <library>user32</library>
+ <library>advapi32</library>
+ <library>version</library>
+ <library>comctl32</library>
+ <library>shell32</library>
+ <compilationunit name="unit.c">
+ <file>toolspage.c</file>
+ <file>srvpage.c</file>
+ <file>systempage.c</file>
+ <file>startuppage.c</file>
+ <file>freeldrpage.c</file>
+ <file>generalpage.c</file>
+ <file>msconfig.c</file>
+ </compilationunit>
+ <file>msconfig.rc</file>
+ <pch>precomp.h</pch>
+</module>
--- trunk/reactos/base/system/msconfig/msconfig.rc 2006-01-28 17:47:03 UTC (rev 15)
+++ trunk/reactos/base/system/msconfig/msconfig.rc 2006-01-28 18:07:22 UTC (rev 16)
@@ -0,0 +1,19 @@
+#include <windows.h>
+#include <commctrl.h>
+
+#include "resource.h"
+
+
+LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
+
+#define REACTOS_VERSION_DLL
+#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Systemconfiguration Tool\0"
+#define REACTOS_STR_INTERNAL_NAME "msconfig\0"
+#define REACTOS_STR_ORIGINAL_FILENAME "msconfig.exe\0"
+#include <reactos/version.rc>
+
+
+#include "De.rc"
+#include "En.rc"
+#include "Fr.rc"
+#include "Hu.rc"
--- trunk/reactos/base/system/msconfig/precomp.h 2006-01-28 17:47:03 UTC (rev 15)
+++ trunk/reactos/base/system/msconfig/precomp.h 2006-01-28 18:07:22 UTC (rev 16)
@@ -0,0 +1,19 @@
+#include <windows.h>
+#define NTOS_MODE_USER
+#include <commctrl.h>
+#include <winuser.h>
+#include <tchar.h>
+
+#include "resource.h"
+#include "msconfig.h"
+#include "toolspage.h"
+#include "srvpage.h"
+#include "startuppage.h"
+#include "freeldrpage.h"
+#include "systempage.h"
+#include "generalpage.h"
+
+#define MAX_KEY_LENGTH 255
+#define MAX_VALUE_NAME 16383
+
+
--- trunk/reactos/base/system/msconfig/resource.h 2006-01-28 17:47:03 UTC (rev 15)
+++ trunk/reactos/base/system/msconfig/resource.h 2006-01-28 18:07:22 UTC (rev 16)
@@ -0,0 +1,104 @@
+#define IDD_MSCONFIG_DIALOG 101
+#define IDD_TOOLS_PAGE 102
+#define IDD_SERVICES_PAGE 103
+#define IDD_GENERAL_PAGE 104
+#define IDD_STARTUP_PAGE 105
+#define IDD_FREELDR_PAGE 106
+#define IDD_SYSTEM_PAGE 107
+#define IDD_FREELDR_ADVANCED_PAGE 108
+
+#define IDC_TAB 1001
+#define IDC_BTN_APPLY 1002
+#define IDC_BTN_HELP 1003
+#define IDC_TOOLS_CMDLINE 1004
+#define IDC_BTN_RUN 1005
+#define IDC_SERVICES_LIST 1006
+#define IDC_TOOLS_LIST 1007
+#define IDC_STARTUP_LIST 1008
+#define IDC_BTN_SERVICES_ACTIVATE 1009
+#define IDC_BTN_SERVICES_DEACTIVATE 1010
+#define IDC_BTN_STARTUP_ACTIVATE 1011
+#define IDC_BTN_STARTUP_DEACTIVATE 1012
+#define IDC_CBX_NORMAL_START 1013
+#define IDC_CBX_DIAGNOSTIC_START 1014
+#define IDC_CBX_SELECTIVE_STARTUP 1015
+#define IDC_CBX_SYSTEM_INI 1016
+#define IDC_CBX_SYSTEM_SERVICE 1017
+#define IDC_CBX_STARTUP_ITEM 1018
+#define IDC_LIST_BOX 1019
+#define IDC_BTN_CHECK_BOOT_PATH 1020
+#define IDC_BTN_SET_DEFAULT_BOOT 1021
+#define IDC_BTN_MOVE_UP_BOOT_OPTION 1022
+#define IDC_BTN_MOVE_DOWN_BOOT_OPTION 1023
+#define IDC_CBX_SAFE_BOOT 1024
+#define IDC_CBX_NO_GUI_BOOT 1025
+#define IDC_CBX_BOOT_LOG 1026
+#define IDC_CBX_BASE_VIDEO 1027
+#define IDC_CBX_SOS 1028
+#define IDC_BTN_ADVANCED_OPTIONS 1029
+#define IDC_TXT_BOOT_TIMEOUT 1030
+#define IDC_CBX_MAX_MEM 1031
+#define IDC_TXT_MAX_MEM 1032
+#define IDC_SCR_MAX_MEM 1033
+#define IDC_CBX_NUM_PROC 1034
+#define IDC_DRP_NUM_PROC 1035
+#define IDC_CBX_PCI_LOCK 1036
+#define IDC_CBX_PROFILE 1037
+#define IDC_CBX_IRQ 1038
+#define IDC_TXT_IRQ 1039
+#define IDC_CBX_DEBUG 1040
+#define IDC_CBX_DEBUG_PORT 1041
+#define IDC_DRP_DEBUG_PORT 1042
+#define IDC_CBX_BAUD_RATE 1043
+#define IDC_DRP_DRP_BAUD_RATE 1044
+#define IDC_CBX_CHANNEL 1045
+#define IDC_TXT_CHANNEL 1046
+#define IDC_SCR_CHANNEL 1047
+#define IDC_OK 1048
+#define IDC_CANCEL 1049
+
+#define IDS_TAB_TOOLS 2001
+#define IDS_TAB_SYSTEM 2002
+#define IDS_TAB_FREELDR 2003
+#define IDS_TAB_STARTUP 2004
+#define IDS_TAB_SERVICES 2005
+#define IDS_TAB_GENERAL 2006
+
+#define IDS_TOOLS_COLUMN_NAME 2010
+#define IDS_TOOLS_COLUMN_DESCR 2011
+#define IDS_SERVICES_COLUMN_SERVICE 2012
+#define IDS_SERVICES_COLUMN_REQ 2013
+#define IDS_SERVICES_COLUMN_VENDOR 2014
+#define IDS_SERVICES_COLUMN_STATUS 2015
+#define IDS_STARTUP_COLUMN_ELEMENT 2016
+#define IDS_STARTUP_COLUMN_CMD 2017
+#define IDS_STARTUP_COLUMN_PATH 2018
+
+#define IDS_TOOLS_CMD_NAME 2100
+#define IDS_TOOLS_CMD_DESCR 2101
+#define IDS_TOOLS_CMD_CMD 2102
+#define IDS_TOOLS_CMD_PARAM 2103
+
+#define IDS_TOOLS_INFO_NAME 2104
+#define IDS_TOOLS_INFO_DESCR 2105
+#define IDS_TOOLS_INFO_CMD 2106
+#define IDS_TOOLS_INFO_PARAM 2107
+
+#define IDS_TOOLS_REGEDIT_NAME 2108
+#define IDS_TOOLS_REGEDIT_DESCR 2109
+#define IDS_TOOLS_REGEDIT_CMD 2110
+#define IDS_TOOLS_REGEDIT_PARAM 2111
+
+#define IDS_TOOLS_SYSDM_NAME 2112
+#define IDS_TOOLS_SYSDM_DESCR 2113
+#define IDS_TOOLS_SYSDM_CMD 2114
+#define IDS_TOOLS_SYSDM_PARAM 2115
+
+#define IDS_SERVICES_STATUS_STOPPED 2200
+#define IDS_SERVICES_STATUS_RUNNING 2201
+#define IDS_SERVICES_YES 2202
+#define IDS_SERVICES_UNKNOWN 2203
+
+#define IDS_MSCONFIG 3000
+
+/* EOF */
--- trunk/reactos/base/system/msconfig/srvpage.c 2006-01-28 17:47:03 UTC (rev 15)
+++ trunk/reactos/base/system/msconfig/srvpage.c 2006-01-28 18:07:22 UTC (rev 16)
@@ -0,0 +1,251 @@
+#include <precomp.h>
+
+HWND hServicesPage;
+HWND hServicesListCtrl;
+HWND hServicesDialog;
+
+void GetServices ( void );
+
+INT_PTR CALLBACK
+ServicesPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
+{
+ LV_COLUMN column;
+ TCHAR szTemp[256];
[truncated at 1000 lines; 553 more skipped]