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.

152 lines
2.2 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. //KERNEL/RAZZLE3/src/sockets/tcpcmd/iphlpapi/inc.h
  5. Abstract:
  6. Revision History:
  7. --*/
  8. #ifndef __INC_H__
  9. #define __INC_H__
  10. #include <nt.h>
  11. #include <ntrtl.h>
  12. #include <nturtl.h>
  13. #include <windef.h>
  14. #pragma warning(push)
  15. #pragma warning(disable:4200)
  16. #pragma warning(disable:4201)
  17. #pragma warning(disable:4214)
  18. #include <winbase.h>
  19. #pragma warning(pop)
  20. #include <stdio.h>
  21. #include <stdarg.h>
  22. #include <stdlib.h>
  23. #include <string.h>
  24. #include <crt/stddef.h>
  25. #include <ntddip.h>
  26. #include <ntddip6.h>
  27. #include <ipinfo.h>
  28. #include <llinfo.h>
  29. #include <tcpinfo.h>
  30. #include <tdiinfo.h>
  31. #include <ntddtcp.h>
  32. #include <arpinfo.h>
  33. #include <objbase.h>
  34. #pragma warning(push)
  35. #pragma warning(disable:4201)
  36. #define UNICODE 1
  37. #define _UNICODE 1
  38. #include <rasapip.h>
  39. #undef UNICODE
  40. #undef _UNICODE
  41. #include <netcon.h>
  42. #pragma warning(pop)
  43. #include <raserror.h>
  44. #include <winsock2.h>
  45. #include <ws2tcpip.h>
  46. #include <icmpapi.h>
  47. #include <assert.h>
  48. #include <mdebug.h>
  49. #ifndef CHICAGO
  50. #include <ntddip.h>
  51. #endif
  52. #if API_TRACE
  53. #include <rtutils.h>
  54. #endif
  55. #include <mprapi.h>
  56. #include <rtinfo.h>
  57. #include <iprtrmib.h>
  58. #include <ipcmp.h>
  59. #include <iphlpapi.h>
  60. #include <iphlpint.h>
  61. #include <iphlpstk.h>
  62. #include <nhapi.h>
  63. #include "defs.h"
  64. #include "strdefs.h"
  65. #include "guid.h"
  66. #include "map.h"
  67. #include "compare.h"
  68. #include "globals.h"
  69. #include "namemap.h"
  70. #include "rasmap.h"
  71. #include "lanmap.h"
  72. #ifdef KSL_IPINIP
  73. #include "ipipmap.h"
  74. #endif //KSL_IPINIP
  75. #ifdef CHICAGO
  76. #include <vxd32.h>
  77. #include <wscntl.h>
  78. #include <netvxd.h>
  79. #include <tdistat.h>
  80. #endif
  81. #undef DEBUG_PRINT
  82. #ifdef CHICAGO
  83. #define DEBUG_PRINT(X) printf X
  84. //
  85. // On Memphis, we can define DEBUG_PRINT to be printf provided the
  86. // application which calls this dll also has a printf.
  87. //
  88. #else
  89. #define DEBUG_PRINT(X) DbgPrint X
  90. #endif
  91. DWORD
  92. OpenTCPDriver(
  93. IN DWORD dwFamily
  94. );
  95. DWORD
  96. CloseTCPDriver(VOID);
  97. DWORD
  98. CloseTCP6Driver(VOID);
  99. extern BOOL IpcfgdllInit(HINSTANCE hInstDll, DWORD fdwReason, LPVOID pReserved);
  100. VOID
  101. CheckTcpipState();
  102. #endif