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.

104 lines
5.4 KiB

  1. /******************************************************************************
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name:
  4. UploadLibraryDID.h
  5. Abstract:
  6. This file contains the definition of some constants used by
  7. the UploadManager Classes.
  8. Revision History:
  9. Davide Massarenti (Dmassare) 06/13/99
  10. created
  11. ******************************************************************************/
  12. #if !defined(__INCLUDED___UL___UPLOADLIBRARYDID_H___)
  13. #define __INCLUDED___UL___UPLOADLIBRARYDID_H___
  14. /////////////////////////////////////////////////////////////////////////
  15. #define E_UPLOADLIBRARY_NOT_AUTHENTICATED MAKE_HRESULT(SEVERITY_ERROR,FACILITY_ITF,0x1001)
  16. #define E_UPLOADLIBRARY_ACCESS_DENIED MAKE_HRESULT(SEVERITY_ERROR,FACILITY_ITF,0x1002)
  17. #define E_UPLOADLIBRARY_SERVER_QUOTA_EXCEEDED MAKE_HRESULT(SEVERITY_ERROR,FACILITY_ITF,0x1003)
  18. #define E_UPLOADLIBRARY_SERVER_BUSY MAKE_HRESULT(SEVERITY_ERROR,FACILITY_ITF,0x1004)
  19. #define E_UPLOADLIBRARY_NO_DATA MAKE_HRESULT(SEVERITY_ERROR,FACILITY_ITF,0x1005)
  20. #define E_UPLOADLIBRARY_INVALID_PARAMETERS MAKE_HRESULT(SEVERITY_ERROR,FACILITY_ITF,0x1006)
  21. #define E_UPLOADLIBRARY_CLIENT_QUOTA_EXCEEDED MAKE_HRESULT(SEVERITY_ERROR,FACILITY_ITF,0x1007)
  22. #define E_UPLOADLIBRARY_WRONG_SERVER_VERSION MAKE_HRESULT(SEVERITY_ERROR,FACILITY_ITF,0x1008)
  23. #define E_UPLOADLIBRARY_UNEXPECTED_RESPONSE MAKE_HRESULT(SEVERITY_ERROR,FACILITY_ITF,0x1009)
  24. /////////////////////////////////////////////////////////////////////////
  25. #define DISPID_UL_BASE 0x08010000
  26. #define DISPID_UL_BASE_UPLOAD (DISPID_UL_BASE + 0x0000)
  27. #define DISPID_UL_BASE_UPLOADJOB (DISPID_UL_BASE + 0x0100)
  28. #define DISPID_UL_BASE_UPLOADEVENTS (DISPID_UL_BASE + 0x0200)
  29. #define DISPID_UL_BASE_CONNECTION (DISPID_UL_BASE + 0x0300)
  30. /////////////////////////////////////////////////////////////////////////
  31. #define DISPID_UL_UPLOAD_COUNT (DISPID_UL_BASE_UPLOAD + 0x0000)
  32. #define DISPID_UL_UPLOAD_CREATEJOB (DISPID_UL_BASE_UPLOAD + 0x0001)
  33. /////////////////////////////////////////////////////////////////////////
  34. #define DISPID_UL_UPLOADJOB_SIG (DISPID_UL_BASE_UPLOADJOB + 0x0000)
  35. #define DISPID_UL_UPLOADJOB_SERVER (DISPID_UL_BASE_UPLOADJOB + 0x0001)
  36. #define DISPID_UL_UPLOADJOB_JOBID (DISPID_UL_BASE_UPLOADJOB + 0x0002)
  37. #define DISPID_UL_UPLOADJOB_PROVIDERID (DISPID_UL_BASE_UPLOADJOB + 0x0003)
  38. #define DISPID_UL_UPLOADJOB_CREATOR (DISPID_UL_BASE_UPLOADJOB + 0x0010)
  39. #define DISPID_UL_UPLOADJOB_USERNAME (DISPID_UL_BASE_UPLOADJOB + 0x0011)
  40. #define DISPID_UL_UPLOADJOB_PASSWORD (DISPID_UL_BASE_UPLOADJOB + 0x0012)
  41. #define DISPID_UL_UPLOADJOB_ORIGINALSIZE (DISPID_UL_BASE_UPLOADJOB + 0x0020)
  42. #define DISPID_UL_UPLOADJOB_TOTALSIZE (DISPID_UL_BASE_UPLOADJOB + 0x0021)
  43. #define DISPID_UL_UPLOADJOB_SENTSIZE (DISPID_UL_BASE_UPLOADJOB + 0x0022)
  44. #define DISPID_UL_UPLOADJOB_HISTORY (DISPID_UL_BASE_UPLOADJOB + 0x0030)
  45. #define DISPID_UL_UPLOADJOB_STATUS (DISPID_UL_BASE_UPLOADJOB + 0x0031)
  46. #define DISPID_UL_UPLOADJOB_ERRORCODE (DISPID_UL_BASE_UPLOADJOB + 0x0032)
  47. #define DISPID_UL_UPLOADJOB_MODE (DISPID_UL_BASE_UPLOADJOB + 0x0040)
  48. #define DISPID_UL_UPLOADJOB_PERSISTTODISK (DISPID_UL_BASE_UPLOADJOB + 0x0041)
  49. #define DISPID_UL_UPLOADJOB_COMPRESSED (DISPID_UL_BASE_UPLOADJOB + 0x0042)
  50. #define DISPID_UL_UPLOADJOB_PRIORITY (DISPID_UL_BASE_UPLOADJOB + 0x0043)
  51. #define DISPID_UL_UPLOADJOB_CREATIONTIME (DISPID_UL_BASE_UPLOADJOB + 0x0050)
  52. #define DISPID_UL_UPLOADJOB_COMPLETETIME (DISPID_UL_BASE_UPLOADJOB + 0x0051)
  53. #define DISPID_UL_UPLOADJOB_EXPIRATIONTIME (DISPID_UL_BASE_UPLOADJOB + 0x0052)
  54. #define DISPID_UL_UPLOADJOB_ONSTATUSCHANGE (DISPID_UL_BASE_UPLOADJOB + 0x0060)
  55. #define DISPID_UL_UPLOADJOB_ONPROGRESSCHANGE (DISPID_UL_BASE_UPLOADJOB + 0x0061)
  56. #define DISPID_UL_UPLOADJOB_ACTIVATESYNC (DISPID_UL_BASE_UPLOADJOB + 0x0080)
  57. #define DISPID_UL_UPLOADJOB_ACTIVATEASYNC (DISPID_UL_BASE_UPLOADJOB + 0x0081)
  58. #define DISPID_UL_UPLOADJOB_SUSPEND (DISPID_UL_BASE_UPLOADJOB + 0x0082)
  59. #define DISPID_UL_UPLOADJOB_DELETE (DISPID_UL_BASE_UPLOADJOB + 0x0083)
  60. #define DISPID_UL_UPLOADJOB_GETDATAFROMFILE (DISPID_UL_BASE_UPLOADJOB + 0x0090)
  61. #define DISPID_UL_UPLOADJOB_PUTDATAINTOFILE (DISPID_UL_BASE_UPLOADJOB + 0x0091)
  62. #define DISPID_UL_UPLOADJOB_GETDATAFROMSTREAM (DISPID_UL_BASE_UPLOADJOB + 0x0092)
  63. #define DISPID_UL_UPLOADJOB_PUTDATAINTOSTREAM (DISPID_UL_BASE_UPLOADJOB + 0x0093)
  64. #define DISPID_UL_UPLOADJOB_GETRESPONSEASSTREAM (DISPID_UL_BASE_UPLOADJOB + 0x0094)
  65. /////////////////////////////////////////////////////////////////////////
  66. #define DISPID_UL_UPLOADEVENTS_ONSTATUSCHANGE (DISPID_UL_BASE_UPLOADEVENTS + 0x0000)
  67. #define DISPID_UL_UPLOADEVENTS_ONPROGRESSCHANGE (DISPID_UL_BASE_UPLOADEVENTS + 0x0001)
  68. /////////////////////////////////////////////////////////////////////////
  69. #define DISPID_UL_CONNECTION_AVAILABLE (DISPID_UL_BASE_CONNECTION + 0x0000)
  70. #define DISPID_UL_CONNECTION_ISAMODEM (DISPID_UL_BASE_CONNECTION + 0x0001)
  71. #define DISPID_UL_CONNECTION_BANDWIDTH (DISPID_UL_BASE_CONNECTION + 0x0002)
  72. /////////////////////////////////////////////////////////////////////////
  73. #endif // !defined(__INCLUDED___UL___UPLOADLIBRARYDID_H___)