On 4/11/19 8:26 PM, Derek Lesho wrote:
@@ -3431,7 +3433,8 @@ void WINAPI ExReleaseResourceForThreadLite( PERESOURCE resource, ERESOURCE_THREA */ void WINAPI KeEnterCriticalRegion(void) {
- FIXME(": stub\n");
- TRACE(": semi-stub\n");
- KeGetCurrentThread()->critical_region = TRUE; }
According to MSDN, those may be called recursively, so you'd need a counter here instead.
Thanks,
Jacek