warning: C28114: Copying a whole IRP stack entry leaves certain fields initialized that should be cleared or updated.

Additional information

Use IoCopyCurrentIrpStackLocationToNext to accomplish this


The driver is copying an IRP improperly. Improperly copying an IRP can cause serious problems with a driver, including loss of data and system crashes. If an IRP must be copied and IoCopyCurrentIrpStackLocationToNext does not suffice, then certain members of the IRP should not be copied or should be zeroed after copying.



Send comments about this topic to Microsoft

© 2015 Microsoft