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.

92 lines
2.1 KiB

  1. #define STRICT
  2. #define UNICODE
  3. #define _UNICODE
  4. #pragma warning (disable : 4211) // ASN.1 stubs have static/extern conflict
  5. #pragma warning (disable : 4201) // nameless struct/union
  6. #pragma warning (disable : 4514) // unreferenced inline function has been removed
  7. #pragma warning (disable : 4100) // unreferenced formal parameter
  8. #pragma warning (disable : 4127) // conditional expression is constant
  9. #pragma warning (disable : 4355) // use of "this" in constructor initializer list
  10. // NT private files
  11. // Need to be before the windows include files
  12. #include <nt.h>
  13. #include <ntrtl.h>
  14. #include <nturtl.h>
  15. // Win32 SDK (public)
  16. #include <windows.h>
  17. #include <winsock2.h>
  18. #include <ws2tcpip.h>
  19. #include <tchar.h>
  20. #include <winsvc.h>
  21. #include <mswsock.h>
  22. // ANSI
  23. #include <stdlib.h>
  24. #include <stdio.h>
  25. #include <string.h>
  26. #include <time.h>
  27. #include <limits.h>
  28. // Microsoft private
  29. #include <msasn1.h>
  30. #include <msper.h>
  31. #include <ipnatapi.h>
  32. #include <ipnat.h>
  33. extern "C" {
  34. #include <sainfo.h>
  35. #include <rasuip.h>
  36. #include <raserror.h>
  37. #include <ipexport.h> // needed for interaction with TCP driver
  38. #include <ipinfo.h>
  39. #include <tcpinfo.h>
  40. #include <ntddtcp.h>
  41. #include <routprot.h> // for struct IP_ADAPTER_BINDING_INFO
  42. #include <mprerror.h> // for RRAS error codes
  43. #include <iphlpapi.h>
  44. #include <ntddip.h>
  45. #include <iphlpstk.h>
  46. #include <mprapi.h>
  47. };
  48. #include <natio.h>
  49. // Keep this prototype here until it gets included
  50. // in 'rasuip.h'
  51. extern "C" {
  52. extern
  53. DWORD APIENTRY
  54. RasGetEntryHrasconnW(
  55. IN LPCWSTR pszPhonebook,
  56. IN LPCWSTR pszEntry,
  57. OUT LPHRASCONN lphrasconn);
  58. };
  59. // Interface to ipnathlp.dll
  60. #include "h323icsp.h"
  61. // Project
  62. #include "ldap.h" // ASN.1 structures for LDAP
  63. #include "h225pp.h"
  64. #include "h245pp.h"
  65. #include "util.h"
  66. #include "h323asn1.h"
  67. #include "q931msg.h"
  68. #include "portmgmt.h"
  69. #include "h323ics.h"
  70. #include "main.h"
  71. #include "timer.h"
  72. #include "gkwsock.h"
  73. #include "cbridge.h"
  74. #include "cblist.h"
  75. #include "intfc.h"
  76. #include "ldappx.h"
  77. #include "timerval.h"
  78. #include "iocompl.h"
  79. #include "q931info.h"