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.

51 lines
1.4 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1997.
  5. //
  6. // File: C O N M A N I . H
  7. //
  8. // Contents: Class manager for Inbound connections.
  9. //
  10. // Notes:
  11. //
  12. // Author: shaunco 12 Nov 1997
  13. //
  14. //----------------------------------------------------------------------------
  15. #pragma once
  16. #include "nmbase.h"
  17. #include "nmres.h"
  18. class ATL_NO_VTABLE CInboundConnectionManager :
  19. public CComObjectRootEx <CComMultiThreadModel>,
  20. public CComCoClass <CInboundConnectionManager,
  21. &CLSID_WanConnectionManager>,
  22. public IConnectionPointContainerImpl <CInboundConnectionManager>,
  23. public INetConnectionManager
  24. {
  25. public:
  26. CInboundConnectionManager() throw()
  27. {
  28. }
  29. DECLARE_CLASSFACTORY_SINGLETON(CInboundConnectionManager)
  30. DECLARE_REGISTRY_RESOURCEID(IDR_INBOUND_CONMAN)
  31. BEGIN_COM_MAP(CInboundConnectionManager)
  32. COM_INTERFACE_ENTRY(INetConnectionManager)
  33. COM_INTERFACE_ENTRY_IMPL(IConnectionPointContainer)
  34. END_COM_MAP()
  35. BEGIN_CONNECTION_POINT_MAP(CInboundConnectionManager)
  36. END_CONNECTION_POINT_MAP()
  37. // INetConnectionManager
  38. STDMETHOD (EnumConnections) (
  39. IN NETCONMGR_ENUM_FLAGS Flags,
  40. OUT IEnumNetConnection** ppEnum);
  41. public:
  42. };