windows-nt/Source/XPSP1/NT/admin/wmi/wbem/winmgmt/wbemtest/wbemtest.rc

847 lines
34 KiB
Plaintext
Raw Normal View History

2020-09-26 03:20:57 -05:00
//Microsoft Developer Studio generated resource script.
//
#include "resrc1.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#define APSTUDIO_HIDDEN_SYMBOLS
#include "windows.h"
#undef APSTUDIO_HIDDEN_SYMBOLS
#include "resource.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
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_MAIN DIALOG DISCARDABLE 300, 300, 300, 217
STYLE DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION "Windows Management Instrumentation Tester"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "Connect...",IDC_CONNECT,244,4,49,14
PUSHBUTTON "Exit",IDOK,244,20,49,14,WS_GROUP
PUSHBUTTON "&Help",IDC_WBEMHELP,244,36,49,14,WS_GROUP
PUSHBUTTON "&Enum Classes...",IDC_GET_CLASSES,7,62,67,14
PUSHBUTTON "&Create Class...",IDC_CREATE_CLASS,7,78,67,14
PUSHBUTTON "&Open Class...",IDC_EDIT_CLASS,7,94,67,14
PUSHBUTTON "&Delete Class...",IDC_DELETE_CLASS,7,110,67,14
PUSHBUTTON "Enum &Instances...",IDC_GET_INSTANCES,77,62,67,14
PUSHBUTTON "C&reate Instance...",IDC_CREATE_INSTANCE,77,78,67,14
PUSHBUTTON "O&pen Instance...",IDC_EDIT_INSTANCE,77,94,67,14
PUSHBUTTON "De&lete Instance...",IDC_DELETE_INSTANCE,77,110,67,14
PUSHBUTTON "Open &Namespace...",IDC_OPEN_NS,147,62,67,14
PUSHBUTTON "&Query...",IDC_QUERY,147,78,67,14
PUSHBUTTON "Notification Q&uery...",IDC_NOTIFICATION_QUERY,147,94,
67,14
PUSHBUTTON "E&xecute Method...",IDC_EXEC_METHOD,147,110,67,14
PUSHBUTTON "Edi&t Context...",IDC_CONTEXT,217,62,67,14
PUSHBUTTON "Cre&ate Refresher...",IDC_REFRESH,217,78,67,14
GROUPBOX "IWbemServices",IDC_STATIC,4,52,290,77
LTEXT "Namespace:",IDC_STATIC,8,7,44,10
LTEXT "Static",IDC_NAMESPACE,8,20,229,11
GROUPBOX "&Method Invocation Options",IDC_CALL_METHOD,3,136,291,
76,WS_GROUP
CONTROL "Asynchronous",IDC_ASYNC,"Button",BS_AUTORADIOBUTTON |
WS_GROUP | WS_TABSTOP,15,145,136,10
CONTROL "Synchronous",IDC_SYNC,"Button",BS_AUTORADIOBUTTON,15,
158,136,10
CONTROL "Semisynchronous",IDC_SEMISYNC,"Button",
BS_AUTORADIOBUTTON,15,171,136,10
CONTROL "Use NextAsync (enum. only)",IDC_USE_NEXTASYNC,"Button",
BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,26,184,125,10
EDITTEXT IDC_BATCH,15,197,35,12,ES_AUTOHSCROLL | ES_NUMBER
CONTROL "Enable All Privileges",IDC_ENABLE_PRIVILEGES,"Button",
BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,156,145,123,10
CONTROL "Use Amended Qualifiers",IDC_USE_AMENDED,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,156,158,123,10
CONTROL "Direct Access on Read Operations",IDC_DIRECT_READ,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,156,171,123,10
EDITTEXT IDC_TIMEOUT,151,196,35,12,ES_AUTOHSCROLL | WS_GROUP
LTEXT "Timeout (msec., -1 for infinite)",IDC_STATIC_TIMEOUT,
189,199,92,8,NOT WS_GROUP
LTEXT "Batch Count (enum. only)",IDC_STATIC_BATCH,54,199,90,8
END
IDD_OBJECT_EDITOR DIALOG DISCARDABLE 0, 0, 318, 258
STYLE DS_MODALFRAME | DS_SETFOREGROUND | WS_POPUP | WS_CAPTION
CAPTION "Object Editor"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Qualifiers",IDC_STATIC,10,2,30,8
LISTBOX IDC_ATTRIB_LIST,11,11,238,42,LBS_SORT | LBS_USETABSTOPS |
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL |
WS_TABSTOP
PUSHBUTTON "Add Qualifier",IDC_ADD_ATTRIB,11,58,59,11
PUSHBUTTON "Edit Qualifier",IDC_EDIT_ATTRIB,80,58,59,11
PUSHBUTTON "Delete Qualifier",IDC_DELETE_ATTRIB,155,58,59,11
LTEXT "Properties",IDC_STATIC,10,73,32,8
CONTROL "Hide System Properties",IDC_HIDE_SYSTEM,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,95,72,89,10
CONTROL "Local Only",IDC_HIDE_DERIVED,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,197,72,56,10
LISTBOX IDC_PROP_LIST,11,82,239,65,LBS_SORT | LBS_USETABSTOPS |
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL |
WS_TABSTOP
PUSHBUTTON "Add Property",IDC_ADD_PROP,11,149,59,11
PUSHBUTTON "Edit Property",IDC_EDIT_PROP,80,149,59,11
PUSHBUTTON "Delete Property",IDC_DELETE_PROP,155,149,59,11
LTEXT "Methods",IDC_STATIC,10,165,28,8
LISTBOX IDC_METHOD_LIST,12,175,238,55,LBS_SORT | LBS_USETABSTOPS |
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL |
WS_TABSTOP
PUSHBUTTON "Add Method",IDC_ADD_METHOD,11,239,59,11
PUSHBUTTON "Edit Method",IDC_EDIT_METHOD,80,239,59,11
PUSHBUTTON "Delete Method",IDC_DELETE_METHOD,151,239,59,11
GROUPBOX "Update type",IDC_STATIC,258,135,60,95
CONTROL "Create only",IDC_UPDATE_CREATE,"Button",
BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,262,147,51,10
CONTROL "Update only",IDC_UPDATE_UPDATE,"Button",
BS_AUTORADIOBUTTON,262,159,52,10
CONTROL "Either",IDC_UPDATE_NORMAL,"Button",BS_AUTORADIOBUTTON,
262,171,34,10
CONTROL "",IDC_STATIC,"Static",SS_BLACKFRAME | SS_SUNKEN,262,183,
54,1
CONTROL "Compatible",IDC_UPDATE_COMPATIBLE,"Button",
BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,262,194,51,10
CONTROL "Safe",IDC_UPDATE_SAFE,"Button",BS_AUTORADIOBUTTON,262,
205,31,10
CONTROL "Force",IDC_UPDATE_FORCE,"Button",BS_AUTORADIOBUTTON,262,
216,34,10
DEFPUSHBUTTON "&Close",IDCANCEL,260,0,56,16
PUSHBUTTON "&Save Object",IDOK,260,18,56,16
PUSHBUTTON "Show MOF",IDC_SHOW_MOF,260,36,56,16
PUSHBUTTON "Superclass",IDC_SUPERCLASS,260,54,56,16
PUSHBUTTON "Derived",IDC_DERIVED,260,72,56,16
PUSHBUTTON "Instances",IDC_INSTANCES,260,90,56,16
PUSHBUTTON "Refresh Object",IDC_REFRESH_OBJECT,260,108,56,14
END
IDD_PROPERTY_EDITOR DIALOG DISCARDABLE 0, 0, 317, 215
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
CAPTION "Property Editor"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Property Name",IDC_STATIC,9,10,48,8
EDITTEXT IDC_PROPNAME,7,20,133,12,ES_AUTOHSCROLL
LTEXT "Type",IDC_STATIC,8,39,17,8
COMBOBOX IDC_TYPE_LIST,7,50,133,75,CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
LTEXT "Value",IDC_STATIC,9,70,27,8
EDITTEXT IDC_VALUE,7,82,233,46,ES_MULTILINE | ES_AUTOVSCROLL |
ES_AUTOHSCROLL | ES_WANTRETURN | WS_HSCROLL
LTEXT "Qualifiers",IDC_STATIC,6,136,30,8
CONTROL "Key",IDC_KEY,"Button",BS_AUTORADIOBUTTON | WS_GROUP,24,
145,55,10
CONTROL "Indexed",IDC_INDEXED,"Button",BS_AUTORADIOBUTTON,79,145,
55,10
CONTROL "Not NULL",IDC_NOT_NULL,"Button",BS_AUTORADIOBUTTON,134,
145,55,10
CONTROL "Normal",IDC_NORMAL,"Button",BS_AUTORADIOBUTTON,189,145,
55,10
LISTBOX IDC_ATTRIB_LIST,7,157,228,46,LBS_SORT | LBS_USETABSTOPS |
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL |
WS_TABSTOP
PUSHBUTTON "Add Qualifier",IDC_ADD_ATTRIB,244,158,61,13
PUSHBUTTON "Delete Qualifier",IDC_DELETE_ATTRIB,244,174,61,13
PUSHBUTTON "Edit Qualifier",IDC_EDIT_ATTRIB,244,190,61,13
DEFPUSHBUTTON "Save Property",IDOK,250,7,56,14
PUSHBUTTON "Cancel",IDCANCEL,250,24,56,14
LTEXT "Class of origin ",IDC_STATIC,149,10,48,8
EDITTEXT IDC_ORIGIN,149,20,95,12,ES_AUTOHSCROLL | WS_DISABLED
CONTROL "NULL",IDC_VALUE_NULL,"Button",BS_AUTORADIOBUTTON,55,70,
35,10
CONTROL "Not NULL",IDC_VALUE_NOT_NULL,"Button",
BS_AUTORADIOBUTTON,97,70,48,10
PUSHBUTTON "View Embedded",IDC_EMBEDDING,247,82,60,14,NOT
WS_VISIBLE
CONTROL "Array",IDC_ARRAY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
147,53,32,10
END
IDD_QUALIFIER_EDITOR DIALOG DISCARDABLE 0, 0, 318, 135
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
CAPTION "Qualifier Editor"
FONT 8, "MS Shell Dlg"
BEGIN
EDITTEXT IDC_ATTRIB_NAME,7,18,126,13,ES_AUTOHSCROLL
COMBOBOX IDC_ATTRIB_TYPE,7,47,126,75,CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
EDITTEXT IDC_ATTRIB_VALUE,7,84,303,41,ES_MULTILINE |
ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_WANTRETURN
DEFPUSHBUTTON "Save Qualifier",IDOK,258,8,56,14
PUSHBUTTON "Cancel",IDCANCEL,258,24,56,14
LTEXT "Name",IDC_STATIC,8,8,28,8
LTEXT "Type",IDC_STATIC,7,36,17,8
LTEXT "Value",IDC_STATIC,9,73,19,8
CONTROL "Propagates to instances",IDC_PROP_INST,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,145,12,100,10
CONTROL "Propagates to derived classes",IDC_PROP_CLASS,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,145,25,108,10
CONTROL "Allows overrides",IDC_OVERRIDE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,145,38,93,10
CONTROL "Propagated",IDC_PROPAGATED,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,145,51,53,10
CONTROL "",IDC_STATIC,"Static",SS_BLACKFRAME,140,7,114,74
CONTROL "Array",IDC_ARRAY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
104,63,32,10
CONTROL "Amended",IDC_AMENDED,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,145,65,46,10
END
IDD_SUPERCLASS DIALOG DISCARDABLE 0, 0, 209, 81
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Optional Superclass"
FONT 8, "MS Shell Dlg"
BEGIN
EDITTEXT IDC_SUPERCLASS,7,23,125,13,ES_AUTOHSCROLL
DEFPUSHBUTTON "Continue",IDOK,155,7,50,14
PUSHBUTTON "Cancel",IDCANCEL,155,23,50,14
LTEXT "Superclass:",-1,7,11,47,8
LTEXT "Click 'Continue' without specifying a Superclass if the new class is a root class.",
-1,9,46,151,26
END
IDD_CLASS_NAME DIALOG DISCARDABLE 0, 0, 259, 70
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
CAPTION "Get Class Name"
FONT 8, "MS Shell Dlg"
BEGIN
EDITTEXT IDC_CLASS_NAME,7,24,149,14,ES_AUTOHSCROLL
DEFPUSHBUTTON "OK",IDOK,202,7,50,14
PUSHBUTTON "Cancel",IDCANCEL,202,24,50,14
LTEXT "Enter Target Class Name:",-1,9,10,106,9
END
IDD_OBJECT_PATH DIALOG DISCARDABLE 0, 0, 241, 60
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Get Object Path"
FONT 8, "Arial"
BEGIN
EDITTEXT IDC_OBJECT_PATH,5,22,166,13,ES_AUTOHSCROLL
DEFPUSHBUTTON "OK",IDOK,182,5,50,14
PUSHBUTTON "Cancel",IDCANCEL,182,22,50,14
LTEXT "Object Path",IDC_STATIC,6,12,140,8
END
IDD_QUERY_RESULT DIALOGEX 0, 0, 317, 172
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION
CAPTION "Query Result"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
LISTBOX IDC_OBJECT_LIST,7,38,301,110,LBS_USETABSTOPS |
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL |
WS_TABSTOP
DEFPUSHBUTTON "Close",IDOK,258,3,50,15
RTEXT "99999 objects",IDC_NUM_OBJECTS,7,22,62,12,
SS_CENTERIMAGE | NOT WS_GROUP,WS_EX_STATICEDGE
PUSHBUTTON "&Delete",IDC_DELETE,61,154,50,14
PUSHBUTTON "&Add",IDC_ADD,7,154,50,14
LTEXT "Status",IDC_STATUS,135,22,173,12,SS_CENTERIMAGE | NOT
WS_GROUP,WS_EX_STATICEDGE
EDITTEXT IDC_REQUEST,8,4,245,12,ES_CENTER | ES_AUTOHSCROLL |
ES_READONLY | NOT WS_BORDER
PUSHBUTTON "&Refresh",IDC_REFRESH,258,154,50,14,NOT WS_VISIBLE
PUSHBUTTON "&Copy",IDC_COPY_SEL,203,154,50,14,NOT WS_VISIBLE
CTEXT "max. batch: 0",IDC_NUM_BATCH,71,22,62,12,SS_CENTERIMAGE |
NOT WS_GROUP,WS_EX_STATICEDGE
END
IDD_QUERY DIALOG DISCARDABLE 0, 0, 315, 95
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Query"
FONT 8, "MS Shell Dlg"
BEGIN
EDITTEXT IDC_QUERY_STRING,0,19,304,34,ES_MULTILINE |
ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_WANTRETURN |
WS_VSCROLL
DEFPUSHBUTTON "Apply",IDOK,254,57,50,14
PUSHBUTTON "Cancel",IDCANCEL,254,75,50,14
LTEXT "Enter Query",IDC_STATIC,10,8,53,10
LTEXT "Query Type",IDC_STATIC,9,61,55,9
COMBOBOX IDC_QUERY_TYPE,9,73,104,59,CBS_DROPDOWN | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
CONTROL "Retrieve class prototype",IDC_PROTOTYPE,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,118,76,92,10
END
IDD_PARENTINFO DIALOG DISCARDABLE 0, 0, 238, 87
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Superclass Info"
FONT 8, "MS Shell Dlg"
BEGIN
EDITTEXT IDC_SUPERCLASS,15,30,138,14,ES_AUTOHSCROLL
CONTROL "Immediate only",IDC_IMMEDIATE_SUBCLASSES,"Button",
BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,16,57,138,11
CONTROL "Recursive",IDC_RECURSIVE_SUBCLASSES,"Button",
BS_AUTORADIOBUTTON | WS_TABSTOP,16,70,113,13
DEFPUSHBUTTON "OK",IDOK,177,7,50,14
PUSHBUTTON "Cancel",IDCANCEL,177,24,50,14
LTEXT "Enter superclass name",IDC_STATIC,15,16,78,10
END
IDD_CREATEINSTANCE DIALOG DISCARDABLE 0, 0, 238, 87
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Create Instance"
FONT 8, "MS Shell Dlg"
BEGIN
EDITTEXT IDC_SUPERCLASS,15,30,138,14,ES_AUTOHSCROLL
CONTROL "Use IWbemClassObject::SpawnInstance",IDC_USE_CLASSOBJ,
"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,16,
57,174,11
CONTROL "Use IWbemService::GetObject",IDC_USE_SERVICES,"Button",
BS_AUTORADIOBUTTON | WS_TABSTOP,16,70,187,13
DEFPUSHBUTTON "OK",IDOK,177,7,50,14
PUSHBUTTON "Cancel",IDCANCEL,177,24,50,14
LTEXT "Enter class name:",IDC_STATIC,15,16,78,10
END
IDD_EVENT_MONITOR DIALOG DISCARDABLE 0, 0, 275, 162
STYLE DS_MODALFRAME | DS_SETFOREGROUND | WS_POPUP | WS_CAPTION
CAPTION "Event Monitor"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "Close",IDOK,219,3,50,14
PUSHBUTTON "Remove All",IDC_CLEAR,7,143,50,14
LISTBOX IDC_EVENTS,6,21,263,119,LBS_NOINTEGRALHEIGHT |
LBS_WANTKEYBOARDINPUT | LBS_DISABLENOSCROLL | WS_VSCROLL |
WS_HSCROLL | WS_TABSTOP
LTEXT "Current Events Total:",IDC_STATIC,9,5,68,13
PUSHBUTTON "Register",IDC_REGISTER,77,143,50,14
PUSHBUTTON "View Registrations",IDC_VIEW_REG,133,143,65,14
PUSHBUTTON "Provide Event",IDC_PROVIDE,217,143,52,14
EDITTEXT IDC_EVT_COUNT,81,5,44,12,ES_AUTOHSCROLL | ES_READONLY |
ES_NUMBER | NOT WS_BORDER
END
IDD_ERROR DIALOG DISCARDABLE 0, 0, 236, 58
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Error"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "Dismiss",IDOK,31,40,65,14
PUSHBUTTON "More Information...",IDC_SHOWOBJECT,139,40,65,14
ICON 32513,IDC_STATIC,209,7,21,20
ICON 32513,IDC_STATIC,5,7,21,20
EDITTEXT IDC_MESSAGE,29,3,169,33,ES_MULTILINE | ES_READONLY | NOT
WS_BORDER
END
IDD_WBEM_CONNECT DIALOGEX 0, 0, 260, 255
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
CAPTION "Connect"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
GROUPBOX "Object/Namespace &Path:",IDC_PATHLABEL,4,7,183,29
EDITTEXT IDC_NAMESPACE,12,17,168,13,ES_AUTOHSCROLL
GROUPBOX "Connection:",IDC_STATIC,4,42,249,48
LTEXT "Using:",IDC_STATIC,23,55,21,8
COMBOBOX IDC_CONNECTUSING,48,53,198,47,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
LTEXT "Returning:",IDC_STATIC,11,72,34,8
COMBOBOX IDC_INTERFACERETURNED,48,71,87,47,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
GROUPBOX "Credentials",IDC_STATIC,4,94,249,65
RTEXT "&User:",IDC_STATIC,28,106,18,8,0,WS_EX_RIGHT
EDITTEXT IDC_USER,51,104,195,13,ES_AUTOHSCROLL
RTEXT "&Password:",IDC_STATIC,12,125,34,8,0,WS_EX_RIGHT
EDITTEXT IDC_PASSWORD,51,122,195,13,ES_PASSWORD | ES_AUTOHSCROLL
RTEXT "&Authority:",IDC_AUTHORITYLABEL,16,144,30,8
EDITTEXT IDC_AUTHORITY,51,142,195,13,ES_AUTOHSCROLL
GROUPBOX "&Locale",IDC_STATIC,4,161,110,29
EDITTEXT IDC_LOCALE,12,172,94,13,ES_AUTOHSCROLL
GROUPBOX "&How to interpret empty password",IDC_STATIC,124,161,
129,29,WS_GROUP
CONTROL "NULL",IDC_NULL,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,
130,173,48,15
CONTROL "Blank",IDC_BLANK,"Button",BS_AUTORADIOBUTTON,184,174,51,
11
GROUPBOX "&Impersonation level",IDC_STATIC,4,195,110,53,WS_GROUP
CONTROL "Identify",IDC_IMP_IDENTIFY,"Button",BS_AUTORADIOBUTTON |
WS_TABSTOP,12,206,39,10
CONTROL "Impersonate",IDC_IMP_IMPERSONATE,"Button",
BS_AUTORADIOBUTTON,12,220,55,10
CONTROL "Delegate",IDC_IMP_DELEGATE,"Button",BS_AUTORADIOBUTTON,
12,234,45,10
GROUPBOX "Authentication le&vel",IDC_STATIC,124,195,129,53,
WS_GROUP
CONTROL "None",IDC_AUTH_NONE,"Button",BS_AUTORADIOBUTTON |
WS_TABSTOP,130,206,33,10
CONTROL "Connection",IDC_AUTH_CONNECTION,"Button",
BS_AUTORADIOBUTTON,130,220,52,10
CONTROL "Call",IDC_AUTH_CALL,"Button",BS_AUTORADIOBUTTON,130,235,
27,10
CONTROL "Packet",IDC_AUTH_PACKET,"Button",BS_AUTORADIOBUTTON,184,
206,39,10
CONTROL "Packet integrity",IDC_AUTH_PACKET_INTEGRITY,"Button",
BS_AUTORADIOBUTTON,184,220,65,10
CONTROL "Packet privacy",IDC_AUTH_PACKET_PRIVACY,"Button",
BS_AUTORADIOBUTTON,184,235,63,10
DEFPUSHBUTTON "Connect",IDOK,203,7,50,14
PUSHBUTTON "Cancel",IDCANCEL,203,24,50,14
LTEXT "Completion:",IDC_COMPLETIONLABEL,141,73,38,8
COMBOBOX IDC_COMPLETION,182,71,64,47,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
END
IDD_METHOD DIALOG DISCARDABLE 0, 0, 285, 82
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
CAPTION "Execute Method"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "Dismiss",IDCANCEL,218,7,57,14
RTEXT "Object Path:",IDC_STATIC,81,10,41,9
RTEXT "Method :",IDC_STATIC,12,27,33,9
PUSHBUTTON "Edit In Parameters...",IDC_EDITIN,18,61,73,14
PUSHBUTTON "Execute!",IDC_EXECUTE,218,30,57,14
PUSHBUTTON "Clear In Parameters",IDC_CLEAR,110,61,73,14
PUSHBUTTON "Edit Object Path",IDC_EDITPATH,18,7,57,14
LTEXT "xxx",IDC_OBJPATH,126,10,84,11,SS_SUNKEN
COMBOBOX IDC_METHLIST,18,39,149,42,CBS_DROPDOWN | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "Edit Out Parameters...",IDC_EDITOUT,202,61,73,14
END
IDD_MOF DIALOG DISCARDABLE 0, 0, 317, 162
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "MOF "
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "Close",IDOK,145,133,50,14
EDITTEXT IDC_MOF,16,11,289,109,ES_MULTILINE | ES_AUTOVSCROLL |
ES_AUTOHSCROLL | ES_READONLY | ES_WANTRETURN |
WS_VSCROLL | WS_HSCROLL
END
IDD_CONTEXT_EDITOR DIALOG DISCARDABLE 0, 0, 318, 114
STYLE DS_MODALFRAME | DS_SETFOREGROUND | WS_POPUP | WS_CAPTION
CAPTION "Context"
FONT 8, "MS Shell Dlg"
BEGIN
LISTBOX IDC_VALUE_LIST,7,18,246,74,LBS_SORT | LBS_USETABSTOPS |
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL |
WS_TABSTOP
PUSHBUTTON "Add Property",IDC_ADD_PROP,7,96,58,14
PUSHBUTTON "Edit Property",IDC_EDIT_PROP,75,96,58,14
PUSHBUTTON "Delete Property",IDC_DELETE_PROP,143,96,58,14
PUSHBUTTON "OK",IDOK,260,18,56,18
DEFPUSHBUTTON "Cancel",IDCANCEL,260,41,56,18
CONTROL "&Use non-NULL context",IDC_USE_CONTEXT,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,7,6,151,10
END
IDD_CONTEXT_PROPERTY DIALOG DISCARDABLE 0, 0, 318, 138
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Context Property"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Property Name",IDC_STATIC,8,11,48,8
EDITTEXT IDC_PROPNAME,7,20,133,12,ES_AUTOHSCROLL
LTEXT "Type",IDC_STATIC,8,39,17,8
COMBOBOX IDC_TYPE_LIST,7,50,133,75,CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
LTEXT "Value",IDC_STATIC,9,70,27,8
EDITTEXT IDC_VALUE,7,82,304,46,ES_MULTILINE | ES_AUTOVSCROLL |
ES_AUTOHSCROLL | ES_WANTRETURN | WS_HSCROLL
DEFPUSHBUTTON "Save Property",IDOK,255,7,56,14
PUSHBUTTON "Cancel",IDCANCEL,255,25,56,14
PUSHBUTTON "View Embedded",IDC_EMBEDDING,255,44,56,14,NOT
WS_VISIBLE
CONTROL "Array",IDC_ARRAY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
150,54,32,10
END
IDD_METHOD_EDITOR DIALOG DISCARDABLE 0, 0, 317, 151
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Method Editor"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Method Name",IDC_STATIC,8,11,46,8
EDITTEXT IDC_PROPNAME,7,20,133,12,ES_AUTOHSCROLL
LTEXT "Qualifiers",IDC_STATIC,10,79,30,8
CONTROL "Not NULL",IDC_NOT_NULL,"Button",BS_AUTORADIOBUTTON,55,
79,48,10
CONTROL "Normal",IDC_NORMAL,"Button",BS_AUTORADIOBUTTON,105,79,
38,10
LISTBOX IDC_ATTRIB_LIST,7,91,238,46,LBS_SORT | LBS_USETABSTOPS |
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL |
WS_TABSTOP
PUSHBUTTON "Add Qualifier",IDC_ADD_ATTRIB,249,91,61,13
PUSHBUTTON "Delete Qualifier",IDC_DELETE_ATTRIB,249,108,61,13
PUSHBUTTON "Edit Qualifier",IDC_EDIT_ATTRIB,249,125,61,13
DEFPUSHBUTTON "Save Method",IDOK,249,7,61,13
PUSHBUTTON "Cancel",IDCANCEL,249,24,61,13
LTEXT "Class of origin ",IDC_STATIC,145,11,48,8
EDITTEXT IDC_ORIGIN,145,20,98,12,ES_AUTOHSCROLL | WS_DISABLED
PUSHBUTTON "Edit Input Arguments",IDC_INPUT_ARGS,7,38,78,14
PUSHBUTTON "Edit Output Arguments",IDC_OUTPUT_ARGS,7,57,78,14
CONTROL "Enable Input Args",IDC_CHECKINPUT,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,98,40,70,12
CONTROL "Enable Output Args",IDC_CHECKOUTPUT,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,98,58,76,14
END
IDD_STATUS_MONITOR DIALOG DISCARDABLE 0, 0, 186, 95
STYLE DS_MODALFRAME | DS_SETFOREGROUND | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Status Monitor"
FONT 8, "MS Shell Dlg"
BEGIN
LISTBOX IDC_REPORTS,7,7,172,81,LBS_SORT | LBS_NOINTEGRALHEIGHT |
LBS_WANTKEYBOARDINPUT | LBS_DISABLENOSCROLL | WS_VSCROLL |
WS_HSCROLL | WS_TABSTOP
END
IDD_REFRESHER_OBJECT_PATH DIALOG DISCARDABLE 0, 0, 241, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Get Object For Refresher"
FONT 8, "MS Shell Dlg"
BEGIN
EDITTEXT IDC_REFR_OBJECT_PATH,5,24,166,14,ES_AUTOHSCROLL
DEFPUSHBUTTON "Add &Object",IDOK,182,6,50,15
PUSHBUTTON "Cancel",IDCANCEL,182,40,50,15
LTEXT "Object Path",IDC_STATIC,6,13,140,9
PUSHBUTTON "Add &Enum",IDC_ADDENUM,182,23,50,15
END
IDD_QUERY_RESULT_SORTED DIALOGEX 0, 0, 317, 174
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION
CAPTION "Query Result"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
LISTBOX IDC_OBJECT_LIST,7,38,302,110,LBS_SORT | LBS_USETABSTOPS |
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL |
WS_TABSTOP
PUSHBUTTON "&Delete",IDC_DELETE,61,154,50,14
PUSHBUTTON "&Add",IDC_ADD,7,154,50,14
PUSHBUTTON "&Refresh",IDC_REFRESH,259,154,50,14,NOT WS_VISIBLE
PUSHBUTTON "&Copy",IDC_COPY_SEL,205,154,50,14,NOT WS_VISIBLE
DEFPUSHBUTTON "Close",IDOK,258,3,50,15
RTEXT "99999 objects",IDC_NUM_OBJECTS,7,22,62,12,
SS_CENTERIMAGE | NOT WS_GROUP,WS_EX_STATICEDGE
LTEXT "Status",IDC_STATUS,135,22,173,12,SS_CENTERIMAGE | NOT
WS_GROUP,WS_EX_STATICEDGE
EDITTEXT IDC_REQUEST,8,4,245,12,ES_CENTER | ES_AUTOHSCROLL |
ES_READONLY | NOT WS_BORDER
CTEXT "max. batch: 0",IDC_NUM_BATCH,71,22,62,12,SS_CENTERIMAGE |
NOT WS_GROUP,WS_EX_STATICEDGE
END
IDD_RENAMEDIALOG DIALOG DISCARDABLE 0, 0, 262, 57
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Rename Object"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK",IDOK,205,8,50,14
PUSHBUTTON "Cancel",IDCANCEL,205,29,50,14
RTEXT "Old Object Path:",IDC_STATIC,7,11,65,10
RTEXT "New Object Path:",IDC_STATIC,7,32,65,10
EDITTEXT IDC_EDITOLD,75,9,123,12,ES_AUTOHSCROLL
EDITTEXT IDC_EDITNEW,75,30,123,12,ES_AUTOHSCROLL
END
#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 ""resource.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDM_MAIN_MENU MENU DISCARDABLE
BEGIN
MENUITEM "E&xit", IDC_MENU_EXIT
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
IDD_MAIN, DIALOG
BEGIN
RIGHTMARGIN, 299
TOPMARGIN, 4
END
IDD_OBJECT_EDITOR, DIALOG
BEGIN
BOTTOMMARGIN, 250
END
IDD_PROPERTY_EDITOR, DIALOG
BEGIN
BOTTOMMARGIN, 214
END
IDD_QUERY_RESULT, DIALOG
BEGIN
RIGHTMARGIN, 315
END
IDD_QUERY, DIALOG
BEGIN
RIGHTMARGIN, 304
BOTTOMMARGIN, 93
END
IDD_EVENT_MONITOR, DIALOG
BEGIN
RIGHTMARGIN, 235
END
IDD_ERROR, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 229
TOPMARGIN, 3
BOTTOMMARGIN, 53
END
IDD_WBEM_CONNECT, DIALOG
BEGIN
LEFTMARGIN, 4
RIGHTMARGIN, 253
TOPMARGIN, 7
BOTTOMMARGIN, 248
END
IDD_METHOD, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 278
TOPMARGIN, 7
BOTTOMMARGIN, 75
END
IDD_MOF, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 310
TOPMARGIN, 7
BOTTOMMARGIN, 155
END
IDD_CONTEXT_PROPERTY, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 311
TOPMARGIN, 7
BOTTOMMARGIN, 131
END
IDD_METHOD_EDITOR, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 310
TOPMARGIN, 7
BOTTOMMARGIN, 144
END
IDD_STATUS_MONITOR, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 179
TOPMARGIN, 7
BOTTOMMARGIN, 88
END
IDD_REFRESHER_OBJECT_PATH, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 234
TOPMARGIN, 7
BOTTOMMARGIN, 55
END
IDD_QUERY_RESULT_SORTED, DIALOG
BEGIN
BOTTOMMARGIN, 173
END
IDD_RENAMEDIALOG, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 255
TOPMARGIN, 7
BOTTOMMARGIN, 50
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_NOT_REGISTERED "WBEMTEST is not registered to receive any events. Event consumer is not created"
IDS_EMPTY " "
IDS_ERROR "Error!"
IDS_MUST_SPECIFY_PATH "You must specify an object path!"
IDS_MUST_SPECIFY_NAME "You must specify a name!"
IDS_STRANGE_RESULT_CODE "Strange result code from Next"
IDS_INVALID_QUALIFIER_NAME "Invalid Qualifier name"
IDS_INVALID_QUALIFIER_TYPE "Invalid Qualifier type selected"
IDS_INVALID_VALUE "Invalid value specified"
IDS_CANNOT_CHANGE_SYSTEM_QUALS "Cannot change system qualifiers!"
IDS_MAY_NOT_SPECIFY_INDEXED "Indexed qualifier may not be specified"
IDS_MAY_NOT_SPECIFY_KEY "Key qualifier may not be specified"
IDS_MAY_NOT_SPECIFY_NOT_NULL "NOT_NULL qualifier may not be specified"
IDS_CRITICAL_ERROR "Critical Error!"
IDS_SAVE_EMBEDDING "Do you wish to save the embedded object?"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_WARNING "Warning"
IDS_NO_PROPERTY_NAME "Property name not specified"
IDS_INVALID_PROPERTY_TYPE "Invalid property type selected"
IDS_INVALID_PROPERTY_VALUE "Invalid property value"
IDS_QUALIFIER_NOT_FOUND "Qualifier not found"
IDS_CANNOT_ADD_PROPERTIES "Cannot add properties!"
IDS_CANNOT_EDIT_PROPERTY "Cannot edit this property, probably read only!"
IDS_MOF_FAILED "Object Text generation failed."
IDS_NO_SUPERCLASS "No superclass!"
IDS_INCOMPLETE_CLASS "Incomplete class!"
IDS_UNREFERENCABLE_OBJECT "Unreferencable object!"
IDS_WRONG_OBJECT "Wrong Object in SetStatus!"
IDS_OLE_INIT_FAILED "OLE Initialization failed."
IDS_FAILED_IWBEMLOCATOR "Failed to create IWbemLocator object"
IDS_ABNORMAL_TERMINATION "Terminating abnormally"
IDS_INVALID_NAMESPACE "Invalid Namespace"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_NO_METHOD_NAME "Method name not specified"
IDS_CANNOT_EDIT_METHOD "Cannot edit this method, probably read only!"
IDS_CANT_GET_CLASS "Path does not contain a valid class"
IDS_CLASS_HAS_NO_METHODS "Class does not contain any methods"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_MUST_CLOSE_WINDOWS "You must close all windows in this namespace first!"
IDS_NO_PATH "No path specified"
IDS_NO_INITIAL_CONNECTION "No initial connection to server exists"
IDS_MUST_SPECIFY_QUERY "Must specify a non-empty query!"
IDS_MUST_SPECIFY_QUERY_LANGUAGE "Must specify a query language!"
IDS_DELETING_CLASS "This class may have instances and/or derived classes. Are you sure you want to delete it?"
IDS_CLASS "Class"
IDS_REFERENCES "References"
IDS_ASSOCIATORS "Associators"
IDS_NEW_TOP_LEVEL_CLASS "New top-level class"
IDS_NEW_CHILD_OF "New child of %S"
IDS_NEW_INSTANCE_FOR "New instance for %S"
IDS_OBJECT_EDITOR_FOR "Object editor for %S"
IDS_TOP_LEVEL_CLASSES "Top-level classes"
IDS_CHILD_CLASSES_OF "Child classes of %S"
IDS_RECURSIVE_PARENS " (recursive)"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_CLASS_INFO "Class Info"
IDS_INSTANCES_OF "Instances of %S"
IDS_INSTANCE_OF "Instance of %S"
IDS_NO_CONNECTION "You must have an active connection to a WINMGMT!"
IDS_REFERENCES_OF "references of {%S}"
IDS_ASSOCIATORS_OF "associators of {%S}"
IDS_ASSOC_COM_EVENT "associators of {__ComEventConsumer=""%S""} where ResultClass = __EventFilter"
IDS_EMBEDDED_ARRAY "Embedded array for ""%S"""
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_STRING_METHOD_OK "Method executed successfully!"
IDS_WBEMTEST "WBEM Test"
IDS_DONE "Done"
IDS_PARTIALRESULTS "Done - partial results"
IDS_IN_PROGRESS "Operation in progress..."
ERROR_FORMAT_EX "Error code: 0x%08X"
ERROR_FORMAT_LONG "Number: 0x%x\r\nFacility: %S\r\nDescription: %S"
IDS_UNSECAPP_ERROR "Error getting pointer from UNSECAPP"
IDS_FAIL_ENABLE_ALL_PRIV "Failed to enable privileges."
IDS_NUM_OBJECTS_FORMAT "%u objects"
IDS_NUM_BATCH_FORMAT "max. batch: %u"
IDS_ASYNC_NOT_SUPPORTED "This operation does not support Asynchronous invocation."
IDS_FAILED_IWBEMBINDER "Could not get a IWbemConnector object"
IDS_MULTIPLE_SEMISYNC_NOTIFICATION_QUERY_DLG_MSG
"Does not allow to do multiple semisynchronous notification query!"
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED
#include <windows.h>
#include <ntverp.h>
#define VER_FILETYPE VFT_APP
#define VER_FILESUBTYPE VFT2_UNKNOWN
#define VER_FILEDESCRIPTION_STR "WMI"
#define VER_INTERNALNAME_STR "wbemtest.exe"
#define VER_ORIGINALFILENAME_STR "wbemtest.exe"
#include "common.ver"