[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-24 21:59:30 +01:00
parent 66909fa9d5
commit 592f01a594

View File

@@ -495,7 +495,6 @@ InbvReleaseLock(VOID)
if (InbvOldIrql <= DISPATCH_LEVEL) KeLowerIrql(OldIrql);
}
INIT_FUNCTION
VOID
NTAPI
InbvEnableBootDriver(IN BOOLEAN Enable)