[NTOS:INBV] InbvEnableBootDriver() is an export, thus can be called at any time, therefore it must NOT be an INIT_FUNCTION.

This commit is contained in:
Hermès Bélusca-Maïto
2019-11-25 00:41:54 +01:00
parent 66909fa9d5
commit 592f01a594
-1
View File
@@ -495,7 +495,6 @@ InbvReleaseLock(VOID)
if (InbvOldIrql <= DISPATCH_LEVEL) KeLowerIrql(OldIrql);
}
INIT_FUNCTION
VOID
NTAPI
InbvEnableBootDriver(IN BOOLEAN Enable)