Leaked source code of windows server 2003
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.

150 lines
4.4 KiB

  1. /*++
  2. Copyright (C) 1999 Microsoft Corporation
  3. Module Name:
  4. WINMGMT.RC
  5. Abstract:
  6. winmgmt resources
  7. History:
  8. --*/
  9. //Microsoft Developer Studio generated resource script.
  10. //
  11. //#include "resource.h"
  12. #define APSTUDIO_READONLY_SYMBOLS
  13. /////////////////////////////////////////////////////////////////////////////
  14. //
  15. // Generated from the TEXTINCLUDE 2 resource.
  16. //
  17. #define APSTUDIO_HIDDEN_SYMBOLS
  18. #include "windows.h"
  19. #undef APSTUDIO_HIDDEN_SYMBOLS
  20. #include "strings.h"
  21. /////////////////////////////////////////////////////////////////////////////
  22. #undef APSTUDIO_READONLY_SYMBOLS
  23. /////////////////////////////////////////////////////////////////////////////
  24. // English (U.S.) resources
  25. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  26. #ifdef _WIN32
  27. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  28. #pragma code_page(1252)
  29. #endif //_WIN32
  30. /////////////////////////////////////////////////////////////////////////////
  31. //
  32. // Icon
  33. //
  34. // Icon with lowest ID value placed first to ensure application icon
  35. // remains consistent on all systems.
  36. WINMGMT ICON DISCARDABLE "WINMGMT.ICO"
  37. /////////////////////////////////////////////////////////////////////////////
  38. //
  39. // Dialog
  40. //
  41. EEDIALOG DIALOG DISCARDABLE 0, 0, 318, 229
  42. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  43. CAPTION "The Microsoft WBEM Team"
  44. FONT 8, "MS Shell Dlg"
  45. BEGIN
  46. DEFPUSHBUTTON "&Close",IDOK,263,7,50,14
  47. ICON "WINMGMT",-1,7,7,21,20
  48. EDITTEXT 101,7,30,304,187,ES_MULTILINE | ES_AUTOHSCROLL |
  49. WS_VSCROLL
  50. END
  51. #ifdef APSTUDIO_INVOKED
  52. /////////////////////////////////////////////////////////////////////////////
  53. //
  54. // TEXTINCLUDE
  55. //
  56. 1 TEXTINCLUDE DISCARDABLE
  57. BEGIN
  58. "resource.h\0"
  59. END
  60. 2 TEXTINCLUDE DISCARDABLE
  61. BEGIN
  62. "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
  63. "#include ""windows.h""\r\n"
  64. "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
  65. "#include ""strings.h""\r\n"
  66. "\0"
  67. END
  68. 3 TEXTINCLUDE DISCARDABLE
  69. BEGIN
  70. "\r\n"
  71. "\0"
  72. END
  73. #endif // APSTUDIO_INVOKED
  74. /////////////////////////////////////////////////////////////////////////////
  75. //
  76. // String Table
  77. //
  78. STRINGTABLE DISCARDABLE
  79. BEGIN
  80. ID1 "WINMGMT - WBEM Server"
  81. ID2 "\n\nUsage: WINMGMT [/kill] [/Regserver] [/Unregserver] [/backup <filename>] \n\t[/restore <filename><flag>] [/resyncperf] [/clearadap]"
  82. ID3 "\n\nThe [/kill] switch causes it to stop any running copies, even if the running copy is a NT service."
  83. ID4 "\n\nThe [/Regserver] switch invokes self registration."
  84. ID5 "\n\nThe [/Unregserver] switch removes the registry entries."
  85. ID6 "\n\nThe [/backup <filename>] switch backs up the repository to the file specified."
  86. ID7 "\n\nThe [/restore <filename> <flag>] switch restores the repository from the file specified.\n\tflag = 1 disconnect users and restore\n\tflag = 0 restore if no users connected."
  87. ID8 "\n\nThe [/resyncperf] switch registers the system's performance\n\tlibraries with WMI."
  88. ID9 "\n\nThe [/clearadap] clears prior WMI /resyncperf information from the registry."
  89. ID10 "\n\nThe [/cncnt] moves WinMgMt to a segregated process to allow connection at CONNECT."
  90. ID11 "\n\nThe [/pkt] moves WinMgMT into the shared svchost process at PKT."
  91. END
  92. STRINGTABLE DISCARDABLE
  93. BEGIN
  94. ID_ERROR_SHORT "Error code: 0x%08X"
  95. ID_ERROR_LONG "Number: 0x%X\r\nFacility: %s\r\nDescription: %s"
  96. ID_BACKUP_TITLE "Repository backup failed to complete"
  97. ID_RESTORE_TITLE "Repository restore failed to complete"
  98. END
  99. #endif // English (U.S.) resources
  100. /////////////////////////////////////////////////////////////////////////////
  101. #ifndef APSTUDIO_INVOKED
  102. /////////////////////////////////////////////////////////////////////////////
  103. //
  104. // Generated from the TEXTINCLUDE 3 resource.
  105. //
  106. /////////////////////////////////////////////////////////////////////////////
  107. #endif // not APSTUDIO_INVOKED
  108. #include <windows.h>
  109. #include <ntverp.h>
  110. #define VER_FILETYPE VFT_APP
  111. #define VER_FILESUBTYPE VFT2_UNKNOWN
  112. #define VER_FILEDESCRIPTION_STR "Windows Management Instrumentation (WMI)"
  113. #define VER_INTERNALNAME_STR "winmgmt"
  114. #define VER_ORIGINALFILENAME_STR "winmgmt.exe"
  115. #include "common.ver"