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