IProgress.h 663 B

123456789101112131415161718192021222324252627282930
  1. // Interface/IProgress.h
  2. #ifndef __IPROGRESS_H
  3. #define __IPROGRESS_H
  4. #include "../Common/MyUnknown.h"
  5. #include "../Common/Types.h"
  6. #include "IDecl.h"
  7. DECL_INTERFACE(IProgress, 0, 5)
  8. {
  9. STDMETHOD(SetTotal)(UInt64 total) PURE;
  10. STDMETHOD(SetCompleted)(const UInt64 *completeValue) PURE;
  11. };
  12. /*
  13. // {23170F69-40C1-278A-0000-000000050002}
  14. DEFINE_GUID(IID_IProgress2,
  15. 0x23170F69, 0x40C1, 0x278A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x02);
  16. MIDL_INTERFACE("23170F69-40C1-278A-0000-000000050002")
  17. IProgress2: public IUnknown
  18. {
  19. public:
  20. STDMETHOD(SetTotal)(const UInt64 *total) PURE;
  21. STDMETHOD(SetCompleted)(const UInt64 *completeValue) PURE;
  22. };
  23. */
  24. #endif