DRIVER_OBJECT结构

DRIVER_OBJECT STRUCT ; sizeof= 0A8h
_Type SWORD ? ; 0000h (IO_TYPE_DRIVER = 4) (original field name Type)
_Size SWORD ? ; 0004h (original name Size)

; The following links all of the devices created by a single driver
; together on a list, and the Flags word provides an extensible flag
; location for driver objects.

DeviceObject PVOID ? ; 0004h PTR DEVICE_OBJECT
Flags DWORD ? ; 0008h

; The following section describes where the driver is loaded. The count
; field is used to count the number of times the driver has had its
; registered reinitialization routine invoked.

DriverStart PVOID ? ; 000Ch
DriverSize DWORD ? ; 0010h
DriverSection PVOID ? ; 0014h
DriverExtension PVOID ? ; 0018h PTR DRIVER_EXTENSION

; The driver name field is used by the error log thread
; determine the name of the driver that an I/O request is/was bound.

DriverName UNICODE_STRING <> ; 001Ch

; The following section is for registry support. Thise is a pointer
; to the path to the hardware information in the registry

HardwareDatabase PVOID ? ; 0024h PTR UNICODE_STRING

; The following section contains the optional pointer to an array of
; alternate entry points to a driver for "fast I/O" support. Fast I/O
; is performed by invoking the driver routine directly with separate
; parameters, rather than using the standard IRP call mechanism. Note
; that these functions may only be used for synchronous I/O, and when
; the file is cached.

FastIoDispatch PVOID ? ; 0028h PTR FAST_IO_DISPATCH

; The following section describes the entry points to this particular
; driver. Note that the major function dispatch table must be the last
; field in the object so that it remains extensible.

DriverInit PVOID ? ; 002Ch
DriverStartIo PVOID ? ; 0030h
DriverUnload PVOID ? ; 0034h
MajorFunction PVOID (IRP_MJ_MAXIMUM_FUNCTION + 1) dup(?) ; 0038h

DRIVER_OBJECT ENDS 

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值