comfilnt.h
来自「一个2000系统上的虚拟串口驱动程序」· C头文件 代码 · 共 49 行
H
49 行
// 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 + =
减小字号Ctrl + -
显示快捷键?