⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 comfilnt.h

📁 一个2000系统上的虚拟串口驱动程序
💻 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<UCHAR> PipeA;
	KFifo<UCHAR> 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<UCHAR> PipeA;
//	KFifo<UCHAR> 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__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -