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.

90 lines
3.4 KiB

  1. #include <windows.h>
  2. #include <ids.h>
  3. IDI_ICON ICON DISCARDABLE "bookmk.ico"
  4. #ifdef FEATURE_SHELLEXTENSION
  5. IDI_TEMPLATE ICON DISCARDABLE "fldtemp.ico"
  6. IDI_SCRAP ICON DISCARDABLE "scrap.ico"
  7. #endif
  8. IDR_FANCYERR RCDATA
  9. BEGIN
  10. STG_E_LOCKVIOLATION
  11. STG_E_LOCKVIOLATION
  12. STG_E_LOCKVIOLATION
  13. MK_E_NOOBJECT
  14. MK_E_NOOBJECT
  15. MK_E_NOOBJECT
  16. MK_E_NOOBJECT
  17. MK_E_NOOBJECT
  18. MK_E_NOOBJECT
  19. NOERROR
  20. END
  21. STRINGTABLE DISCARDABLE
  22. BEGIN
  23. IDS_FANCYERR "Windows was unable to open this file because it is already "
  24. (IDS_FANCYERR+1) "opened by another program (or multiple programs).\n"
  25. (IDS_FANCYERR+2) "You should close all the other programs that open this file and retry."
  26. (IDS_FANCYERR+3) "Windows was unable to open this shortcut because the "
  27. (IDS_FANCYERR+4) "target file or data that it refers to does not exist. "
  28. (IDS_FANCYERR+5) "You should delete this shortcut file and create a new "
  29. (IDS_FANCYERR+6) "shortcut based on the new location of the target data.\n\n"
  30. (IDS_FANCYERR+7) "Note: Some applications require you to save the file "
  31. (IDS_FANCYERR+8) "after creating a shortcut to part of the file's contents."
  32. END
  33. STRINGTABLE DISCARDABLE
  34. BEGIN
  35. IDS_TITLE "Shell Scrap/Document Shortcut viewer"
  36. IDS_TITLE_ERR "Problem with Scrap/Document Shortcut"
  37. IDS_FILETYPE "Scrap object"
  38. IDS_ERR_DOVERB "Unable to open %1\n\n%2%3"
  39. IDS_ERR_DOVERB_F "Unable to open %1\n\nError (%4!x!)%3"
  40. IDS_ERR_COMMIT "Unable to save scrap/shortcut\n\n%2%3"
  41. IDS_ERR_COMMIT_F "Unable to save scrap/shortcut\n\nError (%4!x!)%3"
  42. IDS_ERR_SCRAPSAVE "Unable to create and store scrap/shortcut object\n\n%2%3"
  43. IDS_ERR_SCRAPSAVE_F "Unable to create and store scrap/shortcut object\n\nError (%4!x!)%3"
  44. IDS_ERR_CREATESTORAGE "Unable to create a storage in a file %1\n\n%2%3"
  45. IDS_ERR_CREATESTORAGE_F "Unable to create a storage in a file %1\n\nError (%4!x!)%3"
  46. IDS_ERR_CREATEDOCFILE "Unable to create a scrap/shortcut file %1\n\n%2%3"
  47. IDS_ERR_CREATEDOCFILE_F "Unable to create a scrap/shortcut file %1\n\nError (%4!x!)%3"
  48. END
  49. STRINGTABLE DISCARDABLE
  50. BEGIN
  51. IDS_BOOKMARK_S "shct.shb"
  52. IDS_BOOKMARK_L "Document Shortcut.shb"
  53. IDS_SCRAP_S "scrp.shs"
  54. IDS_SCRAP_L "Scrap.shs"
  55. IDS_TEMPSCRAP "%s Scrap () '%s...'.shs"
  56. IDS_TEMPLINK "%s Shortcut () '%s...'.shb"
  57. IDS_WOULDYOUSAVEAS "You have opened a read-only scrap file.\nDo you want to save it to a new scrap file?"
  58. IDS_MOVEFAILED "Can't save a scrap file to the specified location. Do you want to pick another location?"
  59. IDS_SCRAPFILTER "Scrap Files\0*.shs\0"
  60. END
  61. STRINGTABLE DISCARDABLE
  62. BEGIN
  63. IDS_HRES_INVALID_SCRAPFILE "This is not a valid scrap/document shortcut file."
  64. END
  65. #ifdef FEATURE_SHELLEXTENSION
  66. IDD_VIEW DIALOG DISCARDABLE 0, 0, 227, 200
  67. STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | WS_POPUP | WS_CAPTION
  68. CAPTION "View"
  69. FONT 8, "MS Sans Serif"
  70. BEGIN
  71. LTEXT "Preview:",-1,7,11,40,9
  72. CONTROL "(not implemented)", IDI_SCRAPVIEW, "ShellOleViewer",
  73. WS_VSCROLL | WS_HSCROLL,
  74. 7, 24, 213, 150
  75. END
  76. #endif
  77. #include "shole.rcv"