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
f4c2317a
Commit
f4c2317a
authored
Jul 21, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Jul 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Implement IWinHttpRequest::Abort.
parent
52d134b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
2 deletions
+22
-2
request.c
dlls/winhttp/request.c
+22
-2
No files found.
dlls/winhttp/request.c
View file @
f4c2317a
...
...
@@ -2770,8 +2770,28 @@ static HRESULT WINAPI winhttp_request_WaitForResponse(
static
HRESULT
WINAPI
winhttp_request_Abort
(
IWinHttpRequest
*
iface
)
{
FIXME
(
"
\n
"
);
return
E_NOTIMPL
;
struct
winhttp_request
*
request
=
impl_from_IWinHttpRequest
(
iface
);
TRACE
(
"%p
\n
"
,
request
);
SetEvent
(
request
->
cancel
);
WinHttpCloseHandle
(
request
->
hrequest
);
WinHttpCloseHandle
(
request
->
hconnect
);
WinHttpCloseHandle
(
request
->
hsession
);
CloseHandle
(
request
->
wait
);
CloseHandle
(
request
->
cancel
);
heap_free
(
request
->
buffer
);
request
->
state
=
REQUEST_STATE_INVALID
;
request
->
hrequest
=
NULL
;
request
->
hconnect
=
NULL
;
request
->
hsession
=
NULL
;
request
->
wait
=
NULL
;
request
->
cancel
=
NULL
;
request
->
buffer
=
NULL
;
request
->
ptr
=
NULL
;
request
->
bytes_available
=
0
;
request
->
bytes_read
=
0
;
return
S_OK
;
}
static
HRESULT
WINAPI
winhttp_request_SetTimeouts
(
...
...
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