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.

110 lines
2.6 KiB

  1. /*++
  2. Copyright (c) 1989-2001 Microsoft Corporation
  3. Module Name:
  4. precomp.h
  5. Abstract:
  6. precompiled header file
  7. Author:
  8. Jiandong Ruan
  9. Revision History:
  10. --*/
  11. #define NEWSMB
  12. #include "..\..\..\inc\nbttrace.h"
  13. ////////////////////////////////////////////////////////////////////////////////
  14. // B U I L D O P T I O N S
  15. ////////////////////////////////////////////////////////////////////////////////
  16. //
  17. // We have two directorys 'sys' and 'lib'. If you put this definition
  18. // in the C_DEFINES of the "sources" file, you need to make sure the
  19. // sys\sources and lib\sources has the same definition.
  20. //
  21. // We'd better to put them here
  22. //
  23. //
  24. // RDR/SRV expect a minimum indication size.
  25. //
  26. #define NO_ZERO_BYTE_INDICATE
  27. //
  28. // Enable the feature for debugging the RefCount
  29. //
  30. #define REFCOUNT_DEBUG
  31. //
  32. // Enable the built-in tracing for TdiReceive event handler
  33. //
  34. #define ENABLE_RCV_TRACE
  35. //
  36. // Using lookaside list prohibits driver verifier from capturing buffer overrun.
  37. // We'd better turn it off at this development stage.
  38. //
  39. #define NO_LOOKASIDE_LIST
  40. ////////////////////////////////////////////////////////////////////////////////
  41. // I N C L U D E F I L E S
  42. ////////////////////////////////////////////////////////////////////////////////
  43. #include <stddef.h>
  44. #include <ntosp.h>
  45. #include <zwapi.h>
  46. #include <ndis.h>
  47. #include <cxport.h>
  48. #include <ip.h> // for IPRcvBuf
  49. #include <ipinfo.h> // for route-lookup defs
  50. #include <tdi.h>
  51. #include <ntddip.h> // for \Device\Ip I/O control codes
  52. #include <ntddip6.h> // for \Device\Ip I/O control codes
  53. #include <ntddtcp.h> // for \Device\Tcp I/O control codes
  54. #include <ipfltinf.h> // for firewall defs
  55. #include <ipfilter.h> // for firewall defs
  56. #include <tcpinfo.h> // for TCP_CONN_*
  57. #include <tdikrnl.h>
  58. #include <tdiinfo.h> // for CONTEXT_SIZE, TDIObjectID
  59. #include <tdistat.h> // for TDI status codes
  60. #include <align.h>
  61. #include <windef.h>
  62. #ifndef __SMB_KDEXT__
  63. #include <wmistr.h>
  64. #include <wmiguid.h>
  65. #include <wmilib.h>
  66. #include <wmikm.h>
  67. #include <evntrace.h>
  68. #endif // __SMB_KDEXT__
  69. #include "common.h"
  70. #include "ip6util.h"
  71. #include "smbioctl.h"
  72. #include "smbtdi.h"
  73. #include "debug.h"
  74. #include "hash.h"
  75. #include "ip2netbios.h"
  76. #include "types.h"
  77. #include "init.h"
  78. #include "registry.h"
  79. #include "ntpnp.h"
  80. #include "ioctl.h"
  81. #include "session.h"
  82. #include "dgram.h"
  83. #include "name.h"
  84. #include "tdihndlr.h"
  85. #include "fileio.h"
  86. #include "dns.h"
  87. #include "smb.h"