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.

69 lines
1.8 KiB

  1. //
  2. // Get the messages
  3. //
  4. #include "messages.rc"
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Menu. Can't put this in app.rc because MSVC loses the numbers on POPUPs
  8. //
  9. POPUP_SHARESBG_POPUPMERGE1 MENUEX DISCARDABLE
  10. BEGIN
  11. POPUP "", SFVIDM_MENU_ARRANGE
  12. BEGIN
  13. MENUITEM "by &Name", FSIDM_SORTBYNAME
  14. MENUITEM "by &Comment", FSIDM_SORTBYCOMMENT
  15. END
  16. END
  17. POPUP_SHARESBG_POPUPMERGE2 MENUEX DISCARDABLE
  18. BEGIN
  19. POPUP "", FCIDM_MENU_FILE
  20. BEGIN
  21. POPUP "Ne&w", FSIDM_MENU_NEW
  22. BEGIN
  23. MENUITEM "&Share", FSIDM_NEWSHARE
  24. END
  25. END
  26. POPUP "", SFVIDM_MENU_ARRANGE
  27. BEGIN
  28. MENUITEM "by &Name", FSIDM_SORTBYNAME
  29. MENUITEM "by &Comment", FSIDM_SORTBYCOMMENT
  30. MENUITEM "by &Path", FSIDM_SORTBYPATH
  31. MENUITEM "by &Max Uses", FSIDM_SORTBYMAXUSES
  32. END
  33. END
  34. #ifdef WIZARDS
  35. POPUP_SPECIAL MENUEX DISCARDABLE
  36. BEGIN
  37. POPUP "", FCIDM_MENU_FILE
  38. BEGIN
  39. MENUITEM "&Open", FSIDM_OPENSPECIAL
  40. MENUITEM "", -1, MFT_SEPARATOR
  41. MENUITEM "Create &Shortcut", SHARED_FILE_LINK
  42. END
  43. END
  44. POPUP_SPECIAL_FILE MENUEX DISCARDABLE
  45. BEGIN
  46. POPUP "", FCIDM_MENU_FILE
  47. BEGIN
  48. MENUITEM "&Open", FSIDM_OPENSPECIAL
  49. END
  50. END
  51. #endif // WIZARDS
  52. /////////////////////////////////////////////////////////////////////
  53. #include <ntverp.h>
  54. #define VER_FILETYPE VFT_APP
  55. #define VER_FILESUBTYPE VFT2_UNKNOWN
  56. #define VER_FILEDESCRIPTION_STR "Shared Directories folder"
  57. #define VER_INTERNALNAME_STR "shareui\0"
  58. #define VER_ORIGINALFILENAME_STR "shareui.dll"
  59. #include <common.ver>