Leaked source code of windows server 2003
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.

33 lines
1.2 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: pch.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #define WANT_WDM 1
  11. #define DVRH_USE_CORRECT_PTRS 1
  12. #pragma warning( disable : 4115 ) // named type definition in parentheses
  13. #pragma warning( disable : 4127 ) // conditional expression is constant
  14. #pragma warning( disable : 4201 ) // nonstandard extension used : nameless struct/union
  15. #pragma warning( disable : 4214 ) // nonstandard extension used : bit field types other than int
  16. #pragma warning( disable : 4514 ) // unreferenced inline function has been removed
  17. #include <ntddk.h>
  18. #include <wdmguid.h>
  19. #include <wmidata.h>
  20. #include <wmilib.h>
  21. #include <ntddser.h> // IOCTL_SERIAL_[ SET | GET ]_TIMEOUTS
  22. #include <stdio.h>
  23. #define DVRH_USE_PARPORT_ECP_ADDR 1 // use ECP base + 0x2 rather than base + 0x402 for ECR
  24. #include <parallel.h> // parallel.h includes ntddpar.h
  25. #include "queueClass.h"
  26. #include "parport.h"
  27. #include "parlog.h"
  28. #include "funcdecl.h"
  29. #include "debug.h"
  30. #include "utils.h"