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.

92 lines
5.0 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1999 - 1999
  6. //
  7. // File: mmcptrs.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #ifndef MMCPTRS_H
  11. #define MMCPTRS_H
  12. #pragma once
  13. #pragma warning(disable:4800)
  14. #include <comdef.h> // for _COM_SMARTPTR_TYPEDEF
  15. #define DEFINE_COM_SMARTPTR(I) _COM_SMARTPTR_TYPEDEF(I, IID_##I)
  16. // version 1.0
  17. DEFINE_COM_SMARTPTR(IComponent); // IComponentPtr
  18. DEFINE_COM_SMARTPTR(IComponentData); // IComponentDataPtr
  19. DEFINE_COM_SMARTPTR(IConsole); // IConsolePtr
  20. DEFINE_COM_SMARTPTR(IConsole2); // IConsole2Ptr
  21. DEFINE_COM_SMARTPTR(IConsoleNameSpace); // IConsoleNameSpacePtr
  22. DEFINE_COM_SMARTPTR(IConsoleNameSpace2); // IConsoleNameSpace2Ptr
  23. DEFINE_COM_SMARTPTR(IConsoleVerb); // IConsoleVerbPtr
  24. DEFINE_COM_SMARTPTR(IContextMenuCallback); // IContextMenuCallbackPtr
  25. DEFINE_COM_SMARTPTR(IContextMenuProvider); // IContextMenuProviderPtr
  26. DEFINE_COM_SMARTPTR(IControlbar); // IControlbarPtr
  27. DEFINE_COM_SMARTPTR(IControlbarsCache); // IControlbarsCachePtr
  28. DEFINE_COM_SMARTPTR(IDocConfig); // IDocConfigPtr
  29. DEFINE_COM_SMARTPTR(IExtendContextMenu); // IExtendContextMenuPtr
  30. DEFINE_COM_SMARTPTR(IExtendControlbar); // IExtendControlbarPtr
  31. DEFINE_COM_SMARTPTR(IExtendPropertySheet); // IExtendPropertySheetPtr
  32. DEFINE_COM_SMARTPTR(IExtendPropertySheet2); // IExtendPropertySheet2Ptr
  33. DEFINE_COM_SMARTPTR(IFramePrivate); // IFramePrivatePtr
  34. DEFINE_COM_SMARTPTR(IHeaderCtrl); // IHeaderCtrlPtr
  35. DEFINE_COM_SMARTPTR(IHeaderCtrlPrivate); // IHeaderCtrlPrivatePtr
  36. DEFINE_COM_SMARTPTR(IImageList); // IImageListPtr
  37. DEFINE_COM_SMARTPTR(IImageListPrivate); // IImageListPrivatePtr
  38. DEFINE_COM_SMARTPTR(IMMCListView); // IMMCListViewPtr
  39. DEFINE_COM_SMARTPTR(IMenuButton); // IMenuButtonPtr
  40. DEFINE_COM_SMARTPTR(INodeCallback); // INodeCallbackPtr
  41. DEFINE_COM_SMARTPTR(IPropertySheetCallback); // IPropertySheetCallbackPtr
  42. DEFINE_COM_SMARTPTR(IPropertySheetProvider); // IPropertySheetProviderPtr
  43. DEFINE_COM_SMARTPTR(IPropertySheetProviderPrivate); // IPropertySheetProviderPrivatePtr
  44. DEFINE_COM_SMARTPTR(IResultDataCompare); // IResultDataComparePtr
  45. DEFINE_COM_SMARTPTR(IResultDataPrivate); // IResultDataPrivatePtr
  46. DEFINE_COM_SMARTPTR(IResultOwnerData); // IResultOwnerDataPtr
  47. DEFINE_COM_SMARTPTR(IScopeDataPrivate); // IScopeDataPrivatePtr
  48. DEFINE_COM_SMARTPTR(IScopeTree); // IScopeTreePtr
  49. DEFINE_COM_SMARTPTR(IScopeTreeIter); // IScopeTreeIterPtr
  50. DEFINE_COM_SMARTPTR(ISnapinAbout); // ISnapinAboutPtr
  51. DEFINE_COM_SMARTPTR(ISnapinHelp); // ISnapinHelpPtr
  52. DEFINE_COM_SMARTPTR(ISnapinHelp2); // ISnapinHelp2Ptr
  53. DEFINE_COM_SMARTPTR(IToolbar); // IToolbarPtr
  54. // version 1.1
  55. DEFINE_COM_SMARTPTR(IDisplayHelp); // IDisplayHelpPtr
  56. DEFINE_COM_SMARTPTR(IEnumTASK); // IEnumTASKPtr
  57. DEFINE_COM_SMARTPTR(IExtendTaskPad); // IExtendTaskPadPtr
  58. DEFINE_COM_SMARTPTR(IRequiredExtensions); // IRequiredExtensionsPtr
  59. DEFINE_COM_SMARTPTR(IStringTablePrivate); // IStringTablePrivatePtr
  60. DEFINE_COM_SMARTPTR(ITaskPadHost); // ITaskPadHostPtr
  61. // version 1.2
  62. DEFINE_COM_SMARTPTR(IColumnData); // IColumnDataPtr
  63. DEFINE_COM_SMARTPTR(IDumpSnapins); // IDumpSnapinsPtr
  64. DEFINE_COM_SMARTPTR(IMessageView); // IMessageViewPtr
  65. DEFINE_COM_SMARTPTR(IResultDataCompareEx); // IResultDataCompareExPtr
  66. DEFINE_COM_SMARTPTR(ITaskCallback); // ITaskCallbackPtr
  67. // version 2.0
  68. DEFINE_COM_SMARTPTR(IComponent2); // IComponent2Ptr
  69. DEFINE_COM_SMARTPTR(IComponentData2); // IComponentData2Ptr
  70. DEFINE_COM_SMARTPTR(IConsolePower); // IConsolePowerPtr
  71. DEFINE_COM_SMARTPTR(IConsolePowerSink); // IConsolePowerSinkPtr
  72. DEFINE_COM_SMARTPTR(IContextMenuCallback2); // IContextMenuCallback2Ptr
  73. DEFINE_COM_SMARTPTR(IExtendView); // IExtendViewPtr
  74. DEFINE_COM_SMARTPTR(IViewExtensionCallback); // IViewExtensionCallbackPtr
  75. DEFINE_COM_SMARTPTR(ISnapinProperties); // ISnapinPropertiesPtr
  76. DEFINE_COM_SMARTPTR(ISnapinPropertiesCallback); // ISnapinPropertiesCallbackPtr
  77. DEFINE_COM_SMARTPTR(IConsole3); // IConsole3
  78. DEFINE_COM_SMARTPTR(INodeProperties); // INodePropertiesPtr
  79. DEFINE_COM_SMARTPTR(IResultData2); // IResultData2Ptr
  80. DEFINE_COM_SMARTPTR(IMMCClipboardDataObject); // IMMCClipboardDataObjectPtr
  81. #endif // MMCPTRS_H