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|
|Writing WDF Drivers||21 Oct 2019||OSR Seminar Space & ONLINE|
|Internals & Software Drivers||18 Nov 2019||Dulles, VA|
|Kernel Debugging||30 Mar 2020||OSR Seminar Space|
|Developing Minifilters||27 Apr 2020||OSR Seminar Space & ONLINE|