Fix MSVC compilation with NT4 ddk.

svn path=/trunk/; revision=26146
This commit is contained in:
Aleksey Bragin 2007-03-20 19:09:55 +00:00
parent 1f7253af8d
commit 1f06d767be

View file

@ -17,6 +17,20 @@
#include <ntddk.h>
#include <stdio.h>
// 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"