Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

493 lines
21 KiB

//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
/////////////////////////////////////////////////////////////////////////////
#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
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
"#include ""windows.h""\r\n"
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"#ifdef USBUIDLL_INC_VERINFO\r\n"
"#include ""usbuidll.rcv""\r\n"
"#endif // USBUIDLL_INC_VERINFO\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_BANDWIDTH DIALOG DISCARDABLE 0, 0, 258, 223
STYLE WS_POPUP | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Bandwidth-consuming devices:",IDC_STATIC,7,87,99,8
CONTROL "List1",IDC_LIST_DEVICES,"SysListView32",LVS_REPORT |
LVS_SINGLESEL | LVS_SHAREIMAGELISTS | LVS_NOLABELWRAP |
LVS_AUTOARRANGE | WS_BORDER | WS_TABSTOP,7,98,244,59
#if defined(WINNT)
CONTROL "&Don't tell me about USB errors",
IDC_DISABLE_ERROR_DETECTION,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,7,206,125,10
#endif // WINNT
LTEXT "To update the list, click Refresh.",IDC_STATIC,7,162,140,8
DEFPUSHBUTTON "&Refresh",IDC_REFRESH,201,162,50,14
PUSHBUTTON "&Close",IDC_BANDWIDTH_CLOSE,201,162,50,14,NOT
WS_VISIBLE | WS_DISABLED
LTEXT "bandwidth",IDC_BAND_TEXT,15,18,230,25
END
IDD_POWER DIALOG DISCARDABLE 0, 0, 258, 183
STYLE WS_POPUP | WS_CAPTION
CAPTION "Power"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Hub information",IDC_STATIC,7,7,244,54
LTEXT "The hub is self-powered",IDC_SELF_POWER,18,25,200,8
LTEXT "Total Power Available: ",IDC_POWER_AVAIL,18,40,228,8,
SS_CENTERIMAGE
LTEXT "&Attached devices:",IDC_DESCRIPTION,7,70,65,8
CONTROL "List1",IDC_LIST_DEVICES,"SysListView32",LVS_REPORT |
LVS_SINGLESEL | LVS_SHAREIMAGELISTS | LVS_NOLABELWRAP |
LVS_AUTOARRANGE | WS_BORDER | WS_TABSTOP,7,82,244,73
LTEXT "To update the list, click Refresh.", IDC_STATIC, 7,162,120,8
DEFPUSHBUTTON "&Refresh",IDC_REFRESH,201,162,50,14
PUSHBUTTON "&Close",IDC_POWER_CLOSE,201,162,50,14,NOT WS_VISIBLE |
WS_DISABLED
END
IDD_INSUFFICIENT_POWER DIALOG DISCARDABLE 0, 0, 263, 266
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION
CAPTION "USB Hub Power Exceeded"
FONT 8, "MS Shell Dlg"
BEGIN
PUSHBUTTON "&Reset",IDC_RESET_PORT,145,245,50,14,NOT WS_VISIBLE |
WS_DISABLED
PUSHBUTTON "&Close",IDOK,206,245,50,14
LTEXT "The indicated device requires more power than is available through the hub into which it is plugged.",
IDC_POWER_NOTIFICATION,39,7,217,25
CONTROL "",IDC_TREE_HUBS,"SysTreeView32",TVS_HASBUTTONS |
TVS_HASLINES | TVS_LINESATROOT | TVS_DISABLEDRAGDROP |
TVS_SHOWSELALWAYS | WS_BORDER | WS_GROUP | WS_TABSTOP,7,
64,249,116
ICON "",IDC_ICON_POWER,7,7,20,20
LTEXT "",IDC_POWER_EXPLANATION,7,43,249,16
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,37,249,1
GROUPBOX "Recommendation",IDC_STATIC,7,186,249,50
LTEXT "",IDC_POWER_RECOMMENDATION,15,197,234,34
END
IDD_MODERN_DEVICE_IN_LEGACY_HUB DIALOG DISCARDABLE 0, 0, 263, 266
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION
CAPTION "HI-SPEED USB Device Attached To non-HI-SPEED Hub"
FONT 8, "MS Shell Dlg"
BEGIN
PUSHBUTTON "&Reset",IDC_RESET_PORT,145,245,50,14,NOT WS_VISIBLE |
WS_DISABLED
PUSHBUTTON "&Close",IDOK,206,245,50,14
LTEXT "",
IDC_LEGACY_NOTIFICATION,39,7,217,25
CONTROL "",IDC_TREE_HUBS,"SysTreeView32",TVS_HASBUTTONS |
TVS_HASLINES | TVS_LINESATROOT | TVS_DISABLEDRAGDROP |
TVS_SHOWSELALWAYS | WS_BORDER | WS_GROUP | WS_TABSTOP,7,
64,249,116
ICON "",IDC_ICON_POWER,7,7,20,20
LTEXT "",IDC_LEGACY_EXPLANATION,7,43,249,16
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,37,249,1
GROUPBOX "Recommendation",IDC_STATIC,7,186,249,50
LTEXT "",IDC_LEGACY_RECOMMENDATION,15,197,234,34
END
IDD_NESTED_HUB DIALOG DISCARDABLE 0, 0, 263, 266
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION
CAPTION "Maximum Hub Number Surpassed"
FONT 8, "MS Shell Dlg"
BEGIN
PUSHBUTTON "&Reset",IDC_RESET_PORT,145,245,50,14,NOT WS_VISIBLE |
WS_DISABLED
PUSHBUTTON "&Close",IDOK,206,245,50,14
LTEXT "",
IDC_NESTED_NOTIFICATION,39,7,217,25
CONTROL "",IDC_TREE_HUBS,"SysTreeView32",TVS_HASBUTTONS |
TVS_HASLINES | TVS_LINESATROOT | TVS_DISABLEDRAGDROP |
TVS_SHOWSELALWAYS | WS_BORDER | WS_GROUP | WS_TABSTOP,7,
64,249,116
ICON "",IDC_ICON_POWER,7,7,20,20
LTEXT "",IDC_NESTED_EXPLANATION,7,43,249,16
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,37,249,1
GROUPBOX "Recommendation",IDC_STATIC,7,186,249,50
LTEXT "",IDC_NESTED_RECOMMENDATION,15,197,234,34
END
IDD_INSUFFICIENT_BANDWIDTH DIALOG DISCARDABLE 0, 0, 263, 263
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION
CAPTION "USB Controller Bandwidth Exceeded"
FONT 8, "MS Shell Dlg"
BEGIN
PUSHBUTTON "&Close",IDOK,206,242,50,14
CONTROL "List1",IDC_LIST_CONTROLLERS,"SysListView32",LVS_REPORT |
LVS_SINGLESEL | LVS_SHAREIMAGELISTS | LVS_NOLABELWRAP |
LVS_AUTOARRANGE | WS_BORDER | WS_TABSTOP,7,73,249,104
PUSHBUTTON "&Refresh",IDC_BW_REFRESH,145,242,50,14
LTEXT "",IDC_BANDWIDTH_RECOMMENDATION,16,196,232,32
LTEXT "",
IDC_BANDWIDTH_NOTIFICATION,39,7,217,25
ICON "",IDC_ICON_BANDWIDTH,7,7,20,20
LTEXT "",IDC_BANDWIDTH_EXPLANATION,7,43,249,26
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,37,248,1
GROUPBOX "Recommendation",IDC_STATIC,7,184,249,49
END
IDD_CPL_USB DIALOGEX 0, 0, 424, 278
STYLE DS_CENTER | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION |
WS_SYSMENU | WS_THICKFRAME
EXSTYLE WS_EX_CONTROLPARENT
CAPTION "Universal Serial Bus"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
CONTROL "Tree1",IDC_TREE_USB,"SysTreeView32",TVS_HASBUTTONS |
TVS_HASLINES | TVS_LINESATROOT | WS_BORDER | WS_TABSTOP,
7,7,174,264,WS_EX_CLIENTEDGE
LTEXT "",IDC_EDIT1,187,7,230,264,NOT WS_VISIBLE,
WS_EX_STATICEDGE
END
IDD_GENERIC_DEVICE DIALOG DISCARDABLE 0, 0, 186, 95
STYLE WS_CHILD | WS_CAPTION
CAPTION "Device"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Power required: 0 mA",IDC_GENERIC_POWER,15,23,119,8
LTEXT "Bandwidth currently in use: 0 %",IDC_GENERIC_BANDWIDTH,
15,37,119,8
GROUPBOX "Device Information",IDC_STATIC,7,7,132,51
END
IDD_ROOT_PAGE DIALOG DISCARDABLE 0, 0, 186, 95
STYLE WS_CHILD | WS_CAPTION
CAPTION "USB Enabled Computer"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "&Disable Usb Error Reporting",IDC_ERROR_DETECT_DISABLE,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,17,22,103,10
GROUPBOX "USB Options",IDC_STATIC,7,7,172,40
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
IDD_BANDWIDTH, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 251
TOPMARGIN, 6
BOTTOMMARGIN, 216
END
IDD_POWER, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 251
TOPMARGIN, 7
BOTTOMMARGIN, 176
END
IDD_INSUFFICIENT_POWER, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 256
TOPMARGIN, 7
BOTTOMMARGIN, 259
END
IDD_MODERN_DEVICE_IN_LEGACY_HUB, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 256
TOPMARGIN, 7
BOTTOMMARGIN, 259
END
IDD_INSUFFICIENT_BANDWIDTH, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 256
TOPMARGIN, 7
BOTTOMMARGIN, 259
END
IDD_CPL_USB, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 487
TOPMARGIN, 7
BOTTOMMARGIN, 311
END
IDD_GENERIC_DEVICE, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 179
TOPMARGIN, 7
BOTTOMMARGIN, 88
END
IDD_ROOT_PAGE, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 179
TOPMARGIN, 7
BOTTOMMARGIN, 88
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Cursor
//
IDC_SPLIT CURSOR DISCARDABLE "split.cur"
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_USB ICON DISCARDABLE "usb.ico"
#if !defined(WINNT)
IDI_INFRARED ICON DISCARDABLE "irexe.ico"
IDI_MODEM ICON DISCARDABLE "modem2.ico"
IDI_FLOPPY ICON DISCARDABLE "flpdrive.ico"
IDI_CDROM ICON DISCARDABLE "cddrive.ico"
IDI_IMAGE ICON DISCARDABLE "image.ico"
IDI_MEDIA ICON DISCARDABLE "mm.ico"
#endif // ~WINNT
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_POWER_EXCEEDED "USB Hub Power Exceeded"
IDS_POWER_PORTS "The unused ports shown in bold type belong to hubs that can support the device."
IDS_POWER_DEVICE "The devices shown in bold type can be supported by the hub to which the under-powered device is connected."
IDS_POWER_NOTIFICATION "The %s is connected to a hub that does not have enough power available to support it."
IDS_POWER_NOTSOLVED "The %s is has been reconnected to a different hub that also does not have enough power available to support it."
IDS_POWER_SOLVED "Situation resolved: the %s is now connected to a hub that does have enough power available to support it."
IDS_POWER_BOLD "These are shown as bolded items in the tree representation below."
IDS_POWER_INITIAL "The hub does not have enough power available to operate the %s. \nFor assistance in solving this problem, click this message."
IDS_POWER_RECOMMENDATION_DEVICE
"Disconnect the %s from its current port and switch it with one of the devices shown in bold type."
IDS_POWER_RECOMMENDATION_PORTS
"Disconnect the %s from its current port and then connect it to one of the unused ports shown in bold type."
IDS_POWER_SELF "The hub is self-powered."
IDS_POWER_BUS "The hub is bus powered."
IDS_POWER_HIGHDEVICE "The devices shown in bold type are attached to hubs that can support the device."
IDS_POWER_RECHIGHDEVICE "Disconnect the %s from its current port and switch it with one of the devices shown in bold type. Note that the switched device may not work correctly."
IDS_POWER_CONSUMPTION "%d mA"
IDS_POWER_CONSUMED "Power Required"
IDS_PORTS_AVAILABLE "%d port(s) available"
IDS_TOTAL_POWER "Total power available: %d mA per port"
IDS_POWER_MALFUNCTIONING
"The hub is not working properly."
IDS_MY_COMPUTER "My Computer"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LEGACY_INITIAL "A HI-SPEED USB device is plugged into a non-HI-SPEED USB hub.\nFor assistance in solving this problem, click this message."
IDS_USB2_DEVICE_IN_USB1_HUB
"HI-SPEED USB Device Plugged into non-HI-SPEED USB Hub"
IDS_LEGACY_NOTIFICATION "The %s is a HI-SPEED USB device and will function at reduced speed when plugged into a non-HI-SPEED port."
IDS_LEGACY_SOLVED "Situation resolved: the %s is now connected to a HI-SPEED USB hub."
IDS_USB1_DEVICE_IN_USB2_HUB
"The devices shown in bold type are non-HI-SPEED USB devices that can be supported by the hub to which the HI-SPEED USB device is connected."
IDS_USB1_DEVICE_IN_USB2_HUB_RECOMMENDATION
"Disconnect the %s from its current port and switch it with one of the devices shown in bold type."
IDS_FREE_USB2_PORTS "The hubs shown in bold type have free ports that can support the HI-SPEED USB device."
IDS_FREE_USB2_PORTS_RECOMMENDATION
"Disconnect the %s from its current port and then connect it to one of the ports on a hub shown in bold type."
IDS_UNKNOWN_DEVICE_IN_USB2_HUB
"The unrecognized devices shown in bold type are attached to hubs that can support the HI-SPEED USB device."
IDS_UNKNOWN_DEVICE_IN_USB2_HUB_RECOMMENDATION
"Disconnect the %s from its current port and switch it with one of the devices shown in bold type. Note that the switched device may not work correctly."
IDS_NO_USB2_HUBS "There are no HI-SPEED USB host controllers installed on this computer."
IDS_NO_USB2_HUBS_RECOMMENDATION
"The %s will function at reduced speed. You must add a HI-SPEED USB host controller to this computer to obtain maximum performance."
IDS_USB2_DEVICE_IN_USB2_HUB
"The hubs shown in bold type can support the HI-SPEED USB device."
IDS_USB2_DEVICE_IN_USB2_HUB_RECOMMENDATION
"Either add another HI-SPEED USB hub to the system, or switch the %s with one of the devices attached to a hub shown in bold."
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_NESTED_HUB_INITIAL "Too many USB hubs have been chained together. A USB hub will not function if it is more than 5 hubs away from the root port.\nFor assistance in solving this problem, click this message."
IDS_HUB_NESTED_TOO_DEEPLY
"Maximum Hub Number Surpassed"
IDS_NESTED_NOTIFICATION "Too many USB hubs have been chained together. A USB hub will not function if it is more than 5 hubs away from the root port."
IDS_NESTED_SOLVED "Situation resolved: the %s is now connected to a hub that is close enough to the root."
IDS_NESTED "IDS_NESTED"
IDS_FREE_PORTS "The hub's location is highlighted below. Hubs with free ports are shown in bold type."
IDS_FREE_PORTS_RECOMMENDATION
"Disconnect the %s from its current location and connect it to one of the hubs shown in bold type."
IDS_FREE_POWERED_PORTS "The hub's location is highlighted below. The hubs shown in bold type have enough power for this hub."
IDS_DEVICE_IN_POWERED_HUB
"The hub's location is highlighted below. The devices shown in bold type can be switched with the hub."
IDS_DEVICE_IN_POWERED_HUB_RECOMMENDATION
"Disconnect the hub from its current location and switch it with one of the devices shown in bold type."
IDS_BUS_POWERED_HUB_IN_POWERED_HUB
"The hub's location is highlighted below. The hubs shown in bold type are attached to hubs that can support the hub."
IDS_BUS_POWERED_HUB_IN_POWERED_HUB_RECOMMENDATION
"Disconnect the highlighted hub from its current port and switch it with one of the hubs shown in bold type."
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_USB "Universal Serial Bus"
IDS_DEVICE_DESCRIPTION "Description"
IDS_CONTROLLER "Controller"
IDS_DEVICE "Device"
IDS_USB_ERROR "Universal Serial Bus Error"
IDS_UNKNOWN "Unknown"
IDS_UNUSEDPORT "Unused Port"
IDS_UNUSEDMINIPORT "Unused Mini-Port"
IDS_UNKNOWNDEVICE "Unknown USB Device"
IDS_UNKNOWNHUB "USB Hub"
IDS_UNKNOWNCONTROLLER "USB Host Controller"
IDS_UNKNOWN20HUB "HI-SPEED USB Hub"
IDS_PORTS " (%d ports)"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_POWER_REQUIRED "Power required: %d mA"
IDS_OVERCURRENT_INITIAL "The %s has exceeded the power limits of its hub port. \nFor assistance in solving this problem, click this message."
IDS_OVERCURRENT_INITIAL_UNKNOWN
"A USB device has exceeded the power limits of its hub port. \nFor assistance in solving this problem, click this message."
IDS_OVERCURRENT_NOTIFICATION
"The %s has malfunctioned and exceeded the power limits of its hub port. You should disconnect the device."
IDS_OVERCURRENT_RECOMMENDATION
"To reenable the port, disconnect the hardware and click Reset. If you click Close, the port will no longer function."
IDS_OVERCURRENT_NOTIFICATION_UNKNOWN
"A USB device has malfunctioned and exceeded the power limits of its hub port. You should disconnect the device."
IDS_CURRENT_LIMIT_EXCEEDED "Power Surge On Hub Port"
IDS_RESET_FAILED "The port was not reset properly. If you wish to use the port, please reboot."
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_BANDWIDTH_NOTIFICATION
"The controller does not have enough bandwidth available for the %s, which has requested %d%% of the bus bandwidth."
IDS_BANDWIDTH_EXPLANATION
"The following list shows the bandwidth being consumed by devices on each of the installed controllers. To obtain updated bandwidth information, click Refresh."
IDS_BANDWIDTH_INITIAL "The controller does not have enough bandwidth available for the %s. \nFor assistance in solving this problem, click this message."
IDS_BANDWIDTH_RECOMMENDATION
"Move this device to a controller that has more available bandwidth or, to free bandwidth, close the programs using the devices on the current controller. If the programs cannot be found, unplug one or more devices."
IDS_BANDWIDTH_PAGEHELP "The table below shows you how much bandwidth each USB controller is using. Each USB controller has a fixed amount of bandwidth, which all attached devices must share."
IDS_BW_EXPLANATION "The devices listed below are being used by programs and are consuming bandwidth. To obtain updated bandwidth information, click Refresh."
IDS_BW_RECOMMENDATION "To free bandwidth, close the programs using these devices. If the programs cannot be found, unplug one or more devices."
IDS_BANDWIDTH_CONSUMED "Bandwidth Used"
IDS_CONTROLLER_BW_EXCEEDED "USB Controller Bandwidth Exceeded"
IDS_CURRENT_BANDWIDTH "Bandwidth currently in use: %d%%"
IDS_BANDWIDTH_CONTROLLER_RSRVD
"System reserved"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_ENUMFAIL_RECOMMENDATION
"Try reconnecting the device. If Windows still does not recognize it, replace the device."
IDS_ENUMERATION_FAILURE "USB Device Not Recognized"
IDS_ENUMFAIL_NOTIFICATION
"One of the USB devices attached to this computer has malfunctioned, and Windows does not recognize it."
IDS_ENUMFAIL_COURSE "The location of the device is shown in bold type."
IDS_ENUMFAIL_INITIAL "One of the USB devices attached to this computer has malfunctioned, and Windows does not recognize it.\nFor assistance in solving this problem, click this message."
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#ifdef USBUIDLL_INC_VERINFO
#include "usbuidll.rcv"
#endif // USBUIDLL_INC_VERINFO
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED