Hi All,
Logging in Kernel Drivers is achieved using IoWriteErrorLogEntry() &
IoallocateLogEntry().
The latter function requires a Driver object to allocate the error log
packet.
In case of an Export Driver, the DriverEntry() routine is not explicitly
called and hence a driver object is not allocated.
How is logging effected for such export drivers?
Thanks and Regards,
Subha
You need to have a PDEVICE_OBJECT or driver object around, otherwise you
cannot use these routines. You can get either from the user of the DLL.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@emc.com
Sent: Monday, February 23, 2004 9:36 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Logging in Export Driver
Hi All,
Logging in Kernel Drivers is achieved using IoWriteErrorLogEntry() &
IoallocateLogEntry().
The latter function requires a Driver object to allocate the error log
packet.
In case of an Export Driver, the DriverEntry() routine is not explicitly
called and hence a driver object is not allocated.
How is logging effected for such export drivers?
Thanks and Regards,
Subha
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com