charfilterdevice.h
来自「Windows 2000/XP WDM設備驅動程式開發 使用 Numega 公」· C头文件 代码 · 共 50 行
H
50 行
// CharFilterDevice.h
//
// Generated by DriverWizard version DriverStudio 2.6.0 (Build 336)
// Requires Compuware's DriverWorks classes
//
#ifndef __CharFilterDevice_h__
#define __CharFilterDevice_h__
class CharFilterDevice : public KWdmFilterDevice
{
// Constructors
public:
SAFE_DESTRUCTORS;
CharFilterDevice(PDEVICE_OBJECT Pdo, ULONG Unit);
~CharFilterDevice();
// Member Functions
public:
DEVMEMBER_DISPATCHERS
MEMBER_PASSTHROUGH_COMPLETE(CharFilterDevice, OnDeviceControlComplete);
#ifdef _COMMENT_ONLY
// The following member functions are actually defined by the
// a DEVMEMBER_xxx or MEMBER_xxx macro (such as DEVMEMBER_DISPATCHERS).
// The macro __COMMENT_ONLY never gets defined. These comment-only
// definitions simply allow easy navigation to the functions within
// the Developer Studio using the class browser.
virtual NTSTATUS OnDeviceControlComplete(KIrp I); // COMMENT_ONLY
virtual NTSTATUS Create(KIrp I); // COMMENT_ONLY
virtual NTSTATUS Close(KIrp I); // COMMENT_ONLY
virtual NTSTATUS DeviceControl(KIrp I); // COMMENT_ONLY
virtual NTSTATUS SystemControl(KIrp I); // COMMENT_ONLY
#endif
// Member Data
protected:
// Unit number for this device (0-9)
ULONG m_Unit;
KPnpLowerDevice m_Lower;
ULONG nin,nout;
PCHAR cin,cout;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?