piodev.h
来自「基于DS的NT系统I/O读写的驱动,适用于各种硬件设备驱动程序,也是初学者的好帮」· C头文件 代码 · 共 40 行
H
40 行
// piodev.h - Port I/O device
//=============================================================================
//
// Compuware Corporation
// NuMega Lab
// 9 Townsend West
// Nashua, NH 03060 USA
//
// Copyright (c) 1998 Compuware Corporation. All Rights Reserved.
// Unpublished - rights reserved under the Copyright laws of the
// United States.
//
//=============================================================================
#include "genport.h"
class PortIoDevice : public KDevice
{
SAFE_DESTRUCTORS
public:
PortIoDevice(void);
~PortIoDevice(void);
DEVMEMBER_DISPATCHERS
#ifdef __COMMENT_ONLY
// The following member functions are actually defined by the
// a DEVMEMBER_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 CreateClose(KIrp I); // COMMENT_ONLY
virtual NTSTATUS DeviceControl(KIrp I); // COMMENT_ONLY
#endif
protected:
BOOLEAN PortInList(GenericPort* pPort);
KList<GenericPort> m_PortList;
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?