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.

114 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. #include "smbtrace.h"
  12. ////////////////////////////////////////////////////////////////////////////////
  13. // B U I L D O P T I O N S
  14. ////////////////////////////////////////////////////////////////////////////////
  15. //
  16. // We have two directorys 'sys' and 'lib'. If you put this definition
  17. // in the C_DEFINES of the "sources" file, you need to make sure the
  18. // sys\sources and lib\sources has the same definition.
  19. //
  20. // We'd better to put them here
  21. //
  22. //
  23. // RDR/SRV expect a minimum indication size.
  24. //
  25. #define NO_ZERO_BYTE_INDICATE
  26. //
  27. // Enable the feature for debugging the RefCount
  28. //
  29. #define REFCOUNT_DEBUG
  30. //
  31. // Enable the built-in tracing for TdiReceive event handler
  32. //
  33. #define ENABLE_RCV_TRACE
  34. //
  35. // Using lookaside list prohibits driver verifier from capturing buffer overrun.
  36. // We'd better turn it off at this development stage.
  37. //
  38. //#define NO_LOOKASIDE_LIST
  39. ////////////////////////////////////////////////////////////////////////////////
  40. // I N C L U D E F I L E S
  41. ////////////////////////////////////////////////////////////////////////////////
  42. #include <stddef.h>
  43. #include <ntosp.h>
  44. #include <zwapi.h>
  45. #include <ndis.h>
  46. #include <cxport.h>
  47. #include <ip.h> // for IPRcvBuf
  48. #include <ipinfo.h> // for route-lookup defs
  49. #include <tdi.h>
  50. #include <ntddip.h> // for \Device\Ip I/O control codes
  51. #include <ntddip6.h> // for \Device\Ip I/O control codes
  52. #include <ntddtcp.h> // for \Device\Tcp I/O control codes
  53. #include <ipfltinf.h> // for firewall defs
  54. #include <ipfilter.h> // for firewall defs
  55. #include <tcpinfo.h> // for TCP_CONN_*
  56. #include <tdikrnl.h>
  57. #include <tdiinfo.h> // for CONTEXT_SIZE, TDIObjectID
  58. #include <tdistat.h> // for TDI status codes
  59. #include <align.h>
  60. #include <windef.h>
  61. #include <tcpinfo.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"
  88. #pragma hdrstop