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
194b4025
Commit
194b4025
authored
Jul 14, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Use nameless unions/structs.
parent
8de0a9dc
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
9 deletions
+5
-9
bsc.c
dlls/msxml3/bsc.c
+1
-2
httprequest.c
dlls/msxml3/httprequest.c
+2
-3
xmlview.c
dlls/msxml3/xmlview.c
+2
-4
No files found.
dlls/msxml3/bsc.c
View file @
194b4025
...
...
@@ -17,7 +17,6 @@
*/
#define COBJMACROS
#define NONAMELESSUNION
#include <stdarg.h>
...
...
@@ -206,7 +205,7 @@ static HRESULT WINAPI bsc_OnDataAvailable(
do
{
hr
=
IStream_Read
(
pstgmed
->
u
.
pstm
,
buf
,
sizeof
(
buf
),
&
read
);
hr
=
IStream_Read
(
pstgmed
->
pstm
,
buf
,
sizeof
(
buf
),
&
read
);
if
(
FAILED
(
hr
))
break
;
...
...
dlls/msxml3/httprequest.c
View file @
194b4025
...
...
@@ -20,7 +20,6 @@
*/
#define COBJMACROS
#define NONAMELESSUNION
#include <stdarg.h>
...
...
@@ -375,7 +374,7 @@ static HRESULT WINAPI BindStatusCallback_GetBindInfo(IBindStatusCallback *iface,
if
(
This
->
request
->
verb
!=
BINDVERB_GET
&&
This
->
body
)
{
pbindinfo
->
stgmedData
.
tymed
=
TYMED_HGLOBAL
;
pbindinfo
->
stgmedData
.
u
.
hGlobal
=
This
->
body
;
pbindinfo
->
stgmedData
.
hGlobal
=
This
->
body
;
pbindinfo
->
cbstgmedData
=
GlobalSize
(
This
->
body
);
/* callback owns passed body pointer */
IBindStatusCallback_QueryInterface
(
iface
,
&
IID_IUnknown
,
(
void
**
)
&
pbindinfo
->
stgmedData
.
pUnkForRelease
);
...
...
@@ -403,7 +402,7 @@ static HRESULT WINAPI BindStatusCallback_OnDataAvailable(IBindStatusCallback *if
do
{
hr
=
IStream_Read
(
stgmed
->
u
.
pstm
,
buf
,
sizeof
(
buf
),
&
read
);
hr
=
IStream_Read
(
stgmed
->
pstm
,
buf
,
sizeof
(
buf
),
&
read
);
if
(
hr
!=
S_OK
)
break
;
hr
=
IStream_Write
(
This
->
stream
,
buf
,
read
,
&
written
);
...
...
dlls/msxml3/xmlview.c
View file @
194b4025
...
...
@@ -19,8 +19,6 @@
#include <stdarg.h>
#define COBJMACROS
#define NONAMELESSUNION
#include "windef.h"
#include "winbase.h"
#include "ole2.h"
...
...
@@ -348,7 +346,7 @@ static inline HRESULT report_data(BindStatusCallback *This)
return
hres
;
stgmedium
.
tymed
=
TYMED_ISTREAM
;
stgmedium
.
u
.
pstm
=
This
->
stream
;
stgmedium
.
pstm
=
This
->
stream
;
stgmedium
.
pUnkForRelease
=
NULL
;
hres
=
IBindStatusCallback_OnDataAvailable
(
This
->
bsc
,
...
...
@@ -518,7 +516,7 @@ static HRESULT WINAPI XMLView_BindStatusCallback_OnDataAvailable(
return
E_FAIL
;
do
{
hres
=
IStream_Read
(
pstgmed
->
u
.
pstm
,
buf
,
sizeof
(
buf
),
&
size
);
hres
=
IStream_Read
(
pstgmed
->
pstm
,
buf
,
sizeof
(
buf
),
&
size
);
IStream_Write
(
This
->
stream
,
buf
,
size
,
&
size
);
}
while
(
hres
==
S_OK
&&
size
);
...
...
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