Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
175d873c
Commit
175d873c
authored
Jul 20, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml/tests: Use nameless unions/structs.
parent
75455010
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
htmldoc.c
dlls/mshtml/tests/htmldoc.c
+2
-2
script.c
dlls/mshtml/tests/script.c
+3
-3
No files found.
dlls/mshtml/tests/htmldoc.c
View file @
175d873c
...
...
@@ -802,7 +802,7 @@ static HRESULT WINAPI Protocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
ok
(
bindinfo
.
dwBindVerb
==
BINDVERB_POST
,
"bindinfo.dwBindVerb=%ld
\n
"
,
bindinfo
.
dwBindVerb
);
ok
(
bindinfo
.
cbstgmedData
==
8
,
"bindinfo.cbstgmedData=%ld
\n
"
,
bindinfo
.
cbstgmedData
);
ok
(
bindinfo
.
stgmedData
.
tymed
==
TYMED_HGLOBAL
,
"bindinfo.stgmedData.tymed=%ld
\n
"
,
bindinfo
.
stgmedData
.
tymed
);
ok
(
!
memcmp
(
U
(
bindinfo
.
stgmedData
)
.
hGlobal
,
"cmd=TEST"
,
8
),
"unexpected hGlobal
\n
"
);
ok
(
!
memcmp
(
bindinfo
.
stgmedData
.
hGlobal
,
"cmd=TEST"
,
8
),
"unexpected hGlobal
\n
"
);
}
ok
(
bindinfo
.
szCustomVerb
==
0
,
"bindinfo.szCustomVerb=%p
\n
"
,
bindinfo
.
szCustomVerb
);
if
(
is_mhtml
)
...
...
@@ -1632,7 +1632,7 @@ static void continue_binding(IBindStatusCallback *callback)
SET_EXPECT
(
Read
);
stgmedium
.
tymed
=
TYMED_ISTREAM
;
U
(
stgmedium
)
.
pstm
=
&
Stream
;
stgmedium
.
pstm
=
&
Stream
;
stgmedium
.
pUnkForRelease
=
(
IUnknown
*
)
&
Moniker
;
hres
=
IBindStatusCallback_OnDataAvailable
(
callback
,
BSCF_FIRSTDATANOTIFICATION
|
BSCF_LASTDATANOTIFICATION
,
...
...
dlls/mshtml/tests/script.c
View file @
175d873c
...
...
@@ -3864,7 +3864,7 @@ static void stream_write(const WCHAR *name, const WCHAR *data)
hres
=
IStream_Write
(
protocol_handler
->
stream
,
data
,
lstrlenW
(
data
)
*
sizeof
(
WCHAR
),
NULL
);
ok
(
hres
==
S_OK
,
"Write failed: %08lx
\n
"
,
hres
);
U
(
large_zero
)
.
QuadPart
=
0
;
large_zero
.
QuadPart
=
0
;
hres
=
IStream_Seek
(
protocol_handler
->
stream
,
large_zero
,
STREAM_SEEK_SET
,
NULL
);
ok
(
hres
==
S_OK
,
"Seek failed: %08lx
\n
"
,
hres
);
...
...
@@ -4042,10 +4042,10 @@ static HRESULT WINAPI ProtocolEx_StartEx(IInternetProtocolEx *iface, IUri *uri,
switch
(
This
->
bind_info
.
stgmedData
.
tymed
)
{
case
TYMED_HGLOBAL
:
This
->
size
=
This
->
bind_info
.
cbstgmedData
;
This
->
data
=
U
(
This
->
bind_info
.
stgmedData
)
.
hGlobal
;
This
->
data
=
This
->
bind_info
.
stgmedData
.
hGlobal
;
break
;
case
TYMED_ISTREAM
:
This
->
stream
=
U
(
This
->
bind_info
.
stgmedData
)
.
pstm
;
This
->
stream
=
This
->
bind_info
.
stgmedData
.
pstm
;
IStream_AddRef
(
This
->
stream
);
break
;
default:
...
...
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