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
bcc4040d
Commit
bcc4040d
authored
Mar 05, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Mar 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Implement WINHTTP_QUERY_STATUS_TEXT.
parent
73d316c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
request.c
dlls/winhttp/request.c
+18
-0
No files found.
dlls/winhttp/request.c
View file @
bcc4040d
...
...
@@ -670,6 +670,24 @@ static BOOL query_headers( request_t *request, DWORD level, LPCWSTR name, LPVOID
*
buflen
=
len
-
sizeof
(
WCHAR
);
return
ret
;
}
case
WINHTTP_QUERY_STATUS_TEXT
:
{
DWORD
len
=
(
strlenW
(
request
->
status_text
)
+
1
)
*
sizeof
(
WCHAR
);
if
(
len
>
*
buflen
)
{
set_last_error
(
ERROR_INSUFFICIENT_BUFFER
);
*
buflen
=
len
;
return
FALSE
;
}
else
if
(
buffer
)
{
strcpyW
(
buffer
,
request
->
status_text
);
TRACE
(
"returning string: %s
\n
"
,
debugstr_w
(
buffer
));
ret
=
TRUE
;
}
*
buflen
=
len
-
sizeof
(
WCHAR
);
return
ret
;
}
default:
{
if
(
attr
>=
sizeof
(
attribute_table
)
/
sizeof
(
attribute_table
[
0
])
||
!
attribute_table
[
attr
])
...
...
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