Re: [1/2] imagehlp: Add tests for ImageGetDigestStream

2010-07-18 Thread Andrey Turkin
On Sunday 18 July 2010 00:26:50 Henri Verbeet wrote: > On 17 July 2010 09:07, Andrey Turkin wrote: > > +#ifdef NONAMELESSUNION > > +# define U(x) (x).u > > +#else > > +# define U(x) (x) > > +#endif > > I think this is already done in wine/test.h? Right. Some other tests define NONAMELESSUNION a

Re: [1/2] imagehlp: Add tests for ImageGetDigestStream

2010-07-17 Thread Henri Verbeet
On 17 July 2010 09:07, Andrey Turkin wrote: > +#ifdef NONAMELESSUNION > +# define U(x) (x).u > +#else > +# define U(x) (x) > +#endif I think this is already done in wine/test.h? > +static BOOL WINAPI accumulating_stream_output(DIGEST_HANDLE handle, BYTE *pb, > + DWORD cb) "pb" can probably be c