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
23440d91
Commit
23440d91
authored
May 24, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
May 24, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Added better traces for status info in INTERNET_SendCallback.
parent
17d683b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
utility.c
dlls/wininet/utility.c
+14
-2
No files found.
dlls/wininet/utility.c
View file @
23440d91
...
...
@@ -286,6 +286,18 @@ static const char *get_callback_name(DWORD dwInternetStatus) {
return
"Unknown"
;
}
static
const
char
*
debugstr_status_info
(
DWORD
status
,
void
*
info
)
{
switch
(
status
)
{
case
INTERNET_STATUS_REQUEST_COMPLETE
:
{
INTERNET_ASYNC_RESULT
*
iar
=
info
;
return
wine_dbg_sprintf
(
"{%s, %d}"
,
wine_dbgstr_longlong
(
iar
->
dwResult
),
iar
->
dwError
);
}
default:
return
wine_dbg_sprintf
(
"%p"
,
info
);
}
}
VOID
INTERNET_SendCallback
(
object_header_t
*
hdr
,
DWORD_PTR
dwContext
,
DWORD
dwInternetStatus
,
LPVOID
lpvStatusInfo
,
DWORD
dwStatusInfoLength
)
...
...
@@ -331,9 +343,9 @@ VOID INTERNET_SendCallback(object_header_t *hdr, DWORD_PTR dwContext,
}
}
TRACE
(
" callback(%p) (%p (%p), %08lx, %d (%s), %
p
, %d)
\n
"
,
TRACE
(
" callback(%p) (%p (%p), %08lx, %d (%s), %
s
, %d)
\n
"
,
hdr
->
lpfnStatusCB
,
hdr
->
hInternet
,
hdr
,
dwContext
,
dwInternetStatus
,
get_callback_name
(
dwInternetStatus
),
lpvNewInfo
,
dwStatusInfoLength
);
debugstr_status_info
(
dwInternetStatus
,
lpvNewInfo
)
,
dwStatusInfoLength
);
hdr
->
lpfnStatusCB
(
hdr
->
hInternet
,
dwContext
,
dwInternetStatus
,
lpvNewInfo
,
dwStatusInfoLength
);
...
...
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