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.

36 lines
921 B

  1. #pragma once
  2. #include "nmbase.h"
  3. #include "nmres.h"
  4. class ATL_NO_VTABLE CLanConnectionManager :
  5. public CComObjectRootEx <CComMultiThreadModel>,
  6. public CComCoClass <CLanConnectionManager,
  7. &CLSID_LanConnectionManager>,
  8. public IConnectionPointContainerImpl <CLanConnectionManager>,
  9. public INetConnectionManager
  10. {
  11. public:
  12. CLanConnectionManager()
  13. {
  14. }
  15. DECLARE_CLASSFACTORY_SINGLETON(CLanConnectionManager)
  16. DECLARE_REGISTRY_RESOURCEID(IDR_LAN_CONMAN)
  17. BEGIN_COM_MAP(CLanConnectionManager)
  18. COM_INTERFACE_ENTRY(INetConnectionManager)
  19. COM_INTERFACE_ENTRY_IMPL(IConnectionPointContainer)
  20. END_COM_MAP()
  21. BEGIN_CONNECTION_POINT_MAP(CLanConnectionManager)
  22. END_CONNECTION_POINT_MAP()
  23. // INetConnectionManager
  24. STDMETHOD (EnumConnections) (
  25. NETCONMGR_ENUM_FLAGS Flags,
  26. IEnumNetConnection** ppEnum);
  27. public:
  28. };