windows-nt/Source/XPSP1/NT/base/pnp/test/cmtest.dlg
2020-09-26 16:20:57 +08:00

259 lines
12 KiB
Plaintext

DLGINCLUDE RCDATA DISCARDABLE
BEGIN
"CMTEST.H\0"
END
CONNECT_DIALOG DIALOG 4, 19, 210, 101
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Connect"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Connect to a local or remote machine", -1, 14, 12, 178, 50
AUTORADIOBUTTON "Local", ID_RAD_LOCAL, 24, 26, 39, 10
AUTORADIOBUTTON "Remote", ID_RAD_REMOTE, 24, 42, 39, 10
EDITTEXT ID_ED_MACHINE, 68, 42, 112, 12, ES_AUTOHSCROLL
PUSHBUTTON "OK", IDOK, 153, 74, 40, 14
END
DEVLIST_DIALOG DIALOG 15, 31, 382, 140
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Device Instance List"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Enumerators", -1, 12, 8, 75, 8
LISTBOX ID_LB_ENUMERATORS, 12, 19, 75, 89, WS_VSCROLL | WS_TABSTOP
LTEXT "Devices", -1, 91, 8, 125, 8
LISTBOX ID_LB_DEVICES, 91, 19, 125, 89, WS_VSCROLL | WS_TABSTOP
LTEXT "Instances", -1, 220, 8, 150, 8
LISTBOX ID_LB_INSTANCES, 220, 19, 150, 89, WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "OK", IDOK, 330, 118, 40, 14
END
DEVICE_DIALOG DIALOG 15, 31, 348, 243
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Device Instance IDs"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Enumerators", -1, 12, 8, 82, 8
/* LISTBOX ID_LB_ENUMERATORS, 12, 19, 124, 89, WS_VSCROLL | WS_TABSTOP */
LTEXT "Device Instance IDs", -1, 145, 8, 129, 8
LISTBOX ID_LB_DEVICEIDS, 145, 19, 189, 89, WS_VSCROLL | WS_TABSTOP
GROUPBOX "Get Related Device ID", -1, 145, 115, 188, 56
PUSHBUTTON "Get Parent", ID_BT_PARENT, 164, 130, 46, 14
PUSHBUTTON "Get Child", ID_BT_CHILD, 212, 130, 46, 14
PUSHBUTTON "Get Sibling", ID_BT_SIBLING, 260, 130, 46, 14
CTEXT "", ID_ST_RELATED, 149, 154, 180, 8
PUSHBUTTON "Registry Properties...", ID_BT_REGPROP, 64, 136, 72, 14
PUSHBUTTON "Software Key...", ID_BT_SOFTWAREKEY, 64, 152, 72, 14
PUSHBUTTON "Disable", ID_BT_DISABLE, 12, 120, 46, 14
PUSHBUTTON "Enable", ID_BT_ENABLE, 12, 136, 46, 14
PUSHBUTTON "Move To...", ID_BT_MOVETO, 64, 184, 72, 14
PUSHBUTTON "Setup", ID_BT_SETUP, 12, 152, 46, 14
PUSHBUTTON "Create Child...", ID_BT_CREATE, 64, 168, 72, 14
PUSHBUTTON "QRemove", ID_BT_QUERY_REMOVE, 12, 168, 46, 14
PUSHBUTTON "Remove", ID_BT_REMOVE, 12, 184, 46, 14
PUSHBUTTON "Reenumerate", ID_BT_REENUMERATE, 12, 200, 46, 14
PUSHBUTTON "Resources", ID_BT_RESOURCEPICKER, 64, 200, 72, 14
PUSHBUTTON "HW Profile Flags...", ID_BT_HWPROFFLAG, 64, 120, 72, 14
PUSHBUTTON "Get Status", ID_BT_GETSTATUS, 145, 184, 50, 10
PUSHBUTTON "Set Problem", ID_BT_SETPROBLEM, 145, 196, 50, 10
LTEXT "Status:", -1, 204, 184, 35, 8
LTEXT "", ID_ST_STATUS, 240, 184, 100, 8
LTEXT "Problem:", -1, 204, 194, 35, 8
EDITTEXT ID_ST_PROBLEM, 240, 197, 100, 8, ES_AUTOHSCROLL
/*LTEXT "", ID_ST_PROBLEM, 240, 197, 100, 8 */
PUSHBUTTON "OK", IDOK, 289, 218, 40, 14
END
CLASS_DIALOG DIALOG 6, 18, 192, 185
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Device Classes"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Classes", -1, 16, 14, 86, 8
LISTBOX ID_LB_CLASSES, 16, 24, 160, 108,
LBS_SORT | WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "Get Class &Name", ID_BT_CLASSNAME, 16, 137, 81, 14
LTEXT "", ID_ST_CLASSNAME, 118, 139, 70, 8
PUSHBUTTON "Get Class &Key...", ID_BT_CLASSKEY, 16, 154, 81, 14
PUSHBUTTON "OK", IDOK, 126, 164, 40, 14
END
CLASSKEY_DIALOG DIALOG 49, 57, 301, 202
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Class Key"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Access Mask", -1, 12, 28, 125, 145
AUTOCHECKBOX "KEY_ALL_ACCESS", ID_CHK_ALL_ACCESS, 20, 45, 83, 10
AUTOCHECKBOX "KEY_CREATE_LINK", ID_CHK_CREATE_LINK, 20, 57, 82, 10
AUTOCHECKBOX "KEY_CREATE_SUB_KEY", ID_CHK_CREATE_SUB_KEY, 20, 69, 93, 10
AUTOCHECKBOX "KEY_ENUMERATE_SUB_KEYS", ID_CHK_ENUMERATE_SUB_KEYS, 20, 81, 113, 10
AUTOCHECKBOX "KEY_EXECUTE", ID_CHK_EXECUTE, 20, 93, 87, 10
AUTOCHECKBOX "KEY_NOTIFY", ID_CHK_NOTIFY, 20, 105, 85, 10
AUTOCHECKBOX "KEY_QUERY_VALUE", ID_CHK_QUERY_VALUE, 20, 117, 95, 10
AUTOCHECKBOX "KEY_READ", ID_CHK_READ, 20, 129, 56, 10
AUTOCHECKBOX "KEY_SET_VALUE", ID_CHK_SET_VALUE, 20, 141, 79, 10
AUTOCHECKBOX "KEY_WRITE", ID_CHK_WRITE, 20, 153, 60, 10
AUTOCHECKBOX "Create key if it doesn't exist", ID_CHK_CREATE, 14, 182, 119, 10
CONTROL "", -1, "Static", SS_BLACKRECT, 12, 20, 124, 1
CTEXT "Open Class Key", -1, 8, 9, 128, 8
CONTROL "", -1, "Static", SS_BLACKRECT, 154, 20, 134, 1
CTEXT "Use the Class Key", -1, 155, 10, 132, 8
LTEXT "Value Name:", -1, 156, 37, 55, 8
EDITTEXT ID_ED_VALUENAME, 204, 35, 86, 12, ES_AUTOHSCROLL
LTEXT "Value Data:", -1, 156, 54, 55, 8
EDITTEXT ID_ED_VALUEDATA, 204, 52, 86, 12, ES_AUTOHSCROLL
PUSHBUTTON "Query Value", ID_BT_QUERYVALUE, 171, 80, 58, 14
PUSHBUTTON "Set Value", ID_BT_SETVALUE, 232, 80, 58, 14
LTEXT "Class GUID:", -1, 156, 140, 55, 8
LTEXT "", ID_ST_CLASSGUID, 156, 150, 150, 8
PUSHBUTTON "OK", IDOK, 250, 173, 40, 14
END
SOFTWAREKEY_DIALOG DIALOG 4, 18, 348, 162
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Device Software Key"
FONT 8, "MS Shell Dlg"
BEGIN
CTEXT "Opening the Key", -1, 15, 9, 155, 8
CONTROL "", -1, "Static", SS_BLACKRECT, 14, 20, 156, 2
LTEXT "SubKey (optional):", -1, 14, 32, 62, 8
EDITTEXT ID_ED_SUBKEY, 78, 30, 93, 12, ES_AUTOHSCROLL
GROUPBOX "Registry Branch", -1, 11, 48, 161, 79
AUTORADIOBUTTON "CM_REGISTRY_BRANCH_MACHINE", ID_RAD_MACHINE, 18, 64, 135, 10
AUTORADIOBUTTON "CM_REGISTRY_BRANCH_USER", ID_RAD_USER, 18, 78, 126, 10
AUTORADIOBUTTON "CM_REGISTRY_BRANCH_CONFIGSPECIFIC", ID_RAD_CONFIG, 18, 92, 150, 10
LTEXT "Hardware Profile:", -1, 28, 105, 66, 8
EDITTEXT ID_ED_PROFILE, 94, 104, 32, 12, ES_AUTOHSCROLL
AUTOCHECKBOX "Create the key if it doesn't already exist", ID_CHK_CREATE, 14,
136, 142, 10
CTEXT "Using the Key", -1, 198, 9, 135, 8
CONTROL "", -1, "Static", SS_BLACKRECT, 198, 20, 134, 2
LTEXT "Value Name:", 118, 198, 34, 50, 8
LTEXT "Value Data:", 119, 198, 51, 45, 8
EDITTEXT ID_ED_VALUENAME, 261, 32, 71, 12, ES_AUTOHSCROLL
EDITTEXT ID_ED_VALUEDATA, 261, 50, 71, 12, ES_AUTOHSCROLL
PUSHBUTTON "Query Value", ID_BT_QUERYVALUE, 198, 75, 48, 14
PUSHBUTTON "Set Value", ID_BT_SETVALUE, 248, 75, 48, 14
PUSHBUTTON "Clear", ID_BT_CLEAR, 302, 75, 31, 14
PUSHBUTTON "OK", IDOK, 292, 134, 40, 14
LTEXT "NOTE: Registry Access is assumed to be KEY_ALL_ACCESS",
-1, 198, 99, 136, 20
END
DEVNODEKEY_DIALOG DIALOG 9, 114, 270, 162
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "DevNode Key"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Device Instance ID :", -1, 8, 8, 73, 8
EDITTEXT ID_ED_DEVICEID, 83, 6, 175, 12, ES_AUTOHSCROLL
GROUPBOX "Pick Hardware or Software Key", -1, 8, 30, 252, 32, WS_GROUP
AUTORADIOBUTTON "CM_REGISTRY_HARDWARE", ID_RD_HW, 18, 43, 114, 10
AUTORADIOBUTTON "CM_REGISTRY_SOFTWARE", ID_RD_SW, 141, 44, 114, 10
GROUPBOX "Pick Config-Specific or User Key", -1, 8, 69, 253, 32, WS_GROUP
AUTORADIOBUTTON "CM_REGISTRY_USER", ID_RD_USER, 16, 82, 91, 10
AUTORADIOBUTTON "CM_REGISTRY_CONFIG", ID_RD_CONFIG, 109, 82, 97, 10
AUTORADIOBUTTON "Neither", ID_RD_NEITHER, 211, 82, 39, 10
LTEXT "Profile (only used if CM_REGISTRY_CONFIG selected) :",
-1, 11, 113, 185, 8
EDITTEXT ID_ED_PROFILE, 204, 110, 32, 12, ES_AUTOHSCROLL
PUSHBUTTON "Open DevNode Key", ID_BT_OPENDEVKEY, 35, 138, 90, 14
PUSHBUTTON "Delete DevNode Key", ID_BT_DELDEVKEY, 128, 138, 89, 14
PUSHBUTTON "OK", IDOK, 221, 138, 40, 14
END
CREATE_DIALOG DIALOG 6, 18, 209, 155
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "CM_Create_DevNode"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Parent Device ID:", -1, 7, 8, 66, 8
LTEXT "", ID_ST_PARENT, 75, 7, 125, 8
LTEXT "Device Instance ID to create:", -1, 8, 20, 136, 8
EDITTEXT ID_ED_DEVICEID, 8, 30, 192, 12, ES_AUTOHSCROLL
GROUPBOX "Group", -1, 8, 50, 193, 30, WS_GROUP
AUTORADIOBUTTON "Normal", ID_RD_NORMAL, 18, 62, 52, 10
AUTORADIOBUTTON "No Wait Install", ID_RD_NOWAIT, 77, 62, 76, 10
AUTOCHECKBOX "Generate ID", ID_CHK_GENERATEID, 10, 88, 54, 10
AUTOCHECKBOX "Phantom", ID_CHK_PHANTOM, 105, 88, 54, 10
LTEXT "Status:", -1, 9, 107, 29, 8
LTEXT "", ID_ST_STATUS, 42, 107, 161, 8
PUSHBUTTON "Create", ID_BT_CREATE, 118, 131, 40, 14
PUSHBUTTON "OK", IDOK, 162, 131, 40, 14
END
SERVICE_DIALOG DIALOG 6, 18, 170, 166
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Services List"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Service Name:", -1, 10, 12, 53, 8
EDITTEXT ID_ED_SERVICE, 64, 11, 95, 12, ES_AUTOHSCROLL
LISTBOX ID_LB_SERVICE, 10, 34, 149, 98, WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "OK", IDOK, 119, 142, 40, 14
PUSHBUTTON "Get Service List", ID_BT_SERVICE, 45, 142, 69, 14
END
REGRESSION_DIALOG DIALOG 6, 18, 284, 358
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Regression Tests"
FONT 8, "MS Shell Dlg"
BEGIN
LISTBOX ID_LB_REGRESSION, 8, 10, 267, 260, WS_VSCROLL | WS_TABSTOP
AUTOCHECKBOX "Range", ID_CHK_RANGE, 10, 278, 50, 10
AUTOCHECKBOX "Class", ID_CHK_CLASS, 10, 292, 50, 10
AUTOCHECKBOX "Traversal", ID_CHK_TRAVERSE, 10, 306, 50, 10
AUTOCHECKBOX "Hardware Profiles", ID_CHK_HWPROF, 70, 278, 74, 10
AUTOCHECKBOX "Device ID List", ID_CHK_DEVLIST, 70, 292, 74, 10
AUTOCHECKBOX "LogConf/ResDes", ID_CHK_LOGCONF, 70, 306, 74, 10
AUTOCHECKBOX "Create/Setup", ID_CHK_CREATE, 160, 278, 64, 10
AUTOCHECKBOX "Properties", ID_CHK_PROPERTIES, 160, 292, 64, 10
AUTOCHECKBOX "Device Class", ID_CHK_DEVCLASS, 160, 306, 74, 10
PUSHBUTTON "Start Test", ID_BT_START, 87, 335, 60, 14
PUSHBUTTON "Clear", ID_BT_CLEAR, 151, 335, 60, 14
PUSHBUTTON "OK", IDOK, 215, 335, 60, 14
END
RELATIONS_DIALOG DIALOG 20, 20, 377, 182
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Device Relations List"
FONT 8, "MS Shell Dlg"
BEGIN
LISTBOX ID_LB_TARGETS, 10, 25, 172, 106, LBS_SORT | WS_VSCROLL |
WS_TABSTOP
LISTBOX ID_LB_RELATIONS, 191, 24, 172, 109, LBS_SORT | WS_VSCROLL |
WS_TABSTOP
LTEXT "Device Instance", -1, 12, 12, 58, 8
LTEXT "Relations", -1, 193, 11, 63, 8
PUSHBUTTON "Bus Relations", ID_BT_BUS, 10, 134, 84, 14
PUSHBUTTON "Removal Relations", ID_BT_REMOVAL, 97, 135, 84, 14
PUSHBUTTON "Ejection Relations", ID_BT_EJECTION, 97, 152, 84, 14
PUSHBUTTON "Power Relations", ID_BT_POWER, 10, 152, 84, 14
PUSHBUTTON "OK", IDOK, 319, 156, 40, 14
END