www.pudn.com > PPPOE.rar > RasHelper.h


 
#pragma once 
 
#include  
#pragma comment(lib,"RASAPI32.LIB") 
 
class CRasHelper 
{ 
public: 
	BOOL SetEntryDialParams(CString strEntryName, CString strUsername, CString strPassword, BOOL bRemovePassword); 
	BOOL EnumDevice(LPCTSTR szDeviceType, CStringArray &strDevArray); 
	BOOL CreateRasEntry(CString strEntryName, RASENTRY &RasEntry); 
	DWORD GetCountryInfo(DWORD dwCID, RASCTRYINFO &RasCTryInfo, CString &strCountryName); 
	CRasHelper(); 
	virtual ~CRasHelper(); 
};