www.pudn.com > 17551_portion.rar > dev.h


#include "stdafx.h" 
#include  
#include  
#include "GPIOCTL.h" 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
 
class  dev:  public CObject 
{ 
 public: 
bool IsInitialized = false; 
char szDriverPath[MAX_PATH]; 
bool GetDriverPath(); 
bool  StartDriver(); 
bool  Initialize(); 
bool StopDriver(); 
bool  RemoveDriver(); 
bool  InstallDriver(PSTR pszDriverPath, bool   IsDemandLoaded); 
};