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.

420 lines
25 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1999 - 1999
  6. //
  7. // File: strings.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #ifndef STRINGS_H_INCLUDED
  11. #define STRINGS_H_INCLUDED
  12. #if _MSC_VER > 1000
  13. #pragma once
  14. #endif // _MSC_VER > 1000
  15. #ifdef INIT_MMC_BASE_STRINGS
  16. #define MMC_BASE_STRING_EX(var,t_lit) EXTERN_C LPCTSTR const var = t_lit;
  17. #else
  18. #define MMC_BASE_STRING_EX(var,t_lit) EXTERN_C LPCTSTR const var;
  19. #endif
  20. #define MMC_BASE_STRING(var,lit) MMC_BASE_STRING_EX(var, _T(lit));
  21. MMC_BASE_STRING ( g_szMmcndmgrDll, "mmcndmgr.dll" );
  22. MMC_BASE_STRING ( g_szCicDll, "cic.dll" );
  23. MMC_BASE_STRING ( g_szCLSID , "CLSID" );
  24. MMC_BASE_STRING ( g_szContextMenu , "ContextMenu" );
  25. MMC_BASE_STRING ( g_szImage , "Image" );
  26. MMC_BASE_STRING ( g_szImageOpen , "ImageOpen" );
  27. MMC_BASE_STRING ( g_szImageClosed , "ImageClosed" );
  28. MMC_BASE_STRING ( g_szName , "Name" );
  29. MMC_BASE_STRING ( g_szNameString , "NameString" );
  30. MMC_BASE_STRING ( g_szNameStringIndirect , "NameStringIndirect" );
  31. MMC_BASE_STRING ( g_szObject , "Object" );
  32. MMC_BASE_STRING ( g_szObjects , "Objects" );
  33. MMC_BASE_STRING ( g_szObjectType , "ObjectType" );
  34. MMC_BASE_STRING ( g_szObjectTypes , "ObjectTypes" );
  35. MMC_BASE_STRING ( g_szObjectTypeGUID , "ObjectTypeGUID" );
  36. MMC_BASE_STRING ( g_szObjectContext , "ObjectContext" );
  37. MMC_BASE_STRING ( g_szPackage , "Package" );
  38. MMC_BASE_STRING ( g_szResultPane , "ResultPane" );
  39. MMC_BASE_STRING ( g_szStatus , "Status" );
  40. MMC_BASE_STRING ( g_szStatusString , "StatusString" );
  41. MMC_BASE_STRING ( g_szTree , "Tree" );
  42. MMC_BASE_STRING ( g_szNameSpace , "NameSpace" );
  43. MMC_BASE_STRING ( g_szNodeType , "NodeType" );
  44. MMC_BASE_STRING ( g_szNodeTypes , "NodeTypes" );
  45. MMC_BASE_STRING ( g_szPropertySheet , "PropertySheet" );
  46. MMC_BASE_STRING ( g_szStandAlone , "StandAlone" );
  47. MMC_BASE_STRING ( g_szToolbar , "Toolbar" );
  48. MMC_BASE_STRING ( g_szExtensions , "Extensions" );
  49. MMC_BASE_STRING ( g_szTask , "Task" );
  50. MMC_BASE_STRING ( g_szAbout , "About" );
  51. MMC_BASE_STRING ( g_szView , "View" ); // registry key for view extension snapins
  52. MMC_BASE_STRING ( g_szDynamicExtensions , "Dynamic Extensions" );
  53. MMC_BASE_STRING ( g_szRestrictAuthorMode , "RestrictAuthorMode" );
  54. MMC_BASE_STRING ( g_szRestrictToPermittedList , "RestrictToPermittedSnapins" );
  55. MMC_BASE_STRING ( g_szRestrictRun , "Restrict_Run" );
  56. MMC_BASE_STRING ( g_szRestrictScriptsFromEnteringAuthorMode , "RestrictScriptsEnteringAuthorMode" );
  57. MMC_BASE_STRING ( g_szMaxColumnDataPersisted , "MaxColDataPersisted" );
  58. MMC_BASE_STRING ( g_szMaxViewItemsPersisted , "MaxViewItemsPersisted" );
  59. MMC_BASE_STRING ( g_szDEFAULT_CONSOLE_EXTENSION , ".msc" );
  60. // window class name for the MDI child frame
  61. MMC_BASE_STRING ( g_szChildFrameClassName , "MMCChildFrm" );
  62. MMC_BASE_STRING ( g_szAMCViewWndClassName , "MMCViewWindow" );
  63. MMC_BASE_STRING ( g_szOCXViewWndClassName , "MMCOCXViewWindow" );
  64. MMC_BASE_STRING ( CURRENT_VER_KEY , "Software\\Microsoft\\Windows NT\\CurrentVersion" );
  65. MMC_BASE_STRING ( NODE_TYPES_KEY , "Software\\Microsoft\\MMC\\NodeTypes" );
  66. MMC_BASE_STRING ( SNAPINS_KEY , "Software\\Microsoft\\MMC\\SnapIns" );
  67. MMC_BASE_STRING ( SETTINGS_KEY , "Software\\Microsoft\\MMC\\Settings" );
  68. MMC_BASE_STRING ( POLICY_KEY , "Software\\Policies\\Microsoft\\MMC" );
  69. // user data subfolder
  70. MMC_BASE_STRING ( g_szUserDataSubFolder, "Microsoft\\MMC" );
  71. // XML tags and attribute names used
  72. /*-----------------------------------------------------------------------------------*\
  73. | Following strings used as element tags in XML document
  74. \*-----------------------------------------------------------------------------------*/
  75. MMC_BASE_STRING ( XML_TAG_BOOKMARK , "BookMark" );
  76. MMC_BASE_STRING ( XML_TAG_BINARY , "Binary" );
  77. MMC_BASE_STRING ( XML_TAG_BINARY_STORAGE , "BinaryStorage" );
  78. MMC_BASE_STRING ( XML_TAG_BITMAP , "Bitmap" );
  79. MMC_BASE_STRING ( XML_TAG_COLUMN_INFO , "Column" );
  80. MMC_BASE_STRING ( XML_TAG_COLUMN_INFO_LIST , "ColumnSettings" );
  81. MMC_BASE_STRING ( XML_TAG_COLUMN_PERIST_INFO , "ColumnSettingsCache" );
  82. MMC_BASE_STRING ( XML_TAG_COLUMN_PERIST_ENTRY , "SnapinColumnSettings" );
  83. MMC_BASE_STRING ( XML_TAG_COLUMN_SET , "ColumnSet" );
  84. MMC_BASE_STRING ( XML_TAG_COLUMN_SET_DATA , "ListViewColumns" );
  85. MMC_BASE_STRING ( XML_TAG_COLUMN_SORT_INFO , "SortSettings" );
  86. MMC_BASE_STRING ( XML_TAG_CONSOLE_ICON , "Image" );
  87. MMC_BASE_STRING ( XML_TAG_CONSOLE_FILE_UID , "ConsoleFileID" );
  88. MMC_BASE_STRING ( XML_TAG_CONSOLE_TASKPAD , "ConsoleTaskpad" );
  89. MMC_BASE_STRING ( XML_TAG_CONSOLE_TASKPADS , "ConsoleTaskpads" );
  90. MMC_BASE_STRING ( XML_TAG_CUSTOM_DATA , "VisualAttributes" );
  91. MMC_BASE_STRING ( XML_TAG_DYNAMIC_PATH_ENTRY , "Segment" );
  92. MMC_BASE_STRING ( XML_TAG_EOT_SYMBOL_INFO , "Symbol" );
  93. MMC_BASE_STRING ( XML_TAG_LARGE_TASK_ICON , "LargeIcon" );
  94. MMC_BASE_STRING ( XML_TAG_SMALL_TASK_ICON , "SmallIcon" );
  95. MMC_BASE_STRING ( XML_TAG_FAVORITES_ENTRY , "Favorite" );
  96. MMC_BASE_STRING ( XML_TAG_FAVORITES_LIST , "Favorites" );
  97. MMC_BASE_STRING ( XML_TAG_FRAME_STATE , "FrameState" );
  98. MMC_BASE_STRING ( XML_TAG_HASH_VALUE , "HashValue" );
  99. MMC_BASE_STRING ( XML_TAG_ICOMPONENT , "Component" );
  100. MMC_BASE_STRING ( XML_TAG_ICOMPONENT_LIST , "Components" );
  101. MMC_BASE_STRING ( XML_TAG_ICOMPONENT_DATA , "ComponentData" );
  102. MMC_BASE_STRING ( XML_TAG_ICOMPONENT_DATA_LIST , "ComponentDatas" );
  103. MMC_BASE_STRING ( XML_TAG_ICON , "Icon" );
  104. MMC_BASE_STRING ( XML_TAG_IDENTIFIER_POOL , "IdentifierPool" );
  105. MMC_BASE_STRING ( XML_TAG_ISTORAGE , "Storage" );
  106. MMC_BASE_STRING ( XML_TAG_ISTREAM , "Stream" );
  107. MMC_BASE_STRING ( XML_TAG_MEMENTO , "ViewMemento" );
  108. MMC_BASE_STRING ( XML_TAG_MMC_CONSOLE_FILE , "MMC_ConsoleFile" );
  109. MMC_BASE_STRING ( XML_TAG_MMC_STRING_TABLE , "StringTables" );
  110. MMC_BASE_STRING ( XML_TAG_MT_NODE , "Node" );
  111. MMC_BASE_STRING ( XML_TAG_NODE_BITMAPS , "Bitmaps" );
  112. MMC_BASE_STRING ( XML_TAG_ORIGINAL_CONSOLE_CRC , "SourceChecksum" );
  113. MMC_BASE_STRING ( XML_TAG_POINT , "Point" );
  114. MMC_BASE_STRING ( XML_TAG_RECTANGLE , "Rectangle" );
  115. MMC_BASE_STRING ( XML_TAG_RESULTVIEW_DESCRIPTION, "Description" );
  116. MMC_BASE_STRING ( XML_TAG_SCOPE_TREE , "ScopeTree" );
  117. MMC_BASE_STRING ( XML_TAG_SCOPE_TREE_NODES , "Nodes" );
  118. MMC_BASE_STRING ( XML_TAG_SNAPIN , "Snapin" );
  119. MMC_BASE_STRING ( XML_TAG_SNAPIN_CACHE , "SnapinCache" );
  120. MMC_BASE_STRING ( XML_TAG_SNAPIN_EXTENSION , "Extension" );
  121. MMC_BASE_STRING ( XML_TAG_SNAPIN_EXTENSIONS , "Extensions" );
  122. MMC_BASE_STRING ( XML_TAG_SNAPIN_PROPERTIES , "SnapinProperties" );
  123. MMC_BASE_STRING ( XML_TAG_SNAPIN_PROPERTY , "SnapinProperty" );
  124. MMC_BASE_STRING ( XML_TAG_STRING_TABLE , "Strings" );
  125. MMC_BASE_STRING ( XML_TAG_STRING_TABLE_MAP , "StringTable" );
  126. MMC_BASE_STRING ( XML_TAG_STRING_TABLE_STRING , "String" );
  127. MMC_BASE_STRING ( XML_TAG_TASK , "Task" );
  128. MMC_BASE_STRING ( XML_TAG_TASK_CMD_LINE , "CommandLine" );
  129. MMC_BASE_STRING ( XML_TAG_TASK_LIST , "Tasks" );
  130. MMC_BASE_STRING ( XML_TAG_VALUE_BIN_DATA , "BinaryData" );
  131. MMC_BASE_STRING ( XML_TAG_VALUE_BOOL , "Boolean" );
  132. MMC_BASE_STRING ( XML_TAG_VALUE_BYTE , "Byte" );
  133. MMC_BASE_STRING ( XML_TAG_VALUE_CSTR , "String" );
  134. MMC_BASE_STRING ( XML_TAG_VALUE_DWORD , "DoubleWord" );
  135. MMC_BASE_STRING ( XML_TAG_VALUE_GUID , "GUID" );
  136. MMC_BASE_STRING ( XML_TAG_VALUE_INT , "Integer" );
  137. MMC_BASE_STRING ( XML_TAG_VALUE_LONG , "Long" );
  138. MMC_BASE_STRING ( XML_TAG_VALUE_SHORT , "Short" );
  139. MMC_BASE_STRING ( XML_TAG_VALUE_UINT , "UnsignedInteger" );
  140. MMC_BASE_STRING ( XML_TAG_VALUE_ULONG , "UsignedLong" );
  141. MMC_BASE_STRING ( XML_TAG_VALUE_UNKNOWN , "Unknown" );
  142. MMC_BASE_STRING ( XML_TAG_VALUE_WSTRING , "WideString" );
  143. MMC_BASE_STRING ( XML_TAG_VARIANT , "VARIANT" );
  144. MMC_BASE_STRING ( XML_TAG_VIEW , "View" );
  145. MMC_BASE_STRING ( XML_TAG_VIEW_LIST , "Views" );
  146. MMC_BASE_STRING ( XML_TAG_VIEW_PERSIST_INFO , "ViewSettingsCache" );
  147. MMC_BASE_STRING ( XML_TAG_VIEW_SETTINGS , "ViewSettings" );
  148. MMC_BASE_STRING ( XML_TAG_VIEW_SETTINGS_2 , "ViewOptions" );
  149. MMC_BASE_STRING ( XML_TAG_VIEW_SETTINGS_ID , "TargetView" );
  150. MMC_BASE_STRING ( XML_TAG_WINDOW_PLACEMENT , "WindowPlacement" );
  151. MMC_BASE_STRING ( XML_TAG_RESULTVIEWTYPE , "ResultView" );
  152. /*-----------------------------------------------------------------------------------*\
  153. | Following strings used as element names in XML ( put as value of attribute 'NAME')
  154. | This helps in cases we need differentiate between elements of the same type
  155. \*-----------------------------------------------------------------------------------*/
  156. MMC_BASE_STRING ( XML_NAME_CLSID_SNAPIN , "Snapin" );
  157. MMC_BASE_STRING ( XML_NAME_ICON_LARGE , "Large" );
  158. MMC_BASE_STRING ( XML_NAME_ICON_SMALL , "Small" );
  159. MMC_BASE_STRING ( XML_NAME_MAX_POSITION , "MaxPosition" );
  160. MMC_BASE_STRING ( XML_NAME_MIN_POSITION , "MinPosition" );
  161. MMC_BASE_STRING ( XML_NAME_NODE_BITMAP_LARGE , "Large" );
  162. MMC_BASE_STRING ( XML_NAME_NODE_BITMAP_SMALL , "Small" );
  163. MMC_BASE_STRING ( XML_NAME_NODE_BITMAP_SMALL_OPEN , "SmallOpen" );
  164. MMC_BASE_STRING ( XML_NAME_NORMAL_POSITION , "NormalPosition" );
  165. MMC_BASE_STRING ( XML_NAME_ROOT_NODE , "RootNode" );
  166. MMC_BASE_STRING ( XML_NAME_SELECTED_NODE , "SelectedNode" );
  167. MMC_BASE_STRING ( XML_NAME_TARGET_NODE , "TargetNode" );
  168. /*-----------------------------------------------------------------------------------*\
  169. | Following strings used as attribute names in XML document
  170. \*-----------------------------------------------------------------------------------*/
  171. MMC_BASE_STRING ( XML_ATTR_CONSOLE_VERSION , "ConsoleVersion" );
  172. MMC_BASE_STRING ( XML_ATTR_APPLICATION_MODE , "ProgramMode" );
  173. MMC_BASE_STRING ( XML_ATTR_BINARY_REF_INDEX , "BinaryRefIndex" );
  174. MMC_BASE_STRING ( XML_ATTR_BOOKMARK_DYN_CUSTOM , "Custom" );
  175. MMC_BASE_STRING ( XML_ATTR_BOOKMARK_DYN_STRING , "String" );
  176. MMC_BASE_STRING ( XML_ATTR_BOOKMARK_DYNAMIC_PATH , "DynamicPath" );
  177. MMC_BASE_STRING ( XML_ATTR_BOOKMARK_STATIC , "NodeID" );
  178. MMC_BASE_STRING ( XML_ATTR_COLUMN_INFO_COLUMN , "Index" );
  179. MMC_BASE_STRING ( XML_ATTR_COLUMN_INFO_FORMAT , "Format" );
  180. MMC_BASE_STRING ( XML_ATTR_COLUMN_INFO_WIDTH , "Width" );
  181. MMC_BASE_STRING ( XML_ATTR_COLUMN_INFO_SNAPIN , "Snapin" );
  182. MMC_BASE_STRING ( XML_ATTR_COLUMN_SET_RANK , "Age" );
  183. MMC_BASE_STRING ( XML_ATTR_COLUMN_SET_ID , "ID" );
  184. MMC_BASE_STRING ( XML_ATTR_COLUMN_SET_ID_VIEW , "ViewID" );
  185. MMC_BASE_STRING ( XML_ATTR_COLUMN_SET_ID_FLAGS , "Flags" );
  186. MMC_BASE_STRING ( XML_ATTR_COLUMN_SET_ID_PATH , "ID" );
  187. MMC_BASE_STRING ( XML_ATTR_COLUMN_SORT_INFO_COLMN , "ColumnIndex" );
  188. MMC_BASE_STRING ( XML_ATTR_COLUMN_SORT_INFO_OPTNS , "SortOptions" );
  189. MMC_BASE_STRING ( XML_ATTR_CONSOLE_ICON_LARGE , "CONSOLE_FILE_ICON_LARGE" );
  190. MMC_BASE_STRING ( XML_ATTR_CONSOLE_ICON_SMALL , "CONSOLE_FILE_ICON_SMALL" );
  191. MMC_BASE_STRING ( XML_ATTR_CUSTOM_TITLE , "ApplicationTitle" );
  192. MMC_BASE_STRING ( XML_ATTR_EOT_SYMBOL_DW_SYMBOL , "ID" );
  193. MMC_BASE_STRING ( XML_ATTR_FAVORITE_TYPE , "TYPE" );
  194. MMC_BASE_STRING ( XML_ATTR_FRAME_STATE_FLAGS , "Flags" );
  195. MMC_BASE_STRING ( XML_ATTR_ICOMPONENT_VIEW_ID , "ViewID" );
  196. MMC_BASE_STRING ( XML_ATTR_ICON_FILE , "File" );
  197. MMC_BASE_STRING ( XML_ATTR_ICON_INDEX , "Index" );
  198. MMC_BASE_STRING ( XML_ATTR_ID_POOL_ABSOLUTE_MAX , "AbsoluteMax" );
  199. MMC_BASE_STRING ( XML_ATTR_ID_POOL_ABSOLUTE_MIN , "AbsoluteMin" );
  200. MMC_BASE_STRING ( XML_ATTR_ID_POOL_NEXT_AVAILABLE , "NextAvailable" );
  201. MMC_BASE_STRING ( XML_ATTR_MT_NODE_ID , "ID" );
  202. MMC_BASE_STRING ( XML_ATTR_MT_NODE_IMAGE , "ImageIdx" );
  203. MMC_BASE_STRING ( XML_ATTR_MT_NODE_NAME , "Name" );
  204. MMC_BASE_STRING ( XML_ATTR_MT_NODE_PRELOAD , "Preload" );
  205. MMC_BASE_STRING ( XML_ATTR_MT_NODE_SNAPIN_CLSID , "CLSID" );
  206. MMC_BASE_STRING ( XML_ATTR_NAME , "Name" );
  207. MMC_BASE_STRING ( XML_ATTR_NODE_BITMAPS_MASK , "MaskColor" );
  208. MMC_BASE_STRING ( XML_ATTR_POINT_X , "X" );
  209. MMC_BASE_STRING ( XML_ATTR_POINT_Y , "Y" );
  210. MMC_BASE_STRING ( XML_ATTR_RECT_BOTTOM , "Bottom" );
  211. MMC_BASE_STRING ( XML_ATTR_RECT_LEFT , "Left" );
  212. MMC_BASE_STRING ( XML_ATTR_RECT_RIGHT , "Right" );
  213. MMC_BASE_STRING ( XML_ATTR_RECT_TOP , "Top" );
  214. MMC_BASE_STRING ( XML_ATTR_SHOW_COMMAND , "ShowCommand" );
  215. MMC_BASE_STRING ( XML_ATTR_SNAPIN_CLSID , "CLSID" );
  216. MMC_BASE_STRING ( XML_ATTR_SNAPIN_EXTN_ENABLED , "AllExtensionsEnabled" );
  217. MMC_BASE_STRING ( XML_ATTR_SNAPIN_EXTN_TYPES , "ExtensionTypes" );
  218. MMC_BASE_STRING ( XML_ATTR_SNAPIN_PROP_FLAGS , "Flags" );
  219. MMC_BASE_STRING ( XML_ATTR_SNAPIN_PROP_NAME , "Name" );
  220. MMC_BASE_STRING ( XML_ATTR_STRING_TABLE_STR_ID , "ID" );
  221. MMC_BASE_STRING ( XML_ATTR_STRING_TABLE_STR_VALUE, "Value" );
  222. MMC_BASE_STRING ( XML_ATTR_STRING_TABLE_STR_REFS , "Refs" );
  223. MMC_BASE_STRING ( XML_ATTR_TASK_CMD_LINE_DIR , "Directory" );
  224. MMC_BASE_STRING ( XML_ATTR_TASK_CMD_LINE_PARAMS , "Params" );
  225. MMC_BASE_STRING ( XML_ATTR_TASK_CMD_LINE_WIN_ST , "WindowState" );
  226. MMC_BASE_STRING ( XML_ATTR_TASK_COMMAND , "Command" );
  227. MMC_BASE_STRING ( XML_ATTR_TASK_DESCRIPTION , "Description" );
  228. MMC_BASE_STRING ( XML_ATTR_TASK_FLAGS , "Flags" );
  229. MMC_BASE_STRING ( XML_ATTR_TASK_NAME , "Name" );
  230. MMC_BASE_STRING ( XML_ATTR_TASK_TYPE , "Type" );
  231. MMC_BASE_STRING ( XML_ATTR_TASKPAD_DESCRIPTION , "Description" );
  232. MMC_BASE_STRING ( XML_ATTR_TASKPAD_ID , "ID" );
  233. MMC_BASE_STRING ( XML_ATTR_TASKPAD_NAME , "Name" );
  234. MMC_BASE_STRING ( XML_ATTR_TASKPAD_NODE_SPECIFIC , "IsNodeSpecific" );
  235. MMC_BASE_STRING ( XML_ATTR_REPLACES_DEFAULT_VIEW , "ReplacesDefaultView" );
  236. MMC_BASE_STRING ( XML_ATTR_TASKPAD_NODE_TYPE , "NodeType" );
  237. MMC_BASE_STRING ( XML_ATTR_TASKPAD_ORIENTATION , "Orientation" );
  238. MMC_BASE_STRING ( XML_ATTR_TASKPAD_TOOLTIP , "Tooltip" );
  239. MMC_BASE_STRING ( XML_ATTR_TASKPAD_LIST_SIZE, "ListSize");
  240. MMC_BASE_STRING ( XML_ENUM_LIST_SIZE_LARGE , "Large" );
  241. MMC_BASE_STRING ( XML_ENUM_LIST_SIZE_MEDIUM , "Medium" );
  242. MMC_BASE_STRING ( XML_ENUM_LIST_SIZE_NONE , "None" );
  243. MMC_BASE_STRING ( XML_ENUM_LIST_SIZE_SMALL , "Small" );
  244. MMC_BASE_STRING ( XML_ATTR_VARIANT_TYPE , "Type" );
  245. MMC_BASE_STRING ( XML_ATTR_VARIANT_VALUE , "Value" );
  246. MMC_BASE_STRING ( XML_ATTR_VIEW_ID , "ID" );
  247. MMC_BASE_STRING ( XML_ATTR_VIEW_SCOPE_WIDTH , "ScopePaneWidth" );
  248. MMC_BASE_STRING ( XML_ATTR_VIEW_SETNGS_DB_VISIBLE , "DescriptionBarVisible" );
  249. MMC_BASE_STRING ( XML_ATTR_VIEW_SETNGS_DEF_COL_W0 , "DefaultColumn0Width" );
  250. MMC_BASE_STRING ( XML_ATTR_VIEW_SETNGS_DEF_COL_W1 , "DefaultColumn1Width" );
  251. MMC_BASE_STRING ( XML_ATTR_VIEW_SETNGS_FLAG , "Flags" );
  252. MMC_BASE_STRING ( XML_ATTR_VIEW_SETNGS_LIST_STYLE , "ListStyle" );
  253. MMC_BASE_STRING ( XML_ATTR_VIEW_SETNGS_VIEW_MODE , "ViewMode" );
  254. MMC_BASE_STRING ( XML_ATTR_VIEW_SETTINGS_ID_VIEW , "ViewID" );
  255. MMC_BASE_STRING ( XML_ATTR_VIEW_SETTINGS_MASK , "Contents" );
  256. MMC_BASE_STRING ( XML_ATTR_VIEW_SETTINGS_OPTIONS , "Options" );
  257. MMC_BASE_STRING ( XML_ATTR_VIEW_SETTINGS_RANK , "Age" );
  258. MMC_BASE_STRING ( XML_ATTR_VIEW_SETTINGS_TYPE , "Type" );
  259. MMC_BASE_STRING ( XML_ATTR_WIN_PLACEMENT_FLAGS , "Flags" );
  260. MMC_BASE_STRING ( XML_ATTR_RESULTVIEWTYPE_OPTIONS , "Options" );
  261. MMC_BASE_STRING ( XML_ATTR_RESULTVIEWTYPE_MISC_OPTIONS , "MiscOptions" );
  262. MMC_BASE_STRING ( XML_ATTR_RESULTVIEWTYPE_OCX_STRING , "OCX" );
  263. MMC_BASE_STRING ( XML_ATTR_RESULTVIEWTYPE_URL_STRING , "URL" );
  264. MMC_BASE_STRING ( XML_ATTR_SOURCE_INDEX, "SourceIndex"); // used to compress user state files
  265. MMC_BASE_STRING ( XML_ATTR_NODETYPE_GUID, "NodeTypeGUID");
  266. /*-----------------------------------------------------------------------------------*\
  267. | Following strings used as enumerations
  268. \*-----------------------------------------------------------------------------------*/
  269. MMC_BASE_STRING ( XML_ENUM_FSTATE_SHOWSTATUSBAR, "ShowStatusBar" );
  270. MMC_BASE_STRING ( XML_ENUM_FSTATE_HELPDOCINVALID, "HelpDocInvalid" );
  271. MMC_BASE_STRING ( XML_ENUM_FSTATE_LOGICALREADONLY, "LogicalReadOnly" );
  272. MMC_BASE_STRING ( XML_ENUM_FSTATE_PREVENTVIEWCUSTOMIZATION, "PreventViewCustomization" );
  273. MMC_BASE_STRING ( XML_ENUM_PROGRAM_MODE_AUTHOR, "Author" );
  274. MMC_BASE_STRING ( XML_ENUM_PROGRAM_MODE_USER, "User" );
  275. MMC_BASE_STRING ( XML_ENUM_PROGRAM_MODE_USER_MDI, "UserMDI" );
  276. MMC_BASE_STRING ( XML_ENUM_PROGRAM_MODE_USER_SDI, "UserSDI" );
  277. MMC_BASE_STRING ( XML_ENUM_LV_STYLE_ICON, "Icon" );
  278. MMC_BASE_STRING ( XML_ENUM_LV_STYLE_SMALLICON, "SmallIcon" );
  279. MMC_BASE_STRING ( XML_ENUM_LV_STYLE_LIST, "List" );
  280. MMC_BASE_STRING ( XML_ENUM_LV_STYLE_REPORT, "Report" );
  281. MMC_BASE_STRING ( XML_ENUM_LV_STYLE_FILTERED, "Filtered");
  282. MMC_BASE_STRING ( XML_ENUM_TASK_TYPE_SCOPE, "Scope" );
  283. MMC_BASE_STRING ( XML_ENUM_TASK_TYPE_RESULT, "Result" );
  284. MMC_BASE_STRING ( XML_ENUM_TASK_TYPE_COMMANDLINE, "CommandLine" );
  285. MMC_BASE_STRING ( XML_ENUM_TASK_TYPE_TARGET, "Target" );
  286. MMC_BASE_STRING ( XML_ENUM_TASK_TYPE_FAVORITE, "Favorite" ) ;
  287. MMC_BASE_STRING ( XML_ENUM_WINDOW_STATE_RESTORED, "Restored" ) ;
  288. MMC_BASE_STRING ( XML_ENUM_WINDOW_STATE_MINIMIZED, "Minimized" ) ;
  289. MMC_BASE_STRING ( XML_ENUM_WINDOW_STATE_MAXIMIZED, "Maximized" ) ;
  290. MMC_BASE_STRING ( XML_ENUM_SHOW_CMD_HIDE, "SW_HIDE" );
  291. MMC_BASE_STRING ( XML_ENUM_SHOW_CMD_SHOWNORMAL, "SW_SHOWNORMAL" );
  292. MMC_BASE_STRING ( XML_ENUM_SHOW_CMD_SHOWMINIMIZED, "SW_SHOWMINIMIZED" );
  293. MMC_BASE_STRING ( XML_ENUM_SHOW_CMD_SHOWMAXIMIZED, "SW_SHOWMAXIMIZED" );
  294. MMC_BASE_STRING ( XML_ENUM_SHOW_CMD_SHOWNOACTIVATE, "SW_SHOWNOACTIVATE" );
  295. MMC_BASE_STRING ( XML_ENUM_SHOW_CMD_SHOW, "SW_SHOW" );
  296. MMC_BASE_STRING ( XML_ENUM_SHOW_CMD_MINIMIZE, "SW_MINIMIZE" );
  297. MMC_BASE_STRING ( XML_ENUM_SHOW_CMD_SHOWMINNOACTIVE, "SW_SHOWMINNOACTIVE" );
  298. MMC_BASE_STRING ( XML_ENUM_SHOW_CMD_SHOWNA, "SW_SHOWNA" );
  299. MMC_BASE_STRING ( XML_ENUM_SHOW_CMD_RESTORE, "SW_RESTORE" );
  300. MMC_BASE_STRING ( XML_ENUM_SHOW_CMD_SHOWDEFAULT, "SW_SHOWDEFAULT" );
  301. MMC_BASE_STRING ( XML_ENUM_SHOW_CMD_FORCEMINIMIZE, "SW_FORCEMINIMIZE" );
  302. MMC_BASE_STRING ( XML_ENUM_WIN_PLACE_SETMINPOSITION, "WPF_SETMINPOSITION" );
  303. MMC_BASE_STRING ( XML_ENUM_WIN_PLACE_RESTORETOMAXIMIZED, "WPF_RESTORETOMAXIMIZED" );
  304. MMC_BASE_STRING ( XML_ENUM_WIN_PLACE_ASYNCWINDOWPLACEMENT, "WPF_ASYNCWINDOWPLACEMENT" );
  305. MMC_BASE_STRING ( XML_ENUM_MMC_VIEW_TYPE_LIST, "List" );
  306. MMC_BASE_STRING ( XML_ENUM_MMC_VIEW_TYPE_HTML, "HTML" );
  307. MMC_BASE_STRING ( XML_ENUM_MMC_VIEW_TYPE_OCX, "OCX" );
  308. MMC_BASE_STRING ( XML_ENUM_COL_INFO_LVCFMT_LEFT, "Left" );
  309. MMC_BASE_STRING ( XML_ENUM_COL_INFO_LVCFMT_RIGHT, "Right" );
  310. MMC_BASE_STRING ( XML_ENUM_COL_INFO_LVCFMT_CENTER, "Center" );
  311. /*-----------------------------------------------------------------------------------*\
  312. | Following strings used as bitflags
  313. \*-----------------------------------------------------------------------------------*/
  314. MMC_BASE_STRING ( XML_BITFLAG_LV_STYLE_SINGLESEL, "LVS_SINGLESEL" );
  315. MMC_BASE_STRING ( XML_BITFLAG_LV_STYLE_SHOWSELALWAYS, "LVS_SHOWSELALWAYS" );
  316. MMC_BASE_STRING ( XML_BITFLAG_LV_STYLE_SORTASCENDING, "LVS_SORTASCENDING" );
  317. MMC_BASE_STRING ( XML_BITFLAG_LV_STYLE_SORTDESCENDING, "LVS_SORTDESCENDING" );
  318. MMC_BASE_STRING ( XML_BITFLAG_LV_STYLE_SHAREIMAGELISTS, "LVS_SHAREIMAGELISTS" );
  319. MMC_BASE_STRING ( XML_BITFLAG_LV_STYLE_NOLABELWRAP, "LVS_NOLABELWRAP" );
  320. MMC_BASE_STRING ( XML_BITFLAG_LV_STYLE_AUTOARRANGE, "LVS_AUTOARRANGE" );
  321. MMC_BASE_STRING ( XML_BITFLAG_LV_STYLE_EDITLABELS, "LVS_EDITLABELS" );
  322. MMC_BASE_STRING ( XML_BITFLAG_LV_STYLE_OWNERDATA, "LVS_OWNERDATA" );
  323. MMC_BASE_STRING ( XML_BITFLAG_LV_STYLE_NOSCROLL, "LVS_NOSCROLL" );
  324. MMC_BASE_STRING ( XML_BITFLAG_LV_STYLE_ALIGNLEFT, "LVS_ALIGNLEFT" );
  325. MMC_BASE_STRING ( XML_BITFLAG_LV_STYLE_OWNERDRAWFIXED, "LVS_OWNERDRAWFIXED" );
  326. MMC_BASE_STRING ( XML_BITFLAG_LV_STYLE_NOCOLUMNHEADER, "LVS_NOCOLUMNHEADER" );
  327. MMC_BASE_STRING ( XML_BITFLAG_LV_STYLE_NOSORTHEADER, "LVS_NOSORTHEADER" );
  328. MMC_BASE_STRING ( XML_BITFLAG_VIEW_SCOPE_PANE_VISIBLE, "ScopePaneVisible" );
  329. MMC_BASE_STRING ( XML_BITFLAG_VIEW_NO_STD_MENUS, "NoStdMenus" );
  330. MMC_BASE_STRING ( XML_BITFLAG_VIEW_NO_STD_BUTTONS, "NoStdButtons" );
  331. MMC_BASE_STRING ( XML_BITFLAG_VIEW_NO_SNAPIN_MENUS, "NoSnapinMenus" );
  332. MMC_BASE_STRING ( XML_BITFLAG_VIEW_NO_SNAPIN_BUTTONS, "NoSnapinButtons" );
  333. MMC_BASE_STRING ( XML_BITFLAG_VIEW_DISABLE_SCOPEPANE, "DisableScopePane" );
  334. MMC_BASE_STRING ( XML_BITFLAG_VIEW_DISABLE_STD_TOOLBARS, "DisableStdToolbars" );
  335. MMC_BASE_STRING ( XML_BITFLAG_VIEW_CUSTOM_TITLE, "CustomTitle" );
  336. MMC_BASE_STRING ( XML_BITFLAG_VIEW_NO_STATUS_BAR, "NoStatusBar" );
  337. MMC_BASE_STRING ( XML_BITFLAG_VIEW_CREATED_IN_USER_MODE, "CreatedInUserMode" );
  338. MMC_BASE_STRING ( XML_BITFLAG_VIEW_NO_TASKPAD_TABS, "NoTaskpadTabs" );
  339. MMC_BASE_STRING ( XML_BITFLAG_VIEWSET_MASK_VIEWMODE, "Flag_ViewMode" );
  340. MMC_BASE_STRING ( XML_BITFLAG_VIEWSET_MASK_RVTYPE, "Flag_ResultView" );
  341. MMC_BASE_STRING ( XML_BITFLAG_VIEWSET_MASK_TASKPADID, "Flag_TaskPadID" );
  342. MMC_BASE_STRING ( XML_BITFLAG_TASK_DISABLED, "eFlag_Disabled" );
  343. MMC_BASE_STRING ( XML_BITFLAG_TASK_ORIENT_HORIZONTAL, "Horizontal" );
  344. MMC_BASE_STRING ( XML_BITFLAG_TASK_ORIENT_VERTICAL, "Vertical" );
  345. MMC_BASE_STRING ( XML_BITFLAG_TASK_ORIENT_NO_RESULTS, "NoResults" );
  346. MMC_BASE_STRING ( XML_BITFLAG_TASK_ORIENT_DESCRIPTIONS_AS_TEXT, "DescriptionsAsText" );
  347. MMC_BASE_STRING ( XML_BITFLAG_LIST_OPTIONS_OWNERDATALIST, "ListView_OwnerDrawList" );
  348. MMC_BASE_STRING ( XML_BITFLAG_LIST_OPTIONS_MULTISELECT, "ListView_MultiSelect" );
  349. MMC_BASE_STRING ( XML_BITFLAG_LIST_OPTIONS_FILTERED, "ListView_Filtered" );
  350. MMC_BASE_STRING ( XML_BITFLAG_LIST_OPTIONS_USEFONTLINKING, "ListView_UseFontLinking" );
  351. MMC_BASE_STRING ( XML_BITFLAG_LIST_OPTIONS_NO_SCOPE_ITEMS, "ListView_NoScopeItems" );
  352. MMC_BASE_STRING ( XML_BITFLAG_LIST_OPTIONS_LEXICAL_SORT, "ListView_LexicalSort" );
  353. MMC_BASE_STRING ( XML_BITFLAG_OCX_OPTIONS_CACHE_OCX, "OCX_CacheControl" );
  354. MMC_BASE_STRING ( XML_BITFLAG_MISC_OPTIONS_NOLISTVIEWS, "Misc_NoListViews" );
  355. MMC_BASE_STRING ( XML_BITFLAG_COL_SORT_DESCENDING, "RSI_DESCENDING" );
  356. MMC_BASE_STRING ( XML_BITFLAG_COL_SORT_NOSORTICON, "RSI_NOSORTICON" );
  357. /*-----------------------------------------------------------------------------------*\
  358. | Following strings used as fixed attribute values ( such as enumerations)
  359. \*-----------------------------------------------------------------------------------*/
  360. MMC_BASE_STRING ( XML_VAL_FAVORITE_GROUP , "Group" );
  361. MMC_BASE_STRING ( XML_VAL_FAVORITE_SINGLE , "Single" );
  362. MMC_BASE_STRING ( XML_VAL_BOOL_TRUE , "true" );
  363. MMC_BASE_STRING ( XML_VAL_BOOL_FALSE, "false" );
  364. /*-----------------------------------------------------------------------------------*\
  365. | END - XML
  366. \*-----------------------------------------------------------------------------------*/
  367. MMC_BASE_STRING ( CHARSET_RAW_UNICODE , "ISO-10646-UCS-2" );
  368. MMC_BASE_STRING ( CHARSET_COMPRESSED_UNICODE , "UTF-8" );
  369. #define MMC_PROTOCOL_SCHEMA_NAME "--mmc"
  370. #define MMC_PAGEBREAK_RELATIVE_URL "pagebreak."
  371. MMC_BASE_STRING_EX ( PAGEBREAK_URL, _T(MMC_PROTOCOL_SCHEMA_NAME) _T(":") _T(MMC_PAGEBREAK_RELATIVE_URL) );
  372. // define macros to declare a wide literal (need two levels - won't work with defines else)
  373. #define __W(x) L ## x
  374. #define _W(x) __W(x)
  375. #endif // STRINGS_H_INCLUDED