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.

51 lines
1.1 KiB

  1. //+----------------------------------------------------------------------------
  2. //
  3. // Copyright (C) 1996-1996, Microsoft Corporation.
  4. //
  5. // File: config.hxx
  6. //
  7. // Contents: Data for configuration
  8. //
  9. // History: 6-Feb-96 BruceFo created
  10. //
  11. //-----------------------------------------------------------------------------
  12. #define DFSTYPE_CREATE_FTDFS 1
  13. #define DFSTYPE_JOIN_FTDFS 2
  14. #define DFSTYPE_CREATE_DFS 3
  15. struct DFS_CONFIGURATION
  16. {
  17. BOOL fHostsDfs;
  18. BOOL fFTDfs;
  19. TCHAR szRootShare[NNLEN + 1];
  20. TCHAR szFTDfs[NNLEN + 1];
  21. int nDfsType; // DFS Flavour
  22. };
  23. int
  24. ConfigureDfs(
  25. IN HWND hwnd,
  26. IN DFS_CONFIGURATION* pConfiguration
  27. );
  28. int
  29. ConfigDfsShare(
  30. IN HWND hwnd,
  31. IN DFS_CONFIGURATION* pConfiguration
  32. );
  33. BOOL _InitConfigDfs(
  34. IN HWND hwnd,
  35. DFS_CONFIGURATION* pConfig
  36. );
  37. BOOL _VerifyState(IN HWND hwnd, IN int nType);
  38. BOOL _ValidateShare(LPCWSTR lpszShare);
  39. VOID _ShowDomainName(IN HWND hwnd);