Timo Kreuzer wrote: > Isn't that actually the same? > > Hi, IMO the old code only calculated the offset from PartialDescriptors array to CM_RESOURCE_LIST. This works fine if there are no partial descriptors. But it breaks if there are.
> It also ignores the number of full descriptors, which I guess is wrong. > And it looks like the whole parsing code is broken. It ignores the > number of partial descriptors and does FullList++ > The MSDN states the number of CM_FULL_RESOURCE_DESCRIPTOR in CM_RESOURCE_LIST is always 1 for WDM drivers. The partial descriptors are handeled in the 2nd for loop. > Timo > regards, Johannes _______________________________________________ Ros-dev mailing list [email protected] http://www.reactos.org/mailman/listinfo/ros-dev
