|
|
//+------------------------------------------------------------------------- // // Microsoft Windows // // Copyright (C) Microsoft Corporation, 1997 - 1999 // // File: hotplug.rc // //--------------------------------------------------------------------------
//Microsoft Developer Studio generated resource script. // #include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// // // Generated from the TEXTINCLUDE 2 resource. // #define APSTUDIO_HIDDEN_SYMBOLS #include "windows.h" #undef APSTUDIO_HIDDEN_SYMBOLS #include "commctrl.h" #include "setupapi.h" #include "resource.h" #include "ntverp.h"
///////////////////////////////////////////////////////////////////////////// #undef APSTUDIO_READONLY_SYMBOLS
///////////////////////////////////////////////////////////////////////////// // English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) #ifdef _WIN32 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US #pragma code_page(1252) #endif //_WIN32
#ifdef APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // TEXTINCLUDE //
1 TEXTINCLUDE DISCARDABLE BEGIN "resource.h\0" END
2 TEXTINCLUDE DISCARDABLE BEGIN "#include ""winres.h""\r\n" "\0" END
3 TEXTINCLUDE DISCARDABLE BEGIN "1 TYPELIB ""blkdrv.tlb""\r\n" "\0" END
#endif // APSTUDIO_INVOKED
// // Version information //
#include <ntverp.h>
#define VER_FILETYPE VFT_DLL #define VER_FILESUBTYPE VFT_UNKNOWN #define VER_FILEDESCRIPTION_STR "Safely Remove Hardware applet" #define VER_INTERNALNAME_STR "hotplug" #define VER_ORIGINALFILENAME_STR "hotplug.dll"
#include "common.ver"
///////////////////////////////////////////////////////////////////////////// // // Dialog //
DLG_DEVTREE DIALOG DISCARDABLE 0, 0, 278, 245 STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Safely Remove Hardware" FONT 8, "MS Shell Dlg" BEGIN ICON IDI_HOTPLUGICON,IDC_NOHELP1,7,10,20,20 LTEXT "Select the device you want to unplug or eject, and then click Stop. When Windows notifies you that it is safe to do so unplug the device from your computer.", IDC_NOHELP2,36,12,234,24 LTEXT "&Hardware devices:",IDC_HDWDEVICES,7,42,248,8 CONTROL "",IDC_DEVICETREE,"SysTreeView32",TVS_HASBUTTONS | TVS_HASLINES | TVS_DISABLEDRAGDROP | TVS_SHOWSELALWAYS | WS_BORDER | WS_GROUP | WS_TABSTOP,7,52,264,102 LTEXT "",IDC_DEVICEDESC,7,156,264,16 PUSHBUTTON "&Properties",IDC_PROPERTIES,158,178,55,14 PUSHBUTTON "&Stop",IDC_STOPDEVICE,216,178,55,14 CTEXT "",IDC_NOHELP3,7,200,264,1,SS_SUNKEN | NOT WS_GROUP PUSHBUTTON "&Close",IDCLOSE,216,224,55,14 CONTROL "&Display device components",IDC_VIEWOPTION,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,7,208,110,12 END
DLG_CONFIRMREMOVE DIALOG DISCARDABLE 32, 10, 256, 148 STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Stop a Hardware device" FONT 8, "MS Shell Dlg" BEGIN LTEXT "Confirm devices to be stopped, Choose OK to continue.", IDC_NOHELP1,7,8,241,14 LTEXT "Windows will attempt to stop the following devices. After the devices are stopped they may be removed safely.", IDC_NOHELP2,7,22,240,18 PUSHBUTTON "OK",IDOK,144,127,50,14,WS_GROUP PUSHBUTTON "Cancel",IDCANCEL,198,127,50,14 CONTROL "",IDC_REMOVELIST,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SHAREIMAGELISTS | LVS_ALIGNLEFT | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_GROUP | WS_TABSTOP,8,45,240,78 END
///////////////////////////////////////////////////////////////////////////// // // Icon //
// Icon with lowest ID value placed first to ensure application icon // remains consistent on all systems. IDI_HOTPLUGICON ICON DISCARDABLE "HotPlug.ico" IDI_UNDOCKICON ICON DISCARDABLE "ejectpc.ico" IDI_BLOCKDRIVER ICON DISCARDABLE "dblock.ico"
///////////////////////////////////////////////////////////////////////////// // // REGISTRY //
IDR_BLKDRV REGISTRY DISCARDABLE "blkdrv.rgs"
#ifdef APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // TEXTINCLUDE //
1 TEXTINCLUDE DISCARDABLE BEGIN "resrc1.h\0" END
2 TEXTINCLUDE DISCARDABLE BEGIN "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" "#include ""windows.h""\r\n" "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" "#include ""commctrl.h""\r\n" "#include ""setupapi.h""\r\n" "#include ""resource.h""\r\n" "#include ""ntverp.h""\r\n" "\0" END
3 TEXTINCLUDE DISCARDABLE BEGIN "\r\n" "\0" END
#endif // APSTUDIO_INVOKED
///////////////////////////////////////////////////////////////////////////// // // DESIGNINFO //
#ifdef APSTUDIO_INVOKED GUIDELINES DESIGNINFO DISCARDABLE BEGIN DLG_SURPRISEWARN, DIALOG BEGIN LEFTMARGIN, 7 RIGHTMARGIN, 248 BOTTOMMARGIN, 219 END END #endif // APSTUDIO_INVOKED
///////////////////////////////////////////////////////////////////////////// // // String Table //
STRINGTABLE DISCARDABLE BEGIN IDS_HOTPLUGNAME "Hot Pluggable Devices" IDS_HOTPLUGINFO "Hot Pluggable Devices Control" IDS_UNKNOWN "Unknown Device" IDS_PROB_NONE "This device is working properly." IDS_PROB_UNKNOWN "Device status is unknown."
IDS_LOCATION "at %s" IDS_LOCATION_NOUINUMBER "on %s"
IDS_AT "at " IDS_UI_NUMBER_DESC_FORMAT "Location %1!u!" END
STRINGTABLE DISCARDABLE BEGIN IDS_VETOED_EJECT_TITLE "Problem Ejecting %s" IDS_VETOED_REMOVAL_TITLE "Problem Stopping %s" IDS_VETOED_UNDOCK_TITLE "Problem Undocking From %s" IDS_VETOED_STANDBY_TITLE "System Standby Failed" IDS_VETOED_HIBERNATION_TITLE "System Hibernation Failed"
IDS_REMOVAL_COMPLETE_TITLE "Safe To Remove Hardware" IDS_UNDOCK_COMPLETE_TITLE "Undock Complete" END
STRINGTABLE DISCARDABLE BEGIN IDS_STOP "&Stop" IDS_PROPERTIES "&Properties" END
STRINGTABLE DISCARDABLE BEGIN IDS_CONFIRM_STOP "Windows will stop the following devices. After the devices are stopped they may be removed safely." IDS_UNDOCK_COMPLETE_TEXT "Windows has finished undocking the system. If you need to remove the system from the %s, please do so now." IDS_REMOVAL_COMPLETE_TEXT "The '%s' device can now be safely removed from the system." IDS_BLOCKDRIVER_TITLE "Devices or applications disabled" IDS_BLOCKDRIVER_MESSAGE "Applications or devices on this computer use drivers that will cause Windows to become unstable. Windows has prevented these drivers from loading. Click here for more details." IDS_BLOCKDRIVER_FORMAT "'%s' will cause Windows to become unstable. Windows has prevented these drivers from loading. Click here for more details." IDS_CHILDWITHINVALIDID_TITLE "Hardware Id Missing" IDS_CHILDWITHINVALIDID_FORMAT "Windows cannot identify the device plugged into the %s.\r\n\r\nFor assistance, contact the hardware manufacturer." END
STRINGTABLE DISCARDABLE BEGIN IDS_VETO_UNKNOWN "The device '%s' cannot be stopped because of an unknown error. Since this device is still being used, do not remove it." IDS_VETO_LEGACYDEVICE "The device '%s' cannot be stopped because it is using a driver that does not support Plug and Play. Since this device is still being used, do not remove it." IDS_VETO_PENDINGCLOSE "This device cannot be stopped because one of its components (%s) was unplugged when a program was still using it. Close that program and then attempt to stop this device again." IDS_VETO_WINDOWSAPP "The application '%s' is preventing this device from being stopped. Close the application and then try to stop the device again." IDS_VETO_WINDOWSSERVICE "The service '%s' is preventing this device from being stopped. Try stopping this service and then try to stop the device again." IDS_VETO_OUTSTANDINGOPEN "The device '%s' cannot be stopped because a program is still accessing it." IDS_VETO_DEVICE "The device '%s' cannot be stopped right now. Try stopping the device again later." IDS_VETO_DRIVER "The driver '%s' is preventing this device from being stopped right now. Try stopping the device again later." IDS_VETO_ILLEGALDEVICEREQUEST "The '%s' device is not removable and cannot be ejected or unplugged." IDS_VETO_INSUFFICIENTPOWER "This device can not eject at this time as there will be no remaining power sources (batteries) to keep the computer running after the %s has been ejected. Please shut down the computer and then eject it." IDS_VETO_NONDISABLEABLE "The %s device is critical to the operation of the computer and cannot be disabled." IDS_VETO_LEGACYDRIVER "The service '%s' is does not support Plug and Play and cannot be stopped. Contact the manufacturer of the driver for an update." IDS_VETO_INSUFFICIENT_RIGHTS "You cannot eject the %s because you do not have sufficient security privileges to do so. Please contact your administrator to obtain these privileges." IDS_VETO_UNKNOWNWINDOWSAPP "An application is preventing this device from being stopped. Close all applications and then try to stop the device again."
IDS_DOCKVETO_UNKNOWN "You cannot eject your computer because one of the devices in the docking station, '%s', cannot be stopped because of an unknown error. Since this device is still being used, do not remove the computer." IDS_DOCKVETO_LEGACYDEVICE "You cannot eject your computer because one of the devices in the docking station, '%s', cannot be stopped because it is using a driver that does not support Plug and Play. Since this device is still being used, do not remove the computer." IDS_DOCKVETO_PENDINGCLOSE "You cannot eject your computer because one of the devices in the docking station, '%s', was unplugged when a program was still using it. Close that program and then attempt to eject the computer." IDS_DOCKVETO_WINDOWSAPP "The application '%s' is preventing your computer from ejecting because it is using a device in the docking station. Close the application and then try again." IDS_DOCKVETO_WINDOWSSERVICE "The service '%s' is preventing your computer from ejecting. Try stopping this service and then try to eject the computer again." IDS_DOCKVETO_OUTSTANDINGOPEN "You cannot eject your computer because one of the devices in the docking station, '%s', cannot be stopped because a program is still accessing it." IDS_DOCKVETO_DEVICE "You cannot eject your computer because one of the devices in the docking station, '%s', cannot be stopped right now. Try closing all applications and ejecting the computer again later."
IDS_DOCKVETO_DRIVER "You cannot eject your computer because the driver '%s' is preventing a device from being stopped right now. Try closing all applications and ejecting the computer later." IDS_DOCKVETO_ILLEGALDEVICEREQUEST "You cannot eject your computer because one of the devices in the docking station, '%s', device is not removable and cannot be ejected or unplugged." IDS_DOCKVETO_INSUFFICIENTPOWER "Your computer can not eject at this time as there will be no remaining power sources (batteries) to keep the computer running after the %s has been ejected. Please shut down the computer and then eject it." IDS_DOCKVETO_NONDISABLEABLE "You cannot eject your computer because one of the devices in the docking station, %s, is critical to the operation of the computer and cannot be disabled." IDS_DOCKVETO_LEGACYDRIVER "You cannot eject your computer because the service '%s', which controls one of the devices in the docking station, does not support Plug and Play and cannot be stopped. Contact the manufacturer of the driver for an update." IDS_DOCKVETO_INSUFFICIENT_RIGHTS "You cannot eject your computer because you do not have sufficient security privileges to do so. Please contact your administrator to obtain these privileges" IDS_DOCKVETO_WARM_EJECT "Your computer failed to eject. Please close all applications and try again. You may need to enable hibernate support in the Power Options control panel." IDS_DOCKVETO_UNKNOWNWINDOWSAPP "An application is preventing your computer from ejecting because it is using a device in the docking station. Close all applications and then try again."
IDS_SLEEPVETO_UNKNOWN "%s" IDS_SLEEPVETO_LEGACYDEVICE "%s" IDS_SLEEPVETO_PENDINGCLOSE "%s" IDS_SLEEPVETO_WINDOWSAPP "%s" IDS_SLEEPVETO_WINDOWSSERVICE "The service '%s' is preventing the machine from entering standby. Try stopping this service and try again." IDS_SLEEPVETO_OUTSTANDINGOPEN "%s" IDS_SLEEPVETO_DEVICE "The device driver for the '%s' device is preventing the machine from entering standby. Please close all applications and try again. If the problem persists, you may need to update this driver." IDS_SLEEPVETO_DRIVER "%s" IDS_SLEEPVETO_ILLEGALDEVICEREQUEST "%s" IDS_SLEEPVETO_INSUFFICIENTPOWER "%s" IDS_SLEEPVETO_NONDISABLEABLE "%s" IDS_SLEEPVETO_LEGACYDRIVER "%s" IDS_SLEEPVETO_INSUFFICIENT_RIGHTS "" IDS_SLEEPVETO_UNKNOWNWINDOWSAPP ""
IDS_HIBERNATEVETO_UNKNOWN "%s" IDS_HIBERNATEVETO_LEGACYDEVICE "%s" IDS_HIBERNATEVETO_PENDINGCLOSE "%s" IDS_HIBERNATEVETO_WINDOWSAPP "%s" IDS_HIBERNATEVETO_WINDOWSSERVICE "The service '%s' is preventing the machine from entering hibernation. Try stopping this service and try again." IDS_HIBERNATEVETO_OUTSTANDINGOPEN "%s" IDS_HIBERNATEVETO_DEVICE "The device driver for the '%s' device is preventing the machine from entering hibernation. Please close all applications and try again. If the problem persists, you may need to update this driver." IDS_HIBERNATEVETO_DRIVER "%s" IDS_HIBERNATEVETO_ILLEGALDEVICEREQUEST "%s" IDS_HIBERNATEVETO_INSUFFICIENTPOWER "%s" IDS_HIBERNATEVETO_NONDISABLEABLE "%s" IDS_HIBERNATEVETO_LEGACYDRIVER "%s" IDS_HIBERNATEVETO_INSUFFICIENT_RIGHTS "" IDS_HIBERNATEVETO_UNKNOWNWINDOWSAPP "" END
///////////////////////////////////////////////////////////////////////////// // // Generated from the TEXTINCLUDE 3 resource. // 1 TYPELIB "blkdrv.tlb"
///////////////////////////////////////////////////////////////////////////// #endif // not APSTUDIO_INVOKED
|