www.pudn.com > vcom.zip > Comfilnt.h


// Comfilnt.h 
// 
// Generated by DriverWizard version DriverStudio 2.5.0 (Build 240) 
// Requires Compuware's DriverWorks classes 
// 
 
#ifndef __Comfilnt_h__ 
#define __Comfilnt_h__ 
    
#define EOL "\n" 
#define MAX_COM		60 
 
typedef struct _RW{ 
	KFifo PipeA; 
	KFifo PipeB; 
	ULONG MaskA; 
	ULONG MaskB; 
	ULONG WriteCountA; 
	ULONG WriteCountB; 
} RW,*PRW; 
 
class Comfilnt : public KDriver 
{ 
	SAFE_DESTRUCTORS 
public: 
	// Member functions 
	virtual  VOID Unload(VOID); 
	virtual  NTSTATUS DriverEntry(PUNICODE_STRING RegistryPath); 
	void	 LoadRegistryParameters(KRegistryKey &Params); 
 
	// Member data 
	// The following data members are loaded from the registry during DriverEntry 
	ULONG m_bBreakOnEntry;
	ULONG m_comnum;
//	KFifo PipeA; 
//	KFifo PipeB; 
	RW m_RW[MAX_COM/2]; 
 
#if _COMMENT_ONLY 
    The following member functions are actually defined by macros. 
    These comment-only definitions are for easier Studio navigation. 
   ; 
#endif 
}; 
 
 
 
#endif			// __Comfilnt_h__