Tech Support > Microsoft Windows > Drivers > Q: about ZwLoadDriver()
Q: about ZwLoadDriver()
Posted by Aleksey Rechinsky on September 30th, 2003


Hello!

Can somebody confirm or contradict these three statements:

1) ZwLoadDriver() interface remains unchanged from Win2000 to a latest
Win2003 (or to which version as you know?)

2) It's prototype is
NTSYSAPI NTSTATUS NTAPI ZwLoadDriver( IN PUNICODE_STRING
DriverServiceName );
where DriverServiceName is the name of driver under "Services" key in
registry. For example,
L"Registry\\Machine\\System\\CurrentControlSet\\Se rvices\\Tcpip".

3) DriverEntry() routine of the driver to be loaded is always execute in
system thread context, no matter, where was the ZwLoadDriver() executed.

Any info would be very appreciated.
Thanks, Aleksey.




Posted by Maxim S. Shatskih on October 2nd, 2003


Yes, since FS recognizers depend on it.

Yes.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com



Posted by Aleksey Rechinsky on October 5th, 2003


Thanks Maxim!
You've helped me again :-)
Thank you!
Aleksey.

"Maxim S. Shatskih" <maxim@storagecraft.com> wrote in message
news:##FcY0SiDHA.1688@TK2MSFTNGP10.phx.gbl...