Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
664 B

  1. #include "wdm.h"
  2. #include "hidpddi.h"
  3. #include "hidusage.h"
  4. #define FAR
  5. #include "poclass.h"
  6. #include "hidparse.h"
  7. #include <stdio.h>
  8. #include <malloc.h>
  9. #define ExAllocatePoolWithTag(pool, bytes, tag) ( pool = pool, malloc (bytes))
  10. #define ExFreePool(foo) free (foo)
  11. #define RtlAssert(e, f, l, null) \
  12. { printf ("Assert Failed: %s \n %s \n %d \n", e, f, l ); _asm { int 3 } }
  13. #define DbgBreakPoint() _asm { int 3 }
  14. #define KeGetCurrentIrql() 0
  15. #undef HidP_KdPrint
  16. #undef KdPrint
  17. #define HidP_KdPrint(_l_,_x_) \
  18. printf ("HidParse.SYS: "); \
  19. printf _x_;
  20. #define KdPrint(_a_) HidP_KdPrint(0,_a_)
  21. #include "..\descript.c"