[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

@ -698,7 +698,7 @@ FxUsbDeviceControlContext::StoreAndReferenceMemory(
m_Urb->Hdr.Function = URB_FUNCTION_CONTROL_TRANSFER;
m_Urb->Hdr.Length = sizeof(*m_Urb);
__super::StoreAndReferenceMemory(Buffer);
FxUsbRequestContext::StoreAndReferenceMemory(Buffer); // __super call
//
// Set the values using what is stored in the buffer

View file

@ -32,7 +32,7 @@ Return Value:
m_Urb->Hdr.Function = URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER;
m_Urb->Hdr.Length = sizeof(*m_Urb);
__super::StoreAndReferenceMemory(Buffer);
FxUsbRequestContext::StoreAndReferenceMemory(Buffer); // __super call
Buffer->AssignValues(&m_Urb->TransferBuffer,
&m_Urb->TransferBufferMDL,