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.

65 lines
3.0 KiB

  1. [Version]
  2. Signature="$CHICAGO$"
  3. [RegDll]
  4. AddReg=DllGoo
  5. DelReg=DllCleanup
  6. RequiredEngine=SETUPAPI,%ERR_NOSETUPAPI%
  7. [UnregDll]
  8. DelReg=DllGoo
  9. RequiredEngine=SETUPAPI,%ERR_NOSETUPAPI%
  10. ; stuff from where everything was under one clsid
  11. [DllCleanup]
  12. HKCR,"CLSID\%CLSID_MyDocuments%\shellex\PropertySheetHandlers\%CLSID_MyDocuments%"
  13. HKCR,"CLSID\%CLSID_MyDocuments%\shellex\ContextMenuHandlers\%CLSID_MyDocuments%"
  14. HKCR,"CLSID\%CLSID_MyDocuments%\shellex\ContextMenuHandlers\%CLSID_MyDocsProp%"
  15. HKCR,"CLSID\%CLSID_MyDocuments%\shellex\IconHandler\%CLSID_MyDocuments%"
  16. ;HKCR,"CLSID\%CLSID_MyDocuments%\AllSpecialItems"
  17. HKCR,".mydocs\ShellNew"
  18. HKCR,"CLSID\%CLSID_MyDocuments%\ShellFolder",HideAsDelete
  19. ; We no longer need a "Show My Documents on Desktop" checkbox in Folder Options.
  20. ; Bugs #183585. Fixed by Sankar.
  21. HKLM,"%SMWCEA%\Folder\MyDocsOnDesktop"
  22. [DllGoo]
  23. ; drop target (sent to menu entry)
  24. HKCR,CLSID\%CLSID_MyDocsDropTarget%,,,"MyDocs Drop Target"
  25. HKCR,CLSID\%CLSID_MyDocsDropTarget%,NeverShowExt
  26. HKCR,CLSID\%CLSID_MyDocsDropTarget%,NoOpen,,%DESC_NoOpen%
  27. HKCR,CLSID\%CLSID_MyDocsDropTarget%\InProcServer32,,%REGEXSZ%,%_SYS_MOD_PATH%
  28. HKCR,CLSID\%CLSID_MyDocsDropTarget%\InProcServer32,ThreadingModel,,Apartment
  29. HKCR,CLSID\%CLSID_MyDocsDropTarget%\DefaultIcon,,%REGEXSZ%,%_SYS_MOD_PATH%
  30. HKCR,CLSID\%CLSID_MyDocsDropTarget%\shellex\DropHandler,,,%CLSID_MyDocsDropTarget%
  31. HKCR,.mydocs,,,"CLSID\%CLSID_MyDocsDropTarget%"
  32. ; property page handler
  33. HKCR,"CLSID\%CLSID_MyDocsProp%",,,"MyDocs menu and properties"
  34. HKCR,"CLSID\%CLSID_MyDocsProp%\InProcServer32",,%REGEXSZ%,%_SYS_MOD_PATH%
  35. HKCR,"CLSID\%CLSID_MyDocsProp%\InProcServer32",ThreadingModel,,Apartment
  36. HKCR,"CLSID\%CLSID_MyDocuments%\shellex\PropertySheetHandlers\%CLSID_MyDocsProp%"
  37. ; the copyhook (to make sure mydocs is not set improperly)
  38. HKCR,"CLSID\%CLSID_MyDocsCopyHook%\InProcServer32",,%REGEXSZ%,%_SYS_MOD_PATH%
  39. HKCR,"CLSID\%CLSID_MyDocsCopyHook%\InProcServer32",ThreadingModel,,Apartment
  40. HKCR,"CLSID\%CLSID_MyDocsCopyHook%\InProcServer32",LoadWithoutCOM
  41. HKCR,"Directory\ShellEx\CopyHookHandlers\MyDocuments",,,"%CLSID_MyDocsCopyHook%"
  42. HKLM,"Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved","%CLSID_MyDocsCopyHook%",,"MyDocs Copy Hook"
  43. HKLM,"Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved","%CLSID_MyDocsDropTarget%",,"MyDocs Drop Target"
  44. HKLM,"Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved","%CLSID_MyDocsProp%",,"MyDocs Properties"
  45. [Strings]
  46. REGDW=0x00010001
  47. REGEXSZ=0x00020000
  48. CLSID_MyDocuments="{450D8FBA-AD25-11D0-98A8-0800361B1103}"
  49. CLSID_MyDocsDropTarget="{ECF03A32-103D-11d2-854D-006008059367}"
  50. CLSID_MyDocsCopyHook="{ECF03A33-103D-11d2-854D-006008059367}"
  51. CLSID_MyDocsProp="{4a7ded0a-ad25-11d0-98a8-0800361b1103}"
  52. MYDOCUMENTS="My Documents"
  53. SMWCEA="SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced"
  54. DESC_NoOpen=Drag Files onto this icon to store them in My Documents
  55. ERR_NOSETUPAPI="Can not register MYDOCS.DLL because SETUPAPI.DLL is missing."