[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
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

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