add resources for newdev.dll

svn path=/trunk/; revision=18669
This commit is contained in:
Christoph von Wittich 2005-10-21 23:44:43 +00:00
parent f1fcff6a3b
commit 131429986c
7 changed files with 192 additions and 0 deletions

74
reactos/lib/newdev/De.rc Normal file
View file

@ -0,0 +1,74 @@
LANGUAGE LANG_GERMAN, SUBLANG_DEFAULT
IDD_WELCOMEPAGE DIALOG DISCARDABLE 0, 0, 317, 193
STYLE DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION "Hardwareinstallation"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Willkommen",IDC_WELCOMETITLE,115,8,195,24
LTEXT "Dieser Assistent installiert einen neuen Gerätetreiber für:",
IDC_STATIC,115,40,195,16
LTEXT "Klicken Sie auf Weiter um fortzufahren.",IDC_STATIC,115,169,195,17
LTEXT "UNKNOWN DEVICE",IDC_DEVICE,129,55,164,11
CONTROL "Treiber automatisch installieren",IDC_RADIO_AUTO,"Button",
BS_AUTORADIOBUTTON,115,112,178,13
CONTROL "Treiber von einer bestimmten Position installieren",IDC_RADIO_MANUAL,
"Button",BS_AUTORADIOBUTTON,115,133,164,14
END
IDD_NODRIVER DIALOG DISCARDABLE 0, 0, 317, 193
STYLE DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION "Hardwareinstallation"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Installation fehlgeschlagen",IDC_FINISHTITLE,115,8,195,24
LTEXT "Der Gerät konnte nicht installiert werden, da kein passender Treiber gefunden werden konnte.",
IDC_STATIC,115,40,195,19
LTEXT "Klicken Sie auf Zurück, wenn Sie eine Treiber CD oder Diskette haben oder den Pfad zum Treiber kennen.",
IDC_STATIC,113,98,181,24
CONTROL "Diesen Dialog nicht mehr anzeigen",IDC_DONOTSHOWDLG,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,114,170,180,11
END
IDD_CHSOURCE DIALOG DISCARDABLE 0, 0, 317, 143
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Hardwareinstallation"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "Diese Pfade durchsuchen",IDC_RADIO_SEARCHHERE,"Button",
BS_AUTORADIOBUTTON,30,11,239,13
CONTROL "Treiber manuell auswählen",IDC_RADIO_CHOOSE,"Button",
BS_AUTORADIOBUTTON,30,98,171,12
CONTROL "Wechseldatenträger durchsuchen",IDC_CHECK_MEDIA,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,47,33,163,9
CONTROL "Diesen Pfad ebenfalls durchsuchen",IDC_CHECK_PATH,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,50,54,162,10
PUSHBUTTON "Durchsuchen",IDC_BROWSE,248,69,45,14
COMBOBOX IDC_COMBO_PATH,64,71,176,12,CBS_DROPDOWN | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
END
IDD_SEARCHDRV DIALOG DISCARDABLE 0, 0, 317, 143
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Hardwareinstallation"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "UNKNOWN DEVICE",IDC_DEVICE,51,20,169,16
END
IDD_FINISHPAGE DIALOG DISCARDABLE 0, 0, 317, 193
STYLE DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION "Hardwareinstallation"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Installation abgeschlossen",IDC_FINISHTITLE,115,8,195,11
LTEXT "Der Assistent hat die Installation erfolgreich abgeschlossen.",
IDC_STATIC,115,32,195,19
LTEXT "Klicken Sie zum Beenden der Installation auf Fertigstellen.",IDC_STATIC,115,174,
190,11
LTEXT "UNKNOWN DEVICE",IDC_DEVICE,148,53,147,12
END

74
reactos/lib/newdev/En.rc Normal file
View file

@ -0,0 +1,74 @@
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
IDD_WELCOMEPAGE DIALOG DISCARDABLE 0, 0, 317, 193
STYLE DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION "Device installation"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Welcome",IDC_WELCOMETITLE,115,8,195,24
LTEXT "This wizard installs a new device driver for:",
IDC_STATIC,115,40,195,16
LTEXT "Click Next to continue.",IDC_STATIC,115,169,195,17
LTEXT "UNKNOWN DEVICE",IDC_DEVICE,129,55,164,11
CONTROL "Install driver automatically",IDC_RADIO_AUTO,"Button",
BS_AUTORADIOBUTTON,115,112,178,13
CONTROL "Install driver from specific location",IDC_RADIO_MANUAL,
"Button",BS_AUTORADIOBUTTON,115,133,164,14
END
IDD_NODRIVER DIALOG DISCARDABLE 0, 0, 317, 193
STYLE DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION "Device installation"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Installation failed",IDC_FINISHTITLE,115,8,195,24
LTEXT "The device could not be installed because the driver could not be found.",
IDC_STATIC,115,40,195,19
LTEXT "Click on Back if you have a driver disk or know the path to the driver.",
IDC_STATIC,113,98,181,24
CONTROL "Do not show this dialog anymore",IDC_DONOTSHOWDLG,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,114,170,180,11
END
IDD_CHSOURCE DIALOG DISCARDABLE 0, 0, 317, 143
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Device installation"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "Search in these locations",IDC_RADIO_SEARCHHERE,"Button",
BS_AUTORADIOBUTTON,27,11,239,13
CONTROL "Choose the driver manually",IDC_RADIO_CHOOSE,"Button",
BS_AUTORADIOBUTTON,27,98,171,12
CONTROL "Search removeable media",IDC_CHECK_MEDIA,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,47,33,163,9
CONTROL "Include this path",IDC_CHECK_PATH,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,47,54,162,10
PUSHBUTTON "Browse",IDC_BROWSE,248,69,45,14
COMBOBOX IDC_COMBO_PATH,61,71,176,12,CBS_DROPDOWN | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
END
IDD_SEARCHDRV DIALOG DISCARDABLE 0, 0, 317, 143
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Device installation"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "UNKNOWN DEVICE",IDC_DEVICE,51,20,169,16
END
IDD_FINISHPAGE DIALOG DISCARDABLE 0, 0, 317, 193
STYLE DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION "Device installation"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Installation complete",IDC_FINISHTITLE,115,8,195,11
LTEXT "The wizard has finished installing the driver for:",
IDC_STATIC,115,32,195,19
LTEXT "Click Finish to close the wizard.",IDC_STATIC,115,174,
179,11
LTEXT "UNKNOWN DEVICE",IDC_DEVICE,148,53,147,12
END

View file

@ -0,0 +1,10 @@
#include <windows.h>
#include "resource.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDB_WATERMARK BITMAP "resources/watermark.bmp"
IDB_HEADER BITMAP "resources/header.bmp"
#include "En.rc"
#include "De.rc"

View file

@ -1,7 +1,13 @@
<module name="newdev" type="win32dll" installbase="system32" installname="newdev.dll">
<include base="newdev">.</include>
<importlibrary definition="newdev.def" />
<define name="_WIN32_IE">0x0600</define>
<define name="_WIN32_WINNT">0x0501</define>
<file>newdev.c</file>
<file>stubs.c</file>
<file>newdev.rc</file>
<library>gdi32</library>
<library>comctl32</library>
<library>ntdll</library>
<library>setupapi</library>
</module>

View file

@ -0,0 +1,28 @@
#ifndef RESOURCE_H
#define RESOURCE_H
#define IDB_WATERMARK 100
#define IDB_HEADER 101
#define IDC_STATIC -1
#define IDC_DEVICE 2000
#define IDC_RADIO_AUTO 2001
#define IDC_RADIO_MANUAL 2002
#define IDC_DONOTSHOWDLG 2003
#define IDC_RADIO_SEARCHHERE 2004
#define IDC_RADIO_CHOOSE 2005
#define IDC_CHECK_MEDIA 2006
#define IDC_CHECK_PATH 2007
#define IDC_WELCOMETITLE 2008
#define IDC_BROWSE 2009
#define IDC_COMBO_PATH 2010
#define IDC_FINISHTITLE 2011
#define IDD_WELCOMEPAGE 1000
#define IDD_NODRIVER 1001
#define IDD_CHSOURCE 1002
#define IDD_SEARCHDRV 1003
#define IDD_FINISHPAGE 1004
#endif /* RESOURCE_H */

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB