As per elementary Windows Driver Development basics, resources should ALWAYS be acquired
within a critical or guarded region.
--
Best regards,
Alex Ionescu
On 2011-06-02, at 1:43 PM, pschweitzer(a)svn.reactos.org wrote:
+ /* Acquire the FS lock */
+ ExAcquireResourceExclusiveLite(&IopDatabaseResource, TRUE);