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.

70 lines
1.2 KiB

  1. // ShellExtensions.idl : IDL source for $$root$$.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library ($$root$$.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. import "shlobj.idl";
  8. [
  9. uuid($$LibGUID$$),
  10. version(1.0),
  11. helpstring("$$root$$ 1.0 Type Library")
  12. ]
  13. library $$root$$Lib
  14. {
  15. importlib("stdole2.tlb");
  16. $$IF(Icon)
  17. [
  18. uuid($$IconGUID$$),
  19. helpstring("$$ClassType$$EI Class")
  20. ]
  21. coclass $$ClassType$$EI
  22. {
  23. #ifdef UNICODE
  24. [default] interface IExtractIconW;
  25. #else
  26. [default] interface IExtractIconA;
  27. #endif
  28. };
  29. $$ENDIF
  30. $$IF(IContextMenu)
  31. [
  32. uuid($$ContextMenuGUID$$),
  33. helpstring("$$ClassType$$CM Class")
  34. ]
  35. coclass $$ClassType$$CM
  36. {
  37. [default] interface IContextMenu;
  38. interface IShellExtInit;
  39. };
  40. $$ENDIF
  41. $$IF(PropertySheet)
  42. [
  43. uuid($$PropertySheetGUID$$),
  44. helpstring("$$ClassType$$PS Class")
  45. ]
  46. coclass $$ClassType$$PS
  47. {
  48. [default] interface IShellPropSheetExt;
  49. interface IShellExtInit;
  50. };
  51. $$ENDIF
  52. $$IF(InfoTip)
  53. [
  54. uuid($$InfoTipGUID$$),
  55. helpstring("$$ClassType$$IT Class")
  56. ]
  57. coclass $$ClassType$$IT
  58. {
  59. [default] interface IQueryInfo;
  60. interface IPersistFile;
  61. };
  62. $$ENDIF
  63. };