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.
785 lines
30 KiB
785 lines
30 KiB
//Microsoft Developer Studio generated resource script.
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#include "winres.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
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// AVI
|
|
//
|
|
|
|
IDR_AVIWAIT AVI MOVEABLE PURE "..\\artwork\\clock.avi"
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
1 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"resource.h\0"
|
|
END
|
|
|
|
2 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"#include ""atlres.h""\r\n"
|
|
"\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"1 TYPELIB ""WMICntl.tlb""\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
IDI_WMICNTL ICON DISCARDABLE "..\\artwork\\WMICntl.ico"
|
|
IDI_WAITING ICON DISCARDABLE "..\\artwork\\waiting.ico"
|
|
IDI_FAILED ICON DISCARDABLE "..\\artwork\\failed.ico"
|
|
IDI_CLSD_FOLDER ICON DISCARDABLE "..\\artwork\\clsdFolder.ico"
|
|
IDI_EARTH ICON DISCARDABLE "..\\artwork\\earth.ico"
|
|
IDI_CLSD_CLASS ICON DISCARDABLE "..\\artwork\\bigclass.ico"
|
|
IDI_CLSD_INSTANCE ICON DISCARDABLE "..\\artwork\\biginstance.ico"
|
|
IDI_CLSD_SCOPEINSTANCE ICON DISCARDABLE "..\\artwork\\Instance Navigator.ico"
|
|
IDI_CLSD_SCOPECLASS ICON DISCARDABLE "..\\artwork\\ClsdObjGroup.ico"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Bitmap
|
|
//
|
|
|
|
IDB_WMISNAPIN_16 BITMAP DISCARDABLE "..\\artwork\\wmisnapi.bmp"
|
|
IDB_WMISNAPIN_32 BITMAP DISCARDABLE "..\\artwork\\bmp00001.bmp"
|
|
IDB_SID_ICONS BITMAP DISCARDABLE "..\\artwork\\icons.bmp"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// REGISTRY
|
|
//
|
|
|
|
IDR_WMISNAPIN REGISTRY DISCARDABLE "..\\WMISnapin.rgs"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_ANIMATE DIALOG DISCARDABLE 0, 0, 196, 66
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
|
|
CAPTION "Dialog"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
DEFPUSHBUTTON "&Cancel",IDCANCEL,73,45,50,14
|
|
CONTROL "Animate1",IDC_ANIMATE,"SysAnimate32",ACS_CENTER |
|
|
ACS_TRANSPARENT | ACS_AUTOPLAY | WS_TABSTOP,7,7,42,30
|
|
LTEXT "Static",IDC_MSG,59,7,130,30
|
|
END
|
|
|
|
IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 235, 98
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "About"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK",IDOK,178,77,50,14
|
|
CTEXT "WMICtl5 Application v1.0\n\n(c) Copyright 1999",
|
|
IDC_STATIC,25,57,78,32
|
|
ICON 128,IDC_STATIC,55,26,20,20
|
|
GROUPBOX "",IDC_STATIC,7,7,115,84
|
|
END
|
|
|
|
IDD_GENERAL DIALOG DISCARDABLE 0, 0, 252, 218
|
|
STYLE WS_CHILD | WS_CAPTION
|
|
CAPTION "General"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
ICON IDI_WMICNTL,IDC_STATUSICON,15,15,20,20
|
|
LTEXT "Connect to the WMI service on a managed computer and get general information about the computer.",
|
|
IDC_GEN_PARA,47,15,186,29
|
|
LTEXT "",IDC_STATUS,18,53,210,143,SS_SUNKEN
|
|
END
|
|
|
|
IDD_LOGGING DIALOG DISCARDABLE 0, 0, 252, 218
|
|
STYLE WS_CHILD | WS_CAPTION
|
|
CAPTION "Logging"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "Specify the logging level, size, and location of logging files.",
|
|
IDC_LOG_PARA,13,15,190,11
|
|
GROUPBOX "Logging level ",IDC_STATUS_FRAME,7,45,238,59,WS_GROUP
|
|
CONTROL "&Disabled",IDC_DISABLELOGGING,"Button",
|
|
BS_AUTORADIOBUTTON | WS_TABSTOP,19,57,43,10
|
|
CONTROL "&Errors only",IDC_ERRORLOGGING,"Button",
|
|
BS_AUTORADIOBUTTON | WS_TABSTOP,19,70,67,10
|
|
CONTROL "&Verbose (includes extra information for Microsoft troubleshooting)",
|
|
IDC_VERBOSELOGGING,"Button",BS_AUTORADIOBUTTON |
|
|
WS_TABSTOP,19,84,218,10
|
|
GROUPBOX "Log file attributes ",IDC_STATIC,7,123,238,82
|
|
LTEXT "&Maximum size (bytes):",IDC_MAXFILESIZE_LABEL,18,137,69,
|
|
8
|
|
EDITTEXT IDC_MAXFILESIZE,19,147,84,14,ES_AUTOHSCROLL | ES_NUMBER
|
|
LTEXT "&Location:",IDC_LOGGINGDIRECTORY_LABEL,17,171,30,8
|
|
EDITTEXT IDC_LOGGINGDIRECTORY,17,181,154,14,ES_AUTOHSCROLL
|
|
PUSHBUTTON "&Browse...",IDC_BROWSE,176,181,50,14
|
|
END
|
|
|
|
IDD_ADVANCED_NT DIALOG DISCARDABLE 0, 0, 252, 218
|
|
STYLE WS_CHILD | WS_CAPTION
|
|
CAPTION "Advanced"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "Specify advanced Windows Management settings.",
|
|
IDC_STATIC,17,15,212,21
|
|
LTEXT "Repository location:",IDC_DBDIRECTORY_LABEL,17,50,63,8
|
|
LTEXT "35 chars",IDC_DB_DIR,87,50,158,8
|
|
LTEXT "Default namespace for scripting :",IDC_STATIC,17,74,104,
|
|
8
|
|
EDITTEXT IDC_SCRIPT_NS,17,84,175,14,ES_AUTOHSCROLL | ES_READONLY |
|
|
NOT WS_BORDER | NOT WS_TABSTOP
|
|
PUSHBUTTON "&Change...",IDC_CHANGE_SCRIPT_NS,195,84,50,14
|
|
CONTROL "&Allow scripting access to WMI Services from ASP.",
|
|
IDC_ASP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,20,133,225,
|
|
8
|
|
LTEXT "Note that if this is selected, all ASP scripts will access Windows Management services using the account under which IIS is run (most commonly NT authority\\system).",
|
|
IDC_ASP_LABEL,32,146,198,55
|
|
END
|
|
|
|
IDD_SEC_ERROR DIALOG DISCARDABLE 0, 0, 241, 215
|
|
STYLE WS_CHILD | WS_VISIBLE | WS_CAPTION
|
|
CAPTION "Security"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
CTEXT "Unable to display security information.",
|
|
IDC_NO_SECURITY,30,30,180,136
|
|
END
|
|
|
|
IDD_CONNECT DIALOGEX 0, 0, 331, 126
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
EXSTYLE WS_EX_CONTEXTHELP
|
|
CAPTION "Change managed computer"
|
|
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
|
BEGIN
|
|
LTEXT "Select the computer you want to manage.",IDC_STATIC,7,
|
|
15,305,8
|
|
GROUPBOX "Connect to: ",IDC_CONN_FRAME,21,30,295,59
|
|
CONTROL "&Local computer: (the computer this application is running on)",
|
|
IDC_LOCAL,"Button",BS_AUTORADIOBUTTON,35,50,275,10
|
|
CONTROL "&Another computer:",IDC_REMOTE,"Button",
|
|
BS_AUTORADIOBUTTON,35,66,86,10
|
|
EDITTEXT IDC_NAME,131,64,148,14,ES_AUTOHSCROLL
|
|
DEFPUSHBUTTON "OK",IDOK,217,105,50,14,WS_DISABLED
|
|
PUSHBUTTON "Cancel",IDCANCEL,274,105,50,14
|
|
END
|
|
|
|
IDD_BACKUP DIALOG DISCARDABLE 0, 0, 252, 218
|
|
STYLE WS_CHILD | WS_CAPTION
|
|
CAPTION "Backup/Restore"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
GROUPBOX "Automatic ",IDC_AUTOMATIC_GROUPBOX,7,7,238,124
|
|
LTEXT "Automatic backup will periodically back up the WMI repository to a pre-defined file. Backup only occurs when there is a change to the repository.",
|
|
IDC_ADV_NOW_TEXT,23,20,195,26
|
|
CONTROL "&Automatically back up every:",IDC_BACKUP_ENABLED,
|
|
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,26,60,109,8
|
|
EDITTEXT IDC_BACKUPINTERVAL,137,58,27,12,ES_AUTOHSCROLL |
|
|
ES_NUMBER
|
|
COMBOBOX IDC_BACKUP_UNITS,172,58,63,44,CBS_DROPDOWNLIST |
|
|
WS_TABSTOP
|
|
LTEXT "Time of last backup:",IDC_LASTBACKUP_LABEL,25,78,65,8
|
|
LTEXT "<unavailable>",IDC_LASTBACKUP,100,78,117,8
|
|
PUSHBUTTON "&Restore From Last Backup File",IDC_RESTORE_FM_AUTO,63,
|
|
111,127,14
|
|
GROUPBOX "Manual ",IDC_MANUAL_GROUPBOX,7,135,238,76
|
|
LTEXT "Manual backup and restore allows you to perform an immediate backup or restoration of the WMI repository to/from a file you specify.",
|
|
IDC_ADV_NOW_TEXT2,27,148,195,26
|
|
PUSHBUTTON "&Back Up Now...",IDC_BACKUP_BTN,30,190,87,14
|
|
PUSHBUTTON "Restore &Now...",IDC_RESTORE_BTN,135,190,87,14
|
|
LTEXT "Repository location:",IDC_DBDIRECTORY_LABEL,17,94,63,8
|
|
LTEXT "Static",IDC_DB_DIR,87,94,152,8
|
|
END
|
|
|
|
IDD_NAMESPACE DIALOG DISCARDABLE 0, 0, 252, 218
|
|
STYLE WS_CHILD | WS_CAPTION
|
|
CAPTION "Security"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "Namespace navigation allows you to set namespace specific security.",
|
|
IDC_NS_PARA,6,15,224,10
|
|
CONTROL "Tree1",IDC_NSTREE,"SysTreeView32",TVS_HASBUTTONS |
|
|
TVS_HASLINES | TVS_LINESATROOT | TVS_DISABLEDRAGDROP |
|
|
TVS_NOTOOLTIPS | WS_BORDER | WS_TABSTOP,6,27,240,167
|
|
PUSHBUTTON "&Security",IDC_PROPERTIES,170,198,76,14
|
|
LTEXT "Enumerating ...",IDC_ENUM_STATIC,9,203,48,8,NOT WS_VISIBLE
|
|
PUSHBUTTON "&Cancel",IDC_CANCEL_ENUM,59,203,31,10,NOT WS_VISIBLE
|
|
END
|
|
|
|
IDD_ADVANCED_9X DIALOG DISCARDABLE 0, 0, 252, 218
|
|
STYLE WS_CHILD | WS_CAPTION
|
|
CAPTION "Advanced"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "Specify advanced settings in Windows Management on a Windows 9x computer.",
|
|
IDC_ADV_PARA,17,15,211,21
|
|
LTEXT "Default namespace for scripting :",IDC_SCRIPT_LABEL,17,
|
|
58,104,8
|
|
LTEXT "Static",IDC_SCRIPT_NS,17,72,172,8
|
|
PUSHBUTTON "&Change...",IDC_CHANGE_SCRIPT_NS,195,68,50,14
|
|
CONTROL "&Enable Anonymous Connection with share level security.",
|
|
IDC_9X_ANON_CONNECTION,"Button",BS_AUTOCHECKBOX |
|
|
WS_TABSTOP,24,98,193,10
|
|
CONTROL "Allow &scripting access to WMI services from ASP.",
|
|
IDC_ASP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,20,117,225,
|
|
8
|
|
GROUPBOX "WinMgmt process restart ",IDC_9X_ONLY,7,118,238,59,
|
|
WS_GROUP
|
|
CONTROL "&Don't restart",IDC_NORESTART,"Button",
|
|
BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,23,133,192,10
|
|
CONTROL "Auto restart if Event Subsystem &needs It",
|
|
IDC_ESSRESTART,"Button",BS_AUTORADIOBUTTON | BS_TOP |
|
|
BS_MULTILINE | WS_TABSTOP,23,147,211,10
|
|
CONTROL "Always auto &restart",IDC_ALWAYSAUTORESTART,"Button",
|
|
BS_AUTORADIOBUTTON | WS_TABSTOP,23,161,203,10
|
|
LTEXT "If enabled, all ASP scripts will access Windows Management services using the account under which IIS is run (most commonly NT authority\\system).",
|
|
IDC_ASP_LABEL,32,130,198,55
|
|
END
|
|
|
|
IDD_NS_PICKER DIALOGEX 0, 0, 212, 188
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
EXSTYLE WS_EX_CONTEXTHELP
|
|
CAPTION "Browser for Namespace"
|
|
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
|
BEGIN
|
|
LTEXT "Select a namespace to be used by WMI Scripting when a full namespace path isn't specified for a WMI object.",
|
|
-1,6,7,199,29
|
|
CONTROL "Tree1",IDC_NSTREE,"SysTreeView32",TVS_HASBUTTONS |
|
|
TVS_HASLINES | TVS_LINESATROOT | TVS_DISABLEDRAGDROP |
|
|
TVS_NOTOOLTIPS | WS_BORDER | WS_TABSTOP,6,36,199,117
|
|
PUSHBUTTON "Ok",IDOK,102,166,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,155,166,50,14
|
|
END
|
|
IDD_EDITBOX DIALOG DISCARDABLE 0, 0, 236, 90
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
|
|
CAPTION "Dialog"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "Static",IDC_MSG,7,7,222,33
|
|
EDITTEXT IDC_EDIT,7,45,222,14,ES_AUTOHSCROLL
|
|
DEFPUSHBUTTON "OK",IDOK,125,69,50,14,WS_DISABLED
|
|
PUSHBUTTON "Cancel",IDCANCEL,179,69,50,14
|
|
END
|
|
|
|
IDD_LOGIN DIALOGEX 0, 0, 252, 82
|
|
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
EXSTYLE WS_EX_CONTEXTHELP
|
|
CAPTION "WMI Logon"
|
|
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
|
BEGIN
|
|
CONTROL "&Log on as current user",IDC_CHECKCURRENTUSER,"Button",
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,7,7,87,10
|
|
LTEXT "&User name:",IDC_USER_LABEL,7,24,37,8,WS_DISABLED
|
|
EDITTEXT IDC_EDITUSERNAME,60,21,185,14,ES_AUTOHSCROLL |
|
|
WS_DISABLED
|
|
LTEXT "&Password:",IDC_PW_LABEL,7,43,34,8,WS_DISABLED
|
|
EDITTEXT IDC_EDITPASSWORD,60,40,185,14,ES_PASSWORD |
|
|
ES_AUTOHSCROLL | WS_DISABLED
|
|
DEFPUSHBUTTON "OK",IDOK,141,61,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,195,61,50,14
|
|
END
|
|
|
|
IDD_9XSEC DIALOGEX 0, 0, 252, 218
|
|
STYLE WS_CHILD | WS_CAPTION
|
|
CAPTION "Security"
|
|
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
|
BEGIN
|
|
CONTROL "",IDC_SPP_PRINCIPALS,"SysListView32",LVS_REPORT |
|
|
LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SORTASCENDING |
|
|
LVS_NOSORTHEADER | WS_TABSTOP,7,7,169,78,
|
|
WS_EX_CLIENTEDGE
|
|
PUSHBUTTON "A&dd...",IDC_SPP_ADD,183,7,50,14
|
|
PUSHBUTTON "&Remove",IDC_SPP_REMOVE,183,26,50,14
|
|
LTEXT "Permissions:",IDC_SPP_ACCESS,15,90,50,8
|
|
CTEXT "Allow",IDC_SPP_ALLOW,191,89,32,8
|
|
CONTROL "",IDC_SPP_PERMS,"CHECKLIST",0x49,7,102,225,86,
|
|
WS_EX_CLIENTEDGE | WS_EX_CONTROLPARENT
|
|
LTEXT "The security settings on this computer only apply to remote users. A local user always has full access to the target computer.",
|
|
IDC_MSG,7,194,225,19,NOT WS_VISIBLE
|
|
END
|
|
|
|
IDD_USER_PICKER DIALOG DISCARDABLE 0, 0, 186, 74
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Add User or Group"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "&Add Name:",IDC_STATIC,7,20,36,8
|
|
EDITTEXT IDC_EDIT1,7,30,172,14,ES_AUTOHSCROLL
|
|
DEFPUSHBUTTON "OK",IDOK,75,53,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,129,53,50,14
|
|
END
|
|
|
|
IDD_CONNECT_WIZ DIALOG DISCARDABLE 0, 0, 331, 126
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Change managed computer"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "Select the computer you want to manage.",IDC_STATIC,7,
|
|
15,305,8
|
|
GROUPBOX "Connect to: ",IDC_STATIC,21,30,295,59
|
|
CONTROL "&Local computer: (the computer this application is running on)",
|
|
IDC_LOCAL,"Button",BS_AUTORADIOBUTTON,35,50,275,10
|
|
CONTROL "&Another computer:",IDC_REMOTE,"Button",
|
|
BS_AUTORADIOBUTTON,35,66,86,10
|
|
EDITTEXT IDC_NAME,131,64,148,14,ES_AUTOHSCROLL
|
|
END
|
|
|
|
IDD_WMICTR DIALOGEX 0, 0, 147, 156
|
|
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
EXSTYLE WS_EX_CONTEXTHELP
|
|
CAPTION "WMI Performance Counters"
|
|
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK",IDOK,39,135,50,14
|
|
LTEXT "Connections",IDS_CONNECTIONS,7,8,40,8
|
|
LTEXT "Delivery Backup (Bytes)",IDS_DELBACKUP,7,24,76,8
|
|
LTEXT "Internal Objects",IDS_INTERNALOBJS,7,40,50,8
|
|
LTEXT "Internal Sinks",IDS_INTERNALSINKS,7,56,44,8
|
|
LTEXT "Tasks in Progress",IDS_TASKSINPROG,7,72,57,8
|
|
LTEXT "Tasks Waiting",IDS_TASKSWAITING,7,88,46,8
|
|
LTEXT "Total API Calls",IDS_TOTALAPICALLS,7,104,47,8
|
|
LTEXT "Users",IDS_USERS,7,120,19,8
|
|
RTEXT "<Connecting>",IDC_CONNECTIONS,90,8,44,8
|
|
RTEXT "<Connecting>",IDC_DELBACKUP,90,24,44,8
|
|
RTEXT "<Connecting>",IDC_INTERNALOBJS,90,40,44,8
|
|
RTEXT "<Connecting>",IDC_INTERNALSINKS,90,56,44,8
|
|
RTEXT "<Connecting>",IDC_TASKSINPROG,90,72,44,8
|
|
RTEXT "<Connecting>",IDC_TASKSWAITING,90,88,44,8
|
|
RTEXT "<Connecting>",IDC_TOTALAPICALLS,90,104,44,8
|
|
RTEXT "<Connecting>",IDC_USERS,90,120,44,8
|
|
END
|
|
|
|
IDD_WMICTR_SYSMON DIALOG DISCARDABLE 0, 0, 444, 297
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "WMI Performance Counter"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
CONTROL "",IDC_SYSMON_OCX,"{C4D2D8E0-D1DD-11CE-940F-008029004347}",
|
|
WS_TABSTOP,0,0,444,297
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO DISCARDABLE
|
|
BEGIN
|
|
IDD_ABOUTBOX, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 228
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 91
|
|
END
|
|
|
|
IDD_GENERAL, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 6
|
|
RIGHTMARGIN, 245
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 211
|
|
END
|
|
|
|
IDD_LOGGING, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 245
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 211
|
|
END
|
|
|
|
IDD_ADVANCED_NT, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 245
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 211
|
|
END
|
|
|
|
IDD_CONNECT, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 324
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 139
|
|
END
|
|
|
|
IDD_BACKUP, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 245
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 211
|
|
END
|
|
|
|
IDD_NAMESPACE, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 6
|
|
RIGHTMARGIN, 245
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 211
|
|
END
|
|
|
|
IDD_ADVANCED_9X, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 245
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 211
|
|
END
|
|
|
|
IDD_NS_PICKER, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 6
|
|
RIGHTMARGIN, 205
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 180
|
|
END
|
|
|
|
IDD_EDITBOX, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 229
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 83
|
|
END
|
|
|
|
IDD_LOGIN, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 245
|
|
VERTGUIDE, 60
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 75
|
|
END
|
|
|
|
IDD_9XSEC, DIALOG
|
|
BEGIN
|
|
RIGHTMARGIN, 241
|
|
BOTTOMMARGIN, 215
|
|
END
|
|
|
|
IDD_USER_PICKER, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 179
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 67
|
|
END
|
|
|
|
IDD_CONNECT_WIZ, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 324
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 139
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Menu
|
|
//
|
|
|
|
IDR_MENU_MENU MENU DISCARDABLE
|
|
BEGIN
|
|
POPUP "TOP"
|
|
BEGIN
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Connect to another computer ...", ID_TOP_RECONNECT
|
|
// MENUITEM "&WMI Performance Counters ...", ID_PERF_COUNTERS
|
|
END
|
|
POPUP "NEW"
|
|
BEGIN
|
|
MENUITEM SEPARATOR
|
|
END
|
|
POPUP "TASK"
|
|
BEGIN
|
|
MENUITEM SEPARATOR
|
|
END
|
|
POPUP "VIEW"
|
|
BEGIN
|
|
MENUITEM SEPARATOR
|
|
END
|
|
END
|
|
|
|
IDR_SEC_MENU MENU DISCARDABLE
|
|
BEGIN
|
|
POPUP "TOP"
|
|
BEGIN
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&WMI Performance Counters ...", ID_PERF_COUNTERS
|
|
END
|
|
POPUP "NEW"
|
|
BEGIN
|
|
MENUITEM SEPARATOR
|
|
END
|
|
POPUP "TASK"
|
|
BEGIN
|
|
MENUITEM SEPARATOR
|
|
END
|
|
POPUP "VIEW"
|
|
BEGIN
|
|
MENUITEM SEPARATOR
|
|
END
|
|
END
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog Info
|
|
//
|
|
|
|
IDD_WMICTR_SYSMON DLGINIT
|
|
BEGIN
|
|
IDC_SYSMON_OCX, 0x376, 320, 0
|
|
0x0000, 0x0000, 0x0003, 0x0003, 0x2673, 0x0000, 0x200a, 0x0000, 0x0064,
|
|
0x0000, 0x0064, 0x0000, 0x0000, 0x0000, 0x0001, 0x0000, 0x0001, 0x0000,
|
|
0x0000, 0x0000, 0x0000, 0x0000, 0x0001, 0x0000, 0x0000, 0x0000, 0x0000,
|
|
0x3f80, 0x0001, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x000f, 0x8000,
|
|
0xffff, 0xffff, 0xffff, 0xffff, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
|
|
0x0000, 0x0000, 0x0000, 0xffff, 0xffff, 0xffff, 0x7fff, 0xffff, 0xffff,
|
|
0x0000, 0x0000, 0x8080, 0x0080, 0x00ff, 0x0000, 0x0000, 0x0000, 0x0000,
|
|
0x0000, 0x0000, 0x0000, 0x0001, 0x0000, 0x0001, 0x0000, 0x0001, 0x0000,
|
|
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
|
|
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
|
|
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
|
|
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
|
|
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
|
|
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
|
|
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x002c, 0x0000, 0x002f,
|
|
0x0000, 0x0039, 0x0000, 0x003d, 0x0000, 0x0033, 0x0000, 0x0033, 0x0000,
|
|
0x0041, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0039, 0x0000, 0x003d,
|
|
0x0000, 0x0033, 0x0000, 0x0033, 0x0000, 0x0000, 0x0000,
|
|
0
|
|
END
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE PRELOAD DISCARDABLE
|
|
BEGIN
|
|
IDR_MAINFRAME "WMI Control"
|
|
IDS_UNAVAILABLE "<unavailable>"
|
|
IDS_NOT_REMOTEABLE "<not available remotely>"
|
|
IDS_LOCAL_CONN "<local computer>"
|
|
IDS_ERROR "<error>"
|
|
IDS_SHORT_NAME "WMI Control"
|
|
IDS_BAD_INTERVAL "The backup interval must be between 5 minutes and 24 hours."
|
|
IDS_WBEM_GENERIC_ALL "Full Control"
|
|
IDS_WBEM_GENERIC_EXECUTE "Execute Methods"
|
|
IDS_WBEM_GENERIC_READ "Enable"
|
|
IDS_WBEM_GENERIC_WRITE "Write"
|
|
IDS_WBEM_FULL_WRITE "Full Write"
|
|
IDS_WBEM_PARTIAL_WRITE "Partial Write"
|
|
IDS_WBEM_PROVIDER_WRITE "Provider Write"
|
|
IDS_WBEM_SYSTEM_WRITE "System Write"
|
|
IDS_DISPLAY_NAME "WMI Control"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_CANT_LOAD_SEC_DLLS "Cant find the MSSCE dlls."
|
|
IDS_NO_ACLUI "The target computer supports Microsoft® Windows® 2000, Microsoft® Windows® XP and Microsoft® Windows® Server 2003 style security but this client computer cannot display the required security editor. Install MSSCE on the client computer."
|
|
IDS_NO_CREATE_SEC "The security editor was found but could not be invoked. Reinstall the MSSCE."
|
|
IDS_DEBUG "(Debug)"
|
|
IDS_OS_LABEL "Operating System : "
|
|
IDS_OS_VER_LABEL "OS Version : "
|
|
IDS_CPU_LABEL "Processor : "
|
|
IDS_WMI_VER_LABEL "WMI Version : "
|
|
IDS_CONNECTED_TO_LABEL "Successfully Connected to: "
|
|
IDS_CONN_FAILED_FMT "Failed to connect to %s\r\nbecause ""%s"""
|
|
IDS_WBEM_INSTANCE_WRITE "Write Instances"
|
|
IDS_WBEM_CLASS_WRITE "Write Classes"
|
|
IDS_WBEM_ENABLE "Enable Account"
|
|
IDS_WBEM_READONLY "Read-only"
|
|
IDS_WBEM_EDIT_SECURITY "Edit Security"
|
|
IDS_WBEM_READ_SECURITY "Read Security"
|
|
IDS_OS_SERVICE_PACK_LABEL "Service Pack : "
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_ERROR_UNKN_ERROR_FMT "Error code: 0x%08X"
|
|
IDS_ERROR_FMT "%s: %s"
|
|
IDS_WMI_INSTALL_DIR "WMI location : "
|
|
IDS_NS_PROP_TITLE "Security for "
|
|
IDS_MINUTES "Minutes"
|
|
IDS_HOURS "Hours"
|
|
IDS_BACKUP_THREAT "You are about to disable the auto-backup feature of the repository. \nDoing so will risk loss of data potentially critical to a number of applications with unpredectable consequences.\n\nIt is HIGHLY recommended that you keep auto-backup enabled.\n\nAre you SURE you want to disable auto-backup?"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_CONNECTING "Connecting to Windows Management..."
|
|
IDS_PROJNAME "Windows Management Instrumentation (WMI)"
|
|
IDS_WMISNAPIN_DESC "Allows configuration and control of the Windows Management Instrumentation (WMI) service."
|
|
IDS_WMISNAPIN_PROVIDER "Microsoft Corporation"
|
|
IDS_WMISNAPIN_VERSION "1.0"
|
|
IDS_SNAPIN_TYPE "Extension Snap-in"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_BACKUP_TITLE "Backup in progress"
|
|
IDS_BACKUP_FMT "The repository is being backed up to %s. Please wait."
|
|
IDS_RESTORE_TITLE "Restore in progress"
|
|
IDS_RESTORE_FMT "The repository is being restored from %s. Please wait."
|
|
IDS_OPEN_BACKUP "Specify a name for your backup file"
|
|
IDS_OPEN_RESTORE "Specify a backup file to restore"
|
|
IDS_DIR_DOESNT_EXIST "The folder you specified does not currently exist and may not exist when WMI uses this setting. Do you want to save this setting anyway?"
|
|
IDS_NO_BACKUP_FILE "The selected backup file does not exist."
|
|
IDS_BACKUP_OVERWRITE "The selected backup file already exists. Are you sure you want to overwrite that file?"
|
|
IDS_CANT_BROWSE_REMOTELY
|
|
"Standard file browsing is not available on remote computers. Manually enter a valid path/filename."
|
|
IDS_OPTIONS_SMALL "&Options >>"
|
|
IDS_OPTIONS_BIG "&Options <<"
|
|
IDS_IMP_DELEGATE "Delegate"
|
|
IDS_IMP_IDENTIFY "Identify"
|
|
IDS_IMP_IMPERSONATE "Impersonate"
|
|
IDS_AUTH_CALL "Call"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_AUTH_CONNECT "Connect"
|
|
IDS_AUTH_NONE "None"
|
|
IDS_AUTH_PACKET "Packet"
|
|
IDS_AUTH_INTEGRITY "Integrity"
|
|
IDS_AUTH_PRIVACY "Privacy"
|
|
IDS_USERPICKER_TITLE "Add User"
|
|
IDS_USERPICKER_MSG "Add a new name to the namespace security."
|
|
IDS_NAME "Name"
|
|
IDS_REMOVE_USER_FMT "Removing an account from this version of Windows Management will take affect immediately and is not cancellable. Are you SURE you want to remove %s\\%s now?"
|
|
IDS_CURRENT_USER "<currently logged on user>"
|
|
IDS_GEN_PARA_SNAPIN "This dialog allows you to get general information about the computer."
|
|
IDS_USER_LABEL "Connected as:"
|
|
IDS_ADV_PARA_NT "Specify advanced Windows Management settings."
|
|
IDS_ADV_PARA_9X "Specify advanced Windows Management settings."
|
|
IDS_MULTI_INSTANCES "Multiple instances of this application are not allowed. Please use the instance already running."
|
|
IDS_WAIT "Wait while connecting."
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_DESCRIPTION "Configures and controls the Windows Management Instrumentation (WMI) service."
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_DIR_EMPTY "You must enter a valid folder."
|
|
IDS_SURE "Are you sure?"
|
|
IDS_AUTORESTORE "Restore From Last Auto-backup"
|
|
IDS_PARTIAL_DS_FAILURE "Failed to initialize all required WMI classes."
|
|
IDS_SEC_ERR_FMT "Security information: %s"
|
|
IDS_OS_ERR_FMT "Win32_OperatingSystem: %s"
|
|
IDS_CPU_ERR_FMT "Win32_Processor: %s"
|
|
IDS_SETTING_ERR_FMT "Win32_WMISetting: %s"
|
|
IDS_NO_ERR "Successful"
|
|
IDS_NO_HHCTRL "Cannot launch the help; The HTML Help version is outdated. Please upgrade HTML Help or upgrade to IE 5.0 and try help again. For more information on download locations, please refer to the WMI readme.txt file"
|
|
IDS_NO_HELP "Cannot launch the wbemcntl help. Wbemcntl.chm may be missing. Reinstall WMI and try again."
|
|
IDS_LOG_SELECT_FDR "Select a folder for WMI logs"
|
|
IDS_LOCAL_COMPUTER " (Local)"
|
|
IDS_NO_UNC "UNC paths (\\\\server\\share) are not allowed. Please enter a full path in the form ltr:\\path\\."
|
|
IDS_NO_DRIVE_LTR "Please enter a full path including the drive letter."
|
|
IDS_DIRS_ONLY "Please enter a full path with trailing '\\"" and without a filename."
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_WBEM_REMOTE_ENABLE "Remote Enable"
|
|
IDS_WBEM_NAMESPACE "This namespace only"
|
|
IDS_WBEM_NAMESPACE_SUBNAMESPACE "This namespace and subnamespaces"
|
|
IDS_WBEM_SUBNAMESPACE_ONLY "Subnamespaces only"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_LOGS_WRONG_DRIVETYPE
|
|
"Log files are allowed on local fixed drives only. Please pick another type of drive."
|
|
IDS_BAD_LOGSIZE "The Maximum Log File Size is too large. Please enter a value smaller than 4 GB."
|
|
IDS_REC_FILTER "WMI Recovery Files (*.rec)"
|
|
IDS_USE_RADIO "Use the 'Local computer' radio button to specify the local computer."
|
|
IDS_POST_RESTORE "The restore operation is still in progress. Once the restore has completed, you can reconnect to the computer from the General tab. Errors while attempting to reconnect may indicate that the target computer is not ready for new connections yet."
|
|
IDS_STATUS_NOTSTARTED "Target computer busy."
|
|
IDS_STATUS_CANCELLED "Cancelled by user."
|
|
IDS_NO_98TONT_SEC "A Windows 9x computer cannot manage security on a Microsoft® Windows® NT, Microsoft® Windows® 2000, Microsoft® Windows® XP or Microsoft® Windows® Server 2003 target computer."
|
|
IDS_ALL_FILTER "All Files (*.*)"
|
|
IDS_NEED_EXISTING_DIR "You must specify an existing folder for the WMI Recovery File."
|
|
IDS_NS_PARA "Namespace navigation allows you to set namespace specific security."
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDC_ERROR_CONNECT "Could not Connect to WMI"
|
|
IDC_ERROR_ENUM "Could not Get the Counter Information"
|
|
IDC_RETRY_TEXT "Could Not Connect to WMI Using Logged on User. WMIControl will try to display the counters as Text"
|
|
IDC_ERROR_CAPTION "WMIControl - Error"
|
|
END
|
|
|
|
#endif // English (U.S.) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
1 TYPELIB "WMICntl.tlb"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|
|
//version information
|
|
#include <windows.h>
|
|
#include <ntverp.h>
|
|
|
|
#define VER_FILETYPE VFT_DLL
|
|
#define VER_FILESUBTYPE VFT2_UNKNOWN
|
|
#define VER_FILEDESCRIPTION_STR "WMI Control"
|
|
#define VER_INTERNALNAME_STR "wbemcntl.dll"
|
|
#define VER_ORIGINALFILENAME_STR "wbemcntl.dll"
|
|
|
|
#include "common.ver"
|