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.

69 lines
2.0 KiB

  1. // Copyright (c) 1996-1999 Microsoft Corporation
  2. //+-------------------------------------------------------------------------
  3. //
  4. // Microsoft Windows
  5. //
  6. // File: pch.cxx
  7. //
  8. // Contents: headers to be built into the precompiled header file
  9. //
  10. // include headers that don't change often in here
  11. //
  12. //--------------------------------------------------------------------------
  13. extern "C"
  14. {
  15. #include <nt.h> // NT definitions
  16. #include <ntrtl.h> // NT runtime library definitions
  17. #include <nturtl.h>
  18. }
  19. #include <fileno.hxx> // macros to be used with THIS_FILE_NUMBER
  20. #include <netevent.h>
  21. #include <windows.h> // Win32 type definitions
  22. #include <windowsx.h> // GET_WM_COMMAND_ID
  23. #include <winnetwk.h>
  24. #include <stdio.h>
  25. #include <string.h>
  26. #include <lmcons.h> // LAN Manager common definitions
  27. #include <lmerr.h> // LAN Manager network error definitions
  28. #include <lmshare.h>
  29. #include <lmsname.h> // LAN Manager service names
  30. #include <lmapibuf.h> // NetApiBufferFree
  31. #include <lmserver.h> // NetServerEnum
  32. #include <lmaccess.h> // NetUserGetInfo
  33. #ifndef UNICODE
  34. #define NetpGetDomainName NetpGetDomainNameT
  35. #endif
  36. #include <netlib.h> // LAN Man utility routines
  37. #undef NetpGetDomainName
  38. #include <netlibnt.h> // NetpNtStatusToApiStatus
  39. #include <netdebug.h> // NetpDbgPrint
  40. #include <stdlib.h>
  41. #include <tchar.h>
  42. //#include <tstring.h> // Transitional string functions
  43. //#include <icanon.h> // I_Net canonicalize functions
  44. //#include <align.h> // ROUND_UP_COUNT macro
  45. #include <svcs.h>
  46. //#include <apperr.h> // APE_AT_ID_NOT_FOUND
  47. extern "C"
  48. {
  49. #include <rpcutil.h> // Prototypes for MIDL user functions
  50. }
  51. #include <tchar.h>
  52. #include <dsgetdc.h> // DsGetDcName
  53. #include <cfiletim.hxx>
  54. #include <winldap.h>
  55. #include <new>