| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1880 人关注过本帖
标题:请问:DRIVER_OBJECT结构中成员的含义。附DRIVER_OBJECT定义。
只看楼主 加入收藏
hwbnet
Rank: 1
等 级:新手上路
威 望:2
帖 子:355
专家分:0
注 册:2004-12-9
收藏
 问题点数:0 回复次数:8 
请问:DRIVER_OBJECT结构中成员的含义。附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

搜索更多相关主题的帖子: OBJECT DRIVER 定义 含义 成员 
2007-09-28 17:16
菜鸟上路
Rank: 4
等 级:贵宾
威 望:14
帖 子:1120
专家分:0
注 册:2006-3-21
收藏
得分:0 
LZ已经发出来了,而且有注释,虽然不能详细了解,但也可以猜出一二呀

2007-09-28 18:05
无理取闹
Rank: 9Rank: 9Rank: 9
等 级:贵宾
威 望:53
帖 子:4264
专家分:0
注 册:2006-7-26
收藏
得分:0 
问什么啊? 这个是干什么用的?

win32汇编
病毒 加密
目前兴趣所在
2007-09-28 20:58
hwbnet
Rank: 1
等 级:新手上路
威 望:2
帖 子:355
专家分:0
注 册:2004-12-9
收藏
得分:0 

LZ已经发出来了,而且有注释,虽然不能详细了解,但也可以猜出一二呀

不懂英文。

问什么啊? 这个是干什么用的?

驱动中的,最近刚学。

胡文斌 本人论坛:http://hwbnet.bbs./
2007-09-29 10:21
zklhp
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
来 自:china
等 级:贵宾
威 望:254
帖 子:11485
专家分:33241
注 册:2007-7-10
收藏
得分:0 
好象是描述驱动程序对象的………… 偶也不懂

www.aogosoft.com/bbs 上有讨论……
2007-09-30 22:45
zklhp
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
来 自:china
等 级:贵宾
威 望:254
帖 子:11485
专家分:33241
注 册:2007-7-10
收藏
得分:0 
2007-10-01 01:20
hwbnet
Rank: 1
等 级:新手上路
威 望:2
帖 子:355
专家分:0
注 册:2004-12-9
收藏
得分:0 
多谢楼上。

胡文斌 本人论坛:http://hwbnet.bbs./
2007-10-01 11:14
zklhp
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
来 自:china
等 级:贵宾
威 望:254
帖 子:11485
专家分:33241
注 册:2007-7-10
收藏
得分:0 
以下是引用hwbnet在2007-10-1 11:14:36的发言:
多谢楼上。

那个www.aogosoft.com/bbs上的也是你问的?

2007-10-02 10:18
hwbnet
Rank: 1
等 级:新手上路
威 望:2
帖 子:355
专家分:0
注 册:2004-12-9
收藏
得分:0 
是的。

胡文斌 本人论坛:http://hwbnet.bbs./
2007-10-02 11:44
快速回复:请问:DRIVER_OBJECT结构中成员的含义。附DRIVER_OBJECT定义。
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.018135 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved