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