[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

@ -21,7 +21,7 @@ Revision History:
#ifndef _FXUSBDEVICE_H_
#define _FXUSBDEVICE_H_
#include "FxUsbRequestContext.hpp"
#include "fxusbrequestcontext.hpp"
typedef enum _FX_URB_TYPE : UCHAR {
FxUrbTypeLegacy,
@ -214,6 +214,7 @@ public:
);
__inline
VOID
CopyDeviceDescriptor(
__out PUSB_DEVICE_DESCRIPTOR UsbDeviceDescriptor
)
@ -449,7 +450,9 @@ public:
PURB* Urb
);
#ifdef _MSC_VER
#pragma warning(disable:28285)
#endif
__checkReturn
NTSTATUS
CreateIsochUrb(