/* Copyright (c) 1997, Microsoft Corporation, all rights reserved Description: History: */ #ifndef _CEAPCFG_H_ #define _CEAPCFG_H_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 #define _ATL_APARTMENT_THREADED #include extern CComModule _Module; #include #include // IEAPProviderConfig declarations #include "resource.h" // Define this here so that our macros will expand correctly #define IMPL // External references extern const CLSID CLSID_EapCfg; class ATL_NO_VTABLE CEapCfg : public CComObjectRootEx, public CComCoClass, public IEAPProviderConfig2 { public: CEapCfg() {} DECLARE_REGISTRY_RESOURCEID(IDR_EAPCFG) DECLARE_NOT_AGGREGATABLE(CEapCfg) BEGIN_COM_MAP(CEapCfg) COM_INTERFACE_ENTRY(IEAPProviderConfig) COM_INTERFACE_ENTRY(IEAPProviderConfig2) END_COM_MAP() public: // This is the declaration of the UI interface members. // See rrascfg.idl for the prototypes DeclareIEAPProviderConfigMembers(IMPL); STDMETHOD(ServerInvokeConfigUI2)(THIS_ \ DWORD dwEapTypeId, ULONG_PTR uConnectionParam, HWND hWnd, const BYTE *pConfigDataIn, DWORD dwSizeofConfigDataIn, BYTE **ppConfigDataOut, DWORD *pdwSizeofConfigDataOut); STDMETHOD(GetGlobalConfig)(THIS_ \ DWORD dwEapTypeId, BYTE **ppConfigDataOut, DWORD *pdwSizeofConfigDataOut); }; #endif // _CEAPCFG_H_