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
6155a677
Commit
6155a677
authored
May 25, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
May 25, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Added ReportResult implementation.
parent
225333d7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
binding.c
dlls/urlmon/binding.c
+5
-3
url.c
dlls/urlmon/tests/url.c
+4
-3
No files found.
dlls/urlmon/binding.c
View file @
6155a677
...
...
@@ -602,8 +602,11 @@ static HRESULT WINAPI InternetProtocolSink_ReportResult(IInternetProtocolSink *i
HRESULT
hrResult
,
DWORD
dwError
,
LPCWSTR
szResult
)
{
Binding
*
This
=
PROTSINK_THIS
(
iface
);
FIXME
(
"(%p)->(%08lx %ld %s)
\n
"
,
This
,
hrResult
,
dwError
,
debugstr_w
(
szResult
));
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%08lx %ld %s)
\n
"
,
This
,
hrResult
,
dwError
,
debugstr_w
(
szResult
));
IInternetProtocol_Terminate
(
This
->
protocol
,
0
);
return
S_OK
;
}
#undef PROTSINK_THIS
...
...
@@ -904,7 +907,6 @@ HRESULT start_binding(LPCWSTR url, IBindCtx *pbc, REFIID riid, void **ppv)
hres
=
IInternetProtocol_Start
(
binding
->
protocol
,
url
,
PROTSINK
(
binding
),
BINDINF
(
binding
),
0
,
0
);
IInternetProtocol_Terminate
(
binding
->
protocol
,
0
);
if
(
SUCCEEDED
(
hres
))
{
IInternetProtocol_UnlockRequest
(
binding
->
protocol
);
...
...
dlls/urlmon/tests/url.c
View file @
6155a677
...
...
@@ -226,7 +226,10 @@ static HRESULT WINAPI Protocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
CHECK_CALLED
(
OnDataAvailable
);
CHECK_CALLED
(
OnStopBinding
);
IInternetProtocolSink_ReportResult
(
pOIProtSink
,
S_OK
,
0
,
NULL
);
SET_EXPECT
(
Terminate
);
hres
=
IInternetProtocolSink_ReportResult
(
pOIProtSink
,
S_OK
,
0
,
NULL
);
ok
(
hres
==
S_OK
,
"ReportResult failed: %08lx
\n
"
,
hres
);
CHECK_CALLED
(
Terminate
);
return
S_OK
;
}
...
...
@@ -620,7 +623,6 @@ static void test_BindToStorage(void)
SET_EXPECT
(
OnStartBinding
);
if
(
emulate_protocol
)
{
SET_EXPECT
(
Start
);
SET_EXPECT
(
Terminate
);
SET_EXPECT
(
UnlockRequest
);
}
else
{
if
(
test_protocol
==
HTTP_TEST
)
{
...
...
@@ -661,7 +663,6 @@ static void test_BindToStorage(void)
CHECK_CALLED
(
OnStartBinding
);
if
(
emulate_protocol
)
{
CHECK_CALLED
(
Start
);
CHECK_CALLED
(
Terminate
);
CHECK_CALLED
(
UnlockRequest
);
}
else
{
if
(
test_protocol
==
HTTP_TEST
)
{
...
...
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