1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00

inetcomm/tests: Use nameless unions/structs.

This commit is contained in:
Alexandre Julliard 2023-07-20 11:35:24 +02:00
parent 17bccc860a
commit d578e7981a
2 changed files with 3 additions and 7 deletions

View File

@ -19,8 +19,6 @@
*/
#define COBJMACROS
#define NONAMELESSUNION
#include "windows.h"
#include "ole2.h"
#include "ocidl.h"

View File

@ -19,8 +19,6 @@
*/
#define COBJMACROS
#define NONAMELESSUNION
#include "initguid.h"
#include "windows.h"
#include "ole2.h"
@ -204,7 +202,7 @@ static void test_CreateBody(void)
ok(hr == S_OK, "ret %08lx\n", hr);
off.QuadPart = 0;
IStream_Seek(in, off, STREAM_SEEK_CUR, &pos);
ok(pos.u.LowPart == 359, "pos %lu\n", pos.u.LowPart);
ok(pos.LowPart == 359, "pos %lu\n", pos.LowPart);
hr = IMimeBody_IsContentType(body, "multipart", "mixed");
ok(hr == S_OK, "ret %08lx\n", hr);
@ -347,7 +345,7 @@ static HRESULT WINAPI Stream_Seek(IStream *iface, LARGE_INTEGER dlibMove, DWORD
if(dwOrigin == STREAM_SEEK_END) {
CHECK_EXPECT(Stream_Seek_END);
ok(dlibMove.QuadPart == expect_seek_pos, "unexpected seek pos %lu\n", dlibMove.u.LowPart);
ok(dlibMove.QuadPart == expect_seek_pos, "unexpected seek pos %lu\n", dlibMove.LowPart);
if(plibNewPosition)
plibNewPosition->QuadPart = 10;
return S_OK;
@ -355,7 +353,7 @@ static HRESULT WINAPI Stream_Seek(IStream *iface, LARGE_INTEGER dlibMove, DWORD
CHECK_EXPECT(Stream_Seek);
ok(dlibMove.QuadPart == expect_seek_pos, "unexpected seek pos %lu\n", dlibMove.u.LowPart);
ok(dlibMove.QuadPart == expect_seek_pos, "unexpected seek pos %lu\n", dlibMove.LowPart);
ok(dwOrigin == STREAM_SEEK_SET, "dwOrigin = %ld\n", dwOrigin);
This->pos = dlibMove.QuadPart;
if(plibNewPosition)