hellowdm.h
来自「Windows驱动的一个HellowWord程序」· C头文件 代码 · 共 32 行
H
32 行
// HelloWdm.h - include file for basic WDM driver
//=============================================================================
//
// 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.
//
//=============================================================================
// This include file contains the definition of a subclass of KDriver.
// All drivers declare a subclass of KDriver, and override member function
// DriverEntry. All WDM drivers override AddDevice.
class SimpleWdmDriver : public KDriver
{
SAFE_DESTRUCTORS
public:
virtual NTSTATUS DriverEntry(PUNICODE_STRING RegistryPath);
virtual NTSTATUS AddDevice(PDEVICE_OBJECT Pdo);
virtual VOID Unload(void);
ULONG m_Instance;
};
// Declare a trace object
extern KDebugOnlyTrace T;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?