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.

31 lines
898 B

  1. #include "privcpp.h"
  2. class ATL_NO_VTABLE CPackager :
  3. public CComObjectRootEx<CComSingleThreadModel>,
  4. public CComControl<CPackager>,
  5. public IOleObjectImpl<CPackager>,
  6. public IViewObjectExImpl<CPackager>,
  7. public IDataObject,
  8. public IPersistStorage,
  9. public IPersistFile,
  10. public IAdviseSink,
  11. public IRunnableObjectImpl<CPackager>
  12. {
  13. BEGIN_COM_MAP(CPackager)
  14. COM_INTERFACE_ENTRY(IOleObject)
  15. COM_INTERFACE_ENTRY(IViewObjectEx)
  16. COM_INTERFACE_ENTRY(IViewObject2)
  17. COM_INTERFACE_ENTRY(IViewObject)
  18. COM_INTERFACE_ENTRY(IDataObject)
  19. COM_INTERFACE_ENTRY(IPersistStorage)
  20. COM_INTERFACE_ENTRY(IPersistFile)
  21. COM_INTERFACE_ENTRY(IAdviseSink)
  22. COM_INTERFACE_ENTRY(IRunnableObject)
  23. END_COM_MAP()
  24. BEGIN_MSG_MAP(CPackager)
  25. CHAIN_MSG_MAP(CComControl<CPackager>)
  26. END_MSG_MAP()
  27. };