How to get base address of driver

I am writing an exception filter that dumps the CONTEXT struct to the event
log. I have the faulting ip address but I need to know the drivers base
address for this to be useful. How can I get the drivers base address?

Thanks,

Jon


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

If you are trying to get the base of a driver you know, then
look in the DRIVER_OBJECT at the DriverStart field.
If you are trying to get the information in general for all
modules in the system use ZwQuerySystemInformation
with SystemModuleInformation(11) as the first parameter.

Don Burn
Windows 2000 Device Driver and Filesystem consulting

----- Original Message -----
From: “Jon Anglin”
Newsgroups: ntdev
To: “NT Developers Interest List”
Sent: Tuesday, July 17, 2001 3:40 PM
Subject: [ntdev] How to get base address of driver

> I am writing an exception filter that dumps the CONTEXT struct to the
event
> log. I have the faulting ip address but I need to know the drivers base
> address for this to be useful. How can I get the drivers base address?
>
> Thanks,
>
> Jon
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@acm.org
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

From the driver object.

Maxim Shatskih
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com