The notification routine can change the list, as there is no lock involved.
Therefore, you should grab the next entry before notifying the driver, to maintain a consistent list state.
-- Best regards, Alex Ionescu
On 2011-06-02, at 1:43 PM, pschweitzer@svn.reactos.org wrote:
DriverNotificationRoutine(DeviceObject, TRUE);/* Go to the next entry */ListEntry = ListEntry->Flink;