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