Source code of Windows XP (NT5)
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.

113 lines
3.0 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: ndcommon.h
  8. //
  9. //--------------------------------------------------------------------------
  10. //
  11. // Common include files.
  12. //
  13. #ifndef HEADER_COMMONTMP
  14. #define HEADER_COMMONTMP
  15. #include <nt.h>
  16. #include <ntrtl.h>
  17. #include <nturtl.h>
  18. #include <windows.h>
  19. #include <lmcons.h>
  20. #include <rpc.h>
  21. #include <tchar.h>
  22. #include <align.h> // ROUND_UP_COUNT ...
  23. // Porting to Source Depot - smanda #include <accessp.h> // DsGetDc initialization
  24. #include <dsgetdc.h> // DsGetDcName()
  25. #include <dsrole.h> // DsRoleGetPrimaryDomainInfo
  26. #include <dnsapi.h> // DNS APIs
  27. // #include <..\..\dns\dnslib\dnslib.h> // Private DNS routines
  28. // #include <dnslib.h> // Private DNS routines
  29. #include <icanon.h> // NAMETYPE_* defines
  30. #define _AVOID_IP_ADDRESS 1
  31. //#include <ipconfig.h> // ipconfig utility definitions
  32. #include <lmaccess.h> // NetLogonControl2
  33. #include <lmapibuf.h> // NetApiBufferFree
  34. #include <lmerr.h> // NERR_ equates.
  35. #include <lmserver.h> // Server API defines and prototypes
  36. #include <lmuse.h> // NetUse* API
  37. #include <netlogon.h> // Netlogon mailslot messages
  38. #include <logonp.h> // NetpLogon routines
  39. #define SECURITY_WIN32
  40. #define SECURITY_KERBEROS
  41. #include <sspi.h> // Needed by kerberos.h
  42. #include <kerberos.h> // Kerberos tests
  43. // Porting to Source Depot - smanda #include <names.h> // NetpIsDomainNameValid
  44. #include <netlib.h> // NetpCopy...
  45. #include <netlibnt.h> // NetpNtStatusToApiStatus
  46. #include <ntddbrow.h> // Interface to browser driver
  47. #include <nbtioctl.h> // Interface to netbt driver
  48. //#include <nlcommon.h> // DsGetDcName internal routines.
  49. #include <ntlsa.h> // LSA APIs
  50. #include <ntdsapi.h>
  51. #include <stdlib.h> // C library functions (rand, etc)
  52. #define _TSTR_H_INCLUDED // Lie to prevent collision with ipconfig.h
  53. #include <tstring.h> // Transitional string routines.
  54. #include <stdio.h>
  55. #include <winldap.h>
  56. #include <brcommon.h>
  57. #include <lmbrowsr.h>
  58. #include <lmremutl.h>
  59. #include <rxserver.h>
  60. #include <iprtrmib.h> // Rajkumar
  61. #include <iptypes.h>
  62. #include <llinfo.h>
  63. #include <assert.h>
  64. #include <ipexport.h>
  65. #include <winsock.h>
  66. #include <icmpapi.h>
  67. #include "ipcfgtest.h"
  68. /*==========================< Includes for IPX Test >=======================*/
  69. #include "errno.h"
  70. #include "tdi.h"
  71. #include "isnkrnl.h"
  72. //
  73. // include support code for the NetBT ioctls
  74. //
  75. #include <nb30.h>
  76. #include <nbtioctl.h>
  77. /*==========================< Includes for DHCP Test >=====================*/
  78. //#include <dhcp.h>
  79. //#include <dhcpdef.h>
  80. /*==========================< Includes for IPX Test >=======================*/
  81. #include <mprapi.h>
  82. #define BUFF_SIZE 650
  83. /*===========================< NetBT vars >===============================*/
  84. #define NETBIOS_NAME_SIZE 16
  85. #define ALL_IP_TRANSPORTS 0xFFFFFFFF
  86. #define NL_IP_ADDRESS_LENGTH 15
  87. #define NL_MAX_DNS_LENGTH 255
  88. #endif