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
1c507432
Commit
1c507432
authored
May 27, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
May 28, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Improve debug traces.
parent
4797edf4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
0 deletions
+46
-0
binding.c
dlls/urlmon/binding.c
+46
-0
No files found.
dlls/urlmon/binding.c
View file @
1c507432
...
...
@@ -198,6 +198,50 @@ static void on_progress(Binding *This, ULONG progress, ULONG progress_max,
PostMessageW
(
This
->
notif_hwnd
,
WM_MK_ONPROGRESS
,
0
,
(
LPARAM
)
data
);
}
static
void
dump_BINDINFO
(
BINDINFO
*
bi
)
{
static
const
char
*
BINDINFOF_str
[]
=
{
"#0"
,
"BINDINFOF_URLENCODESTGMEDDATA"
,
"BINDINFOF_URLENCODEDEXTRAINFO"
};
static
const
char
*
BINDVERB_str
[]
=
{
"BINDVERB_GET"
,
"BINDVERB_POST"
,
"BINDVERB_PUT"
,
"BINDVERB_CUSTOM"
};
TRACE
(
"
\n
"
"BINDINFO = {
\n
"
" %ld, %s,
\n
"
" {%ld, %p, %p},
\n
"
" %s,
\n
"
" %s,
\n
"
" %s,
\n
"
" %ld, %08lx, %ld, %ld
\n
"
" {%ld %p %x},
\n
"
" %s
\n
"
" %p, %ld
\n
"
"}
\n
"
,
bi
->
cbSize
,
debugstr_w
(
bi
->
szExtraInfo
),
bi
->
stgmedData
.
tymed
,
bi
->
stgmedData
.
u
.
hGlobal
,
bi
->
stgmedData
.
pUnkForRelease
,
bi
->
grfBindInfoF
>
BINDINFOF_URLENCODEDEXTRAINFO
?
"unknown"
:
BINDINFOF_str
[
bi
->
grfBindInfoF
],
bi
->
dwBindVerb
>
BINDVERB_CUSTOM
?
"unknown"
:
BINDVERB_str
[
bi
->
dwBindVerb
],
debugstr_w
(
bi
->
szCustomVerb
),
bi
->
cbStgmedData
,
bi
->
dwOptions
,
bi
->
dwOptionsFlags
,
bi
->
dwCodePage
,
bi
->
securityAttributes
.
nLength
,
bi
->
securityAttributes
.
lpSecurityDescriptor
,
bi
->
securityAttributes
.
bInheritHandle
,
debugstr_guid
(
&
bi
->
iid
),
bi
->
pUnk
,
bi
->
dwReserved
);
}
static
HRESULT
WINAPI
HttpNegotiate_QueryInterface
(
IHttpNegotiate2
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
...
...
@@ -1013,6 +1057,8 @@ static HRESULT Binding_Create(LPCWSTR url, IBindCtx *pbc, REFIID riid, Binding *
return
hres
;
}
dump_BINDINFO
(
&
ret
->
bindinfo
);
ret
->
bindf
|=
BINDF_FROMURLMON
;
len
=
strlenW
(
url
)
+
1
;
...
...
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