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.

56 lines
1.0 KiB

  1. /*++
  2. Copyright (c) 1991-1993 Microsoft Corporation
  3. Module Name:
  4. PORTUAS.H
  5. Abstract:
  6. Header file for UAS->SAM porting runtime function.
  7. Author:
  8. Shanku Niyogi (W-SHANKN) 29-Oct-1991
  9. Revision History:
  10. 29-Oct-1991 w-shankn
  11. Created.
  12. 20-Oct-1992 JohnRo
  13. RAID 9020 ("prompt on conflicts" version).
  14. 30-Jul-1993 JohnRo
  15. RAID NTISSUE 2260: PortUAS returns a NetUserAdd error=1379 with local
  16. group.
  17. --*/
  18. #ifndef _PORTUAS_
  19. #define _PORTUAS_
  20. //
  21. // Equates for name prompt reasons.
  22. //
  23. #define REASON_CONFLICT_WITH_USERNAME ((DWORD) 1)
  24. #define REASON_CONFLICT_WITH_GROUP ((DWORD) 2)
  25. #define REASON_CONFLICT_WITH_DOMAIN ((DWORD) 3)
  26. #ifdef FAT8
  27. #define REASON_NAME_LONG_FOR_TEMP_REG ((DWORD) 4)
  28. #endif
  29. #define REASON_BAD_NAME_SYNTAX ((DWORD) 5)
  30. #define REASON_CONFLICT_WITH_LOCALGROUP ((DWORD) 6)
  31. //
  32. // Function prototype.
  33. //
  34. NET_API_STATUS
  35. PortUas(
  36. IN LPTSTR UasPathName
  37. );
  38. #endif // _PORTUAS_