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.

42 lines
1.6 KiB

  1. //-------------------------------------------------------------------------
  2. //
  3. // File: dfserr.h
  4. //
  5. // Contents: This file has all the DFS driver error codes defined.
  6. // This includes only NTSTATUS codes returned from the
  7. // DFS driver. For user-level HRESULTs, see oleerror.mc.
  8. //
  9. // History: 04-Feb-93 SudK Created.
  10. // 23 Sep 93 Alanw Cleaned up, changed naming
  11. // convention to be DFS_STATUS_xxx
  12. //
  13. // NOTES: These error codes probably need to be differentiated from
  14. // the generic mappings used. Keep in mind for next generation DFS
  15. //
  16. //-------------------------------------------------------------------------
  17. #ifndef _DFSERR_H_
  18. #define _DFSERR_H_
  19. //
  20. // The following are errror status codes which can be returned by the
  21. // DFS driver.
  22. //
  23. #define DFS_STATUS_NOSUCH_LOCAL_VOLUME STATUS_OBJECT_NAME_NOT_FOUND
  24. #define DFS_STATUS_BAD_EXIT_POINT STATUS_OBJECT_NAME_INVALID
  25. #define DFS_STATUS_STORAGEID_ALREADY_INUSE STATUS_OBJECT_NAME_COLLISION
  26. #define DFS_STATUS_BAD_STORAGEID STATUS_OBJECT_PATH_INVALID
  27. //
  28. // Defines for PKT specific errors
  29. //
  30. #define DFS_STATUS_ENTRY_EXISTS STATUS_OBJECT_NAME_COLLISION
  31. #define DFS_STATUS_NO_SUCH_ENTRY STATUS_OBJECT_NAME_NOT_FOUND
  32. #define DFS_STATUS_NO_DOMAIN_SERVICE STATUS_CANT_ACCESS_DOMAIN_INFO
  33. #define DFS_STATUS_LOCAL_ENTRY STATUS_CANNOT_DELETE
  34. #define DFS_STATUS_INCONSISTENT STATUS_INTERNAL_DB_CORRUPTION
  35. #define DFS_STATUS_RESYNC_INFO STATUS_MEDIA_CHECK
  36. #endif // _DFSERR_H_