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.

54 lines
1.0 KiB

  1. /*
  2. Copyright (c) 1997, Microsoft Corporation, all rights reserved
  3. Description:
  4. History:
  5. */
  6. #ifndef _CEAPCFG_H_
  7. #define _CEAPCFG_H_
  8. #if _MSC_VER >= 1000
  9. #pragma once
  10. #endif // _MSC_VER >= 1000
  11. #define _ATL_APARTMENT_THREADED
  12. #include <atlbase.h>
  13. extern CComModule _Module;
  14. #include <atlcom.h>
  15. #include <rrascfg.h> // IEAPProviderConfig declarations
  16. #include "resource.h"
  17. // Define this here so that our macros will expand correctly
  18. #define IMPL
  19. // External references
  20. extern const CLSID CLSID_EapCfg;
  21. class ATL_NO_VTABLE CEapCfg :
  22. public CComObjectRootEx<CComSingleThreadModel>,
  23. public CComCoClass<CEapCfg, &CLSID_EapCfg>,
  24. public IEAPProviderConfig
  25. {
  26. public:
  27. CEapCfg() {}
  28. DECLARE_REGISTRY_RESOURCEID(IDR_EAPCFG)
  29. DECLARE_NOT_AGGREGATABLE(CEapCfg)
  30. BEGIN_COM_MAP(CEapCfg)
  31. COM_INTERFACE_ENTRY(IEAPProviderConfig)
  32. END_COM_MAP()
  33. public:
  34. // This is the declaration of the UI interface members.
  35. // See rrascfg.idl for the prototypes
  36. DeclareIEAPProviderConfigMembers(IMPL);
  37. };
  38. #endif // _CEAPCFG_H_