WPFtpMsg.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. //
  2. // Values are 32 bit values layed out as follows:
  3. //
  4. // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  5. // 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  6. // +---+-+-+-----------------------+-------------------------------+
  7. // |Sev|C|R| Facility | Code |
  8. // +---+-+-+-----------------------+-------------------------------+
  9. //
  10. // where
  11. //
  12. // Sev - is the severity code
  13. //
  14. // 00 - Success
  15. // 01 - Informational
  16. // 10 - Warning
  17. // 11 - Error
  18. //
  19. // C - is the Customer code flag
  20. //
  21. // R - is a reserved bit
  22. //
  23. // Facility - is the facility code
  24. //
  25. // Code - is the facility's status code
  26. //
  27. //
  28. // Define the facility codes
  29. //
  30. //
  31. // Define the severity codes
  32. //
  33. //
  34. // MessageId: FTPWPP_ERROR_FIRST
  35. //
  36. // MessageText:
  37. //
  38. // CFtpWpp's first error message.
  39. //
  40. #define FTPWPP_ERROR_FIRST 0x40042300L
  41. //
  42. // MessageId: FTPWPP_ERROR_INETOPEN_FAILED
  43. //
  44. // MessageText:
  45. //
  46. // The FTP provider could not connect to the internet.
  47. //
  48. #define FTPWPP_ERROR_INETOPEN_FAILED 0xC0042301L
  49. //
  50. // MessageId: FTPWPP_ERROR_AUTHENTICATION_FAILED
  51. //
  52. // MessageText:
  53. //
  54. // The FTP provider could not log in to the FTP server.
  55. //
  56. #define FTPWPP_ERROR_AUTHENTICATION_FAILED 0xC0042302L
  57. //
  58. // MessageId: FTPWPP_ERROR_LAST
  59. //
  60. // MessageText:
  61. //
  62. // CFtpWpp's last error message.
  63. //
  64. #define FTPWPP_ERROR_LAST 0x400423FFL