Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d578e798
Commit
d578e798
authored
Jul 20, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inetcomm/tests: Use nameless unions/structs.
parent
17bccc86
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
mimeintl.c
dlls/inetcomm/tests/mimeintl.c
+0
-2
mimeole.c
dlls/inetcomm/tests/mimeole.c
+3
-5
No files found.
dlls/inetcomm/tests/mimeintl.c
View file @
d578e798
...
...
@@ -19,8 +19,6 @@
*/
#define COBJMACROS
#define NONAMELESSUNION
#include "windows.h"
#include "ole2.h"
#include "ocidl.h"
...
...
dlls/inetcomm/tests/mimeole.c
View file @
d578e798
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment