The following errors are reported to the publisher for changes in future releases of this book.


CD-Rom
There is a Project Settings problem with the Release build of the Chapter 6
Minimal Driver.  The Release configuration enables the "Exception Handling"
option of the compiler's code generation (/GX), which is illegal for a
device driver build.

To avoid this error, open the Chapter 6 project, select Project...Settings,
then choose "Settings for the Release" configuration.  Choose the C/C++ tab.
Choose the subcategory of "C++ Language".  Uncheck the box labeled "Enable
Exception Handling."  Note that this will remote the /GX switch from the
listed compile settings.

Page 71
Figure 4.3

Shaded Box is "Driver Object"
Should be "Device Object"


Page 115
The books reads:
:
pDriverObject->MajorFunction[ IRP_MJ_S
HUTDOWN ] =
               Shutdown;
IoRegisterShutdownNotification( pDriverObject);
:
Should read:
:
pDriverObject->MajorFunction[ IRP_MJ_SHUTDOWN ] = Shutdown;
:
IoCreateDevice( pDriverObject, ..., pDeviceObject);
:
IoRegisterShutdownNotification( pDeviceObject );
:


Page 195,
Figure 10.2
Lower right-hand box should read: Wake Event Received (not Wait Event Received)


Page 132 
Line 4 reads:
PDE->deviceBuffer

Should read: 
pDE->deviceBuffer!


Page 327
Last
paragraph has text that reads:
The I/O Completion routine calls IoFreeIrp, which releases the system buffer or MDL associated with the IRP and then deallocates the IRP itself.
Should read:
The I/O Completion routine must free the system buffer (ExFreePool) or MDL associated with the IRP (IoFreeMdl), and then deallocate the IRP itself with a call to IoFreeIrp.


 

 

If you would like to report an error please use the Request/Comments Form.

Or

Email the webmaster Report Error

Thank you.

 

 
 This page was last updated on May 17, 2001