[WDF] Fix KMDF so it can compile with ReactOS SDK

Not all files are included, but these are necessary to compile cdrom driver.
So far it can only be statically linked with drivers, a proper
implementation requires wdfldr helper driver
This commit is contained in:
Victor Perevertkin 2020-10-16 06:30:51 +03:00
parent 8a978a179f
commit 1f377076d7
No known key found for this signature in database
GPG key ID: C750B7222E9C7830
258 changed files with 4047 additions and 2387 deletions

View file

@ -521,7 +521,7 @@ FxInterrupt::Initialize(
// reference, so that even if we return error, the reference is
// still there to be removed on cleanup.
//
ADDREF(_InterruptThunk);
ADDREF((PVOID)_InterruptThunk);
//
// Values always supplied by the caller
@ -881,7 +881,7 @@ FxInterrupt::DeleteObject(
//
// Use the base FxObject's DeleteObject implementation which will Dispose us
//
__super::DeleteObject();
FxNonPagedObject::DeleteObject(); // __super call
}
//
@ -1678,7 +1678,7 @@ FxInterrupt::FlushAndRundown()
//
// Release the reference taken in FxInterrupt::Initialize
//
RELEASE(_InterruptThunk);
RELEASE((PVOID)_InterruptThunk);
}
//