Win32Error.cs 513 B

1234567891011121314151617
  1. namespace SMBLibrary
  2. {
  3. // All Win32 error codes MUST be in the range 0x0000 to 0xFFFF
  4. public enum Win32Error : ushort
  5. {
  6. ERROR_SUCCESS = 0x0000,
  7. ERROR_ACCESS_DENIED = 0x0005,
  8. ERROR_SHARING_VIOLATION = 0x0020,
  9. ERROR_DISK_FULL = 0x0070,
  10. ERROR_LOGON_FAILURE = 0x052E,
  11. ERROR_ACCOUNT_RESTRICTION = 0x052F,
  12. ERROR_ACCOUNT_DISABLED = 0x0533,
  13. ERROR_LOGON_TYPE_NOT_GRANTED = 0x0569,
  14. NERR_NetNameNotFound = 0x0906,
  15. }
  16. }