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.
71 lines
1.6 KiB
71 lines
1.6 KiB
/*
|
|
|
|
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 <atlbase.h>
|
|
extern CComModule _Module;
|
|
#include <atlcom.h>
|
|
#include <rrascfg.h> // 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<CComSingleThreadModel>,
|
|
public CComCoClass<CEapCfg, &CLSID_EapCfg>,
|
|
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_
|