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.

71 lines
1.9 KiB

  1. //+----------------------------------------------------------------------------
  2. //
  3. // Copyright (C) 1997, Microsoft Corporation
  4. //
  5. // File: struct.hxx
  6. //
  7. //-----------------------------------------------------------------------------
  8. #ifndef _STRUCT_HXX
  9. #define _STRUCT_HXX
  10. //
  11. // Undocumented
  12. //
  13. extern BOOLEAN fSwDebug;
  14. extern BOOLEAN fArgView;
  15. extern BOOLEAN fArgVerify;
  16. extern FILE *DebugOut;
  17. VOID
  18. MyPrintf(
  19. PWCHAR format,
  20. ...);
  21. VOID
  22. MyFPrintf(
  23. HANDLE hHandle,
  24. PWCHAR format,
  25. ...);
  26. //
  27. // Entry types
  28. //
  29. #define PKT_ENTRY_TYPE_DFS 0x0001
  30. #define PKT_ENTRY_TYPE_MACHINE 0x0002
  31. #define PKT_ENTRY_TYPE_NONDFS 0x0004
  32. #define PKT_ENTRY_TYPE_LEAFONLY 0x0008
  33. #define PKT_ENTRY_TYPE_OUTSIDE_MY_DOM 0x0010
  34. #define PKT_ENTRY_TYPE_INSITE_ONLY 0x0020 // Only give insite referrals.
  35. #define PKT_ENTRY_TYPE_SYSVOL 0x0040
  36. #define PKT_ENTRY_TYPE_REFERRAL_SVC 0x0080
  37. #define PKT_ENTRY_TYPE_PERMANENT 0x0100
  38. #define PKT_ENTRY_TYPE_DELETE_PENDING 0x0200
  39. #define PKT_ENTRY_TYPE_LOCAL 0x0400
  40. #define PKT_ENTRY_TYPE_LOCAL_XPOINT 0x0800
  41. #define PKT_ENTRY_TYPE_OFFLINE 0x2000
  42. #define PKT_ENTRY_TYPE_STALE 0x4000
  43. //
  44. // Sevice states
  45. //
  46. #define DFS_SERVICE_TYPE_MASTER (0x0001)
  47. #define DFS_SERVICE_TYPE_READONLY (0x0002)
  48. #define DFS_SERVICE_TYPE_LOCAL (0x0004)
  49. #define DFS_SERVICE_TYPE_REFERRAL (0x0008)
  50. #define DFS_SERVICE_TYPE_ACTIVE (0x0010)
  51. #define DFS_SERVICE_TYPE_DOWN_LEVEL (0x0020)
  52. #define DFS_SERVICE_TYPE_COSTLIER (0x0040)
  53. #define DFS_SERVICE_TYPE_OFFLINE (0x0080)
  54. extern BOOLEAN fSwDebug;
  55. VOID
  56. MyPrintf(
  57. PWCHAR format,
  58. ...);
  59. #define UNICODE_PATH_SEP L'\\'
  60. #endif _STRUCT_HXX