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
90027800
Commit
90027800
authored
May 13, 2015
by
Hans Leidekker
Committed by
Alexandre Julliard
May 14, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Use the Unicode version of InternetReadFileEx.
parent
b41c0c18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
rpc_transport.c
dlls/rpcrt4/rpc_transport.c
+3
-3
No files found.
dlls/rpcrt4/rpc_transport.c
View file @
90027800
...
...
@@ -1855,7 +1855,7 @@ typedef struct _RpcHttpAsyncData
LONG
refs
;
HANDLE
completion_event
;
WORD
async_result
;
INTERNET_BUFFERS
A
inet_buffers
;
INTERNET_BUFFERS
W
inet_buffers
;
CRITICAL_SECTION
cs
;
}
RpcHttpAsyncData
;
...
...
@@ -1962,7 +1962,7 @@ static RpcConnection *rpcrt4_ncacn_http_alloc(void)
TRACE
(
"async data = %p
\n
"
,
httpc
->
async_data
);
httpc
->
cancel_event
=
CreateEventW
(
NULL
,
FALSE
,
FALSE
,
NULL
);
httpc
->
async_data
->
refs
=
1
;
httpc
->
async_data
->
inet_buffers
.
dwStructSize
=
sizeof
(
INTERNET_BUFFERS
A
);
httpc
->
async_data
->
inet_buffers
.
dwStructSize
=
sizeof
(
INTERNET_BUFFERS
W
);
httpc
->
async_data
->
inet_buffers
.
lpvBuffer
=
NULL
;
InitializeCriticalSection
(
&
httpc
->
async_data
->
cs
);
httpc
->
async_data
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": RpcHttpAsyncData.cs"
);
...
...
@@ -3027,7 +3027,7 @@ static int rpcrt4_ncacn_http_read(RpcConnection *Connection,
{
httpc
->
async_data
->
inet_buffers
.
dwBufferLength
=
bytes_left
;
prepare_async_request
(
httpc
->
async_data
);
ret
=
InternetReadFileEx
A
(
httpc
->
out_request
,
&
httpc
->
async_data
->
inet_buffers
,
IRF_ASYNC
,
0
);
ret
=
InternetReadFileEx
W
(
httpc
->
out_request
,
&
httpc
->
async_data
->
inet_buffers
,
IRF_ASYNC
,
0
);
status
=
wait_async_request
(
httpc
->
async_data
,
ret
,
httpc
->
cancel_event
);
if
(
status
!=
RPC_S_OK
)
{
if
(
status
==
RPC_S_CALL_CANCELLED
)
...
...
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