Looking at drivers code, I found myself confused about when I should acquire/release a RemoveLock.
I know this must be related to PNP and Power management, but I haven't found any useful resource that spill information about that.
I see some drivers provide PNP and POWER dispatch routines and do acquire the RemoveLock during operations which the driver cannot be removed, but I see some other drivers that doesn't implement those and don't need to worry about locking
Can someone help me understand this?
It looks like you're new here. If you want to get involved, click one of these buttons!
|Upcoming OSR Seminars||Kernel Debugging||30 Mar 2020||OSR Seminar Space|
|Developing Minifilters||20 Apr 2020||OSR Seminar Space & ONLINE|
|Writing WDF Drivers||11 May 2020||OSR Seminar Space & ONLINE|
|Internals & Software Drivers||28 Sept 2020||Dulles, VA|