?? driver.h
字號:
// Declarations for suballoc driver
// Copyright (C) 1999 by Walter Oney
// All rights reserved
#ifndef DRIVER_H
#define DRIVER_H
#define DRIVERNAME "SUBALLOC" // for use in messages
#define LDRIVERNAME L"SUBALLOC" // for use in UNICODE string constants
///////////////////////////////////////////////////////////////////////////////
// Device extension structure
typedef struct _DEVICE_EXTENSION {
PDEVICE_OBJECT DeviceObject; // device object this extension belongs to
PDEVICE_OBJECT LowerDeviceObject; // next lower driver in same stack
PDEVICE_OBJECT Pdo; // the PDO
IO_REMOVE_LOCK RemoveLock; // removal control locking structure
} DEVICE_EXTENSION, *PDEVICE_EXTENSION;
///////////////////////////////////////////////////////////////////////////////
// Global functions
VOID RemoveDevice(IN PDEVICE_OBJECT fdo);
NTSTATUS CompleteRequest(IN PIRP Irp, IN NTSTATUS status, IN ULONG_PTR info);
extern BOOLEAN win98;
extern UNICODE_STRING servkey;
#endif // DRIVER_H
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -