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.

165 lines
5.9 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1997.
  5. //
  6. // File: U P S R E S . H
  7. //
  8. // Contents: Master resource header for upnpfold.dll
  9. //
  10. // Notes:
  11. //
  12. // Author: jeffspr 07 Sep 1999
  13. //
  14. //----------------------------------------------------------------------------
  15. #pragma once
  16. //+---------------------------------------------------------------------------
  17. // Icon resources
  18. //
  19. #define IDI_UPNP_FOLDER 0
  20. //+---------------------------------------------------------------------------
  21. // Registry resources
  22. //
  23. // UPNP Folder (100-129)
  24. //
  25. #define IDR_UPNPFOLD 100
  26. #define IDR_UPNPTRAY 101
  27. //---[ Menus, etc ]------------------------------------------------------------
  28. #define MENU_STANDARD 200
  29. #define MENU_STANDARD_V 201
  30. #define MENU_MERGE_UPNPDEVICE 210
  31. #define POPUP_MERGE_UPNPDEVICE 211
  32. #define MENU_MERGE_FOLDER_BACKGROUND 0 // unused
  33. #define POPUP_MERGE_FOLDER_BACKGROUND 220
  34. //---[ Tray resources ]--------------------------------------------------------
  35. // Icons
  36. //
  37. #define IDI_TRAYICON 300
  38. #define IDI_UPNPDEVICE 301
  39. #define IDI_UPNP_CAMCORDER 302
  40. #define IDI_UPNP_DIGITAL_SECURITY_CAMERA 303
  41. #define IDI_UPNP_DISPLAY_DEVICE 304
  42. #define IDI_UPNP_INTERNET_GATEWAY 305
  43. #define IDI_UPNP_PRINTER_DEVICE 306
  44. #define IDI_UPNP_SCANNER_DEVICE 307
  45. #define IDI_UPNP_AUDIO_PLAYER 308
  46. // Tray commands
  47. //
  48. #define CMIDM_TRAY_VIEW_DEVICES 5200
  49. //#define CMIDM_TRAY_OPEN_MNP 5201
  50. // Context menu
  51. //
  52. #define POPUP_TRAY 5300
  53. // Discovered devices dialog
  54. #define IDD_DEVICE_PROPERTIES 6000
  55. #define IDD_DEVICE_PROPERTIES_GEN 6001
  56. #define IDC_BUTTON_PROPERTIES 6431
  57. #define IDC_BUTTON_DELETE 6432
  58. #define IDC_CB_CREATE_SHORTCUTS 6433
  59. #define IDC_DEVICE_LIST 6435
  60. #define IDC_ICON_DEVICE 6436
  61. #define IDC_PRESENTATION_URL_TEXT 6437
  62. #define IDC_DIVIDE_LINE 6438
  63. #define IDC_TXT_MODEL_MANUFACTURER 7000
  64. #define IDC_TXT_MODEL_NAME 7001
  65. #define IDC_TXT_MODEL_NUMBER 7002
  66. #define IDC_TXT_MODEL_DESCRIPTION 7003
  67. #define IDC_TXT_LOCATION 7004
  68. #define IDC_TXT_DEVICE_CAPTION 7010
  69. #define IDC_STATIC -1
  70. //+---------------------------------------------------------------------------
  71. // String resources
  72. //
  73. //---[ Folder strings ]-------------------------------------------------------
  74. // Folder registration strings
  75. //
  76. #define IDS_UPNPFOLD_NAME 1100
  77. #define IDS_UPNPFOLD_INFOTIP 1101
  78. #define IDS_UPNPDEV_INFOTIP 1102
  79. #define IDS_LOCAL_NETWORK 1103
  80. // Connections Folder Toolbar Strings
  81. //
  82. #define IDS_TOOLBAR_INVOKE_STRING 1201
  83. // Strings used by tray related UIs and tooltip/balloon tips
  84. //
  85. #define IDS_UPNPTRAYUI_MANUFACTURER 1301
  86. #define IDS_UPNPTRAYUI_GENERAL 1302
  87. #define IDS_UPNPTRAYUI_WEBDEVICE 1305
  88. #define IDS_UPNPTRAYUI_WEBDEVICES 1306
  89. #define IDS_UPNPTRAYUI_DEVICES_DISCOVERED 1307
  90. #define IDS_UPNPTRAYUI_VIEWINFO_1 1308
  91. #define IDS_UPNPTRAYUI_VIEWINFO_N 1309
  92. #define IDS_UPNPTRAYUI_INSTRUCTIONS 1310
  93. #define IDS_UPNPTRAYUI_SHORTCUT 1311
  94. #define IDS_UPNPTRAYUI_DEVICE_REMOVED 1312
  95. #define IDS_UPNPTRAYUI_DEVICE_OFFLINE_MSG 1313
  96. #define IDS_UPNPTRAYUI_DEVICE_OFFLINE_TITLE 1314
  97. //---[ Commands (context/menus) ]----------------------------------------------
  98. #define CMIDM_FIRST 0x0000
  99. #define CMIDM_INVOKE (CMIDM_FIRST + 0x0001)
  100. #define CMIDM_CREATE_SHORTCUT (CMIDM_FIRST + 0x0002)
  101. #define CMIDM_DELETE (CMIDM_FIRST + 0x0003)
  102. #define CMIDM_RENAME (CMIDM_FIRST + 0x0004)
  103. #define CMIDM_PROPERTIES (CMIDM_FIRST + 0x0005)
  104. #define CMIDM_ARRANGE (CMIDM_FIRST + 0x0026)
  105. #define CMIDM_ARRANGE_BY_NAME (CMIDM_FIRST + 0x0027)
  106. #define CMIDM_ARRANGE_BY_URL (CMIDM_FIRST + 0x0028)
  107. // Debug only commands
  108. //
  109. #if DBG
  110. #define CMIDM_DEBUG (CMIDM_FIRST + 0x0040)
  111. #define CMIDM_DEBUG_TRACING (CMIDM_FIRST + 0x0041)
  112. #define CMIDM_DEBUG_REFRESH (CMIDM_FIRST + 0x0042)
  113. #define CMIDM_DEBUG_TESTASYNCFIND (CMIDM_FIRST + 0x0043)
  114. #endif
  115. //---[ Strings for command ID's (shows in status line) ]-----------------------
  116. //
  117. #define IDS_CMIDM_START 12000
  118. #define IDS_CMIDM_INVOKE (IDS_CMIDM_START + CMIDM_INVOKE)
  119. #define IDS_CMIDM_CREATE_SHORTCUT (IDS_CMIDM_START + CMIDM_CREATE_SHORTCUT)
  120. #define IDS_CMIDM_DELETE (IDS_CMIDM_START + CMIDM_DELETE)
  121. #define IDS_CMIDM_RENAME (IDS_CMIDM_START + CMIDM_RENAME)
  122. #define IDS_CMIDM_PROPERTIES (IDS_CMIDM_START + CMIDM_PROPERTIES)
  123. #define IDS_CMIDM_ARRANGE (IDS_CMIDM_START + CMIDM_ARRANGE)
  124. #define IDS_CMIDM_ARRANGE_BY_NAME (IDS_CMIDM_START + CMIDM_ARRANGE_BY_NAME)
  125. #define IDS_CMIDM_ARRANGE_BY_URL (IDS_CMIDM_START + CMIDM_ARRANGE_BY_URL)
  126. // Debug only commands
  127. //
  128. #if DBG
  129. #define IDS_CMIDM_DEBUG (IDS_CMIDM_START + CMIDM_DEBUG)
  130. #define IDS_CMIDM_DEBUG_TRACING (IDS_CMIDM_START + CMIDM_DEBUG_TRACING)
  131. #define IDS_CMIDM_DEBUG_REFRESH (IDS_CMIDM_START + CMIDM_DEBUG_REFRESH)
  132. #define IDS_CMIDM_DEBUG_TESTASYNCFIND (IDS_CMIDM_START + CMIDM_DEBUG_TESTASYNCFIND)
  133. #endif