diff --git a/reactos/drivers/usb/nt4compat/usbdriver/usbdriver.h b/reactos/drivers/usb/nt4compat/usbdriver/usbdriver.h index 29c6d6b144b..4d3f15172cc 100644 --- a/reactos/drivers/usb/nt4compat/usbdriver/usbdriver.h +++ b/reactos/drivers/usb/nt4compat/usbdriver/usbdriver.h @@ -17,6 +17,20 @@ #include #include + +// NT4 DDK-compatibility +#ifndef RTL_CONSTANT_STRING +# define RTL_CONSTANT_STRING(s) { sizeof( s ) - sizeof( (s)[0] ), sizeof( s ), s } +#endif + +#ifndef OBJ_KERNEL_HANDLE +# define OBJ_KERNEL_HANDLE 0x00000200L +#endif + +#ifndef FILE_DEVICE_SECURE_OPEN +# define FILE_DEVICE_SECURE_OPEN 0x00000100 +#endif + #include "debug.h" #include "usb.h" #include "hcd.h"