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.

99 lines
3.0 KiB

  1. //
  2. // Copyright 1997 - Microsoft
  3. //
  4. //
  5. // PCH.H - Precompiled header
  6. //
  7. #if DBG==1
  8. #define DEBUG
  9. #endif // DBG==1
  10. #ifdef DEBUG
  11. // Turn these on for Interface Tracking
  12. #define NO_TRACE_INTERFACES
  13. // #define NOISY_QI
  14. #endif
  15. #define INLINE_HRESULT_FROM_WIN32
  16. //
  17. // Global includes
  18. //
  19. #include <nt.h>
  20. #include <ntrtl.h>
  21. #include <nturtl.h>
  22. #include <windows.h>
  23. #include <comutil.h>
  24. #include <stdio.h>
  25. #include <shlobj.h>
  26. #include <shlwapi.h>
  27. #include <windowsx.h>
  28. #include <activeds.h>
  29. #include <dsclient.h>
  30. #include <prsht.h>
  31. #include <mmc.h>
  32. #include <ntdsapi.h>
  33. #include <remboot.h>
  34. #include <dsquery.h>
  35. #include <cmnquery.h>
  36. #include <dns.h>
  37. #include <dspropp.h>
  38. #include <dsadmin.h>
  39. #include "dll.h"
  40. #include "guids.h"
  41. #include "resource.h"
  42. #include "resource.hm"
  43. #include "cfactory.h"
  44. #include "itab.h"
  45. #include "utils.h"
  46. //
  47. // Global Defines
  48. //
  49. #define OSCHOOSER_SIF_SECTION L"OSChooser"
  50. #define OSCHOOSER_DESCRIPTION_ENTRY L"Description"
  51. #define OSCHOOSER_HELPTEXT_ENTRY L"Help"
  52. #define OSCHOOSER_VERSION_ENTRY L"Version"
  53. #define OSCHOOSER_IMAGETYPE_ENTRY L"ImageType"
  54. #define OSCHOOSER_IMAGETYPE_FLAT L"Flat"
  55. #define OSCHOOSER_LAUNCHFILE_ENTRY L"LaunchFile"
  56. // object attributes
  57. #define NETBOOTALLOWNEWCLIENTS L"netbootAllowNewClients"
  58. #define NETBOOTLIMITCLIENTS L"netbootLimitClients"
  59. #define NETBOOTMAXCLIENTS L"netbootMaxClients"
  60. #define NETBOOTCURRENTCLIENTCOUNT L"netbootCurrentClientCount"
  61. #define NETBOOTANSWERREQUESTS L"netbootAnswerRequests"
  62. #define NETBOOTANSWERONLYVALIDCLIENTS L"netbootAnswerOnlyValidClients"
  63. #define NETBOOTNEWMACHINENAMINGPOLICY L"netbootNewMachineNamingPolicy"
  64. #define NETBOOTNEWMACHINEOU L"netbootNewMachineOU"
  65. #define NETBOOTINTELLIMIRROROSES L"netbootIntelliMirrorOSes"
  66. #define NETBOOTTOOLS L"netbootTools"
  67. #define NETBOOTGUID L"netbootGUID"
  68. #define NETBOOTMACHINEFILEPATH L"netbootMachineFilepath"
  69. #define NETBOOTINITIALIZATION L"netbootInitialization"
  70. #define NETBOOTSAP L"netbootSCPBL"
  71. #define NETBOOTSERVER L"netbootServer"
  72. #define SAMNAME L"sAMAccountName"
  73. #define DISTINGUISHEDNAME L"distinguishedName"
  74. #define DS_CN L"cn"
  75. // DS class names
  76. #define DSCOMPUTERCLASSNAME L"computer"
  77. #define DSGROUPCLASSNAME L"intelliMirrorGroup"
  78. #define DSIMSAPCLASSNAME L"intellimirrorSCP"
  79. // path strings
  80. #define SLASH_TEMPLATES L"\\" REMOTE_INSTALL_TEMPLATES_DIR_W
  81. #define SLASH_SETUP L"\\" REMOTE_INSTALL_SETUP_DIR_W
  82. #define SLASH_IMAGES L"\\" REMOTE_INSTALL_IMAGE_DIR_W
  83. #define REMINST_SHARE REMOTE_INSTALL_SHARE_NAME_W
  84. // misc
  85. #define STRING_ADMIN L"admin"
  86. #define BINL_SERVER_NAME L"BINLSVC"