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
e4282a59
Commit
e4282a59
authored
Jul 09, 2007
by
Misha Koshelev
Committed by
Alexandre Julliard
Jul 10, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Improve ObtainUserAgentString conformance to native.
parent
17ba7419
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
urlmon_main.c
dlls/urlmon/urlmon_main.c
+8
-3
No files found.
dlls/urlmon/urlmon_main.c
View file @
e4282a59
...
...
@@ -304,13 +304,18 @@ HRESULT WINAPI ObtainUserAgentString(DWORD dwOption, LPSTR pcszUAOut, DWORD *cbS
{
FIXME
(
"(%d, %p, %p): stub
\n
"
,
dwOption
,
pcszUAOut
,
cbSize
);
if
(
dwOption
)
{
ERR
(
"dwOption: %d, must be zero
\n
"
,
dwOption
);
if
(
pcszUAOut
==
NULL
||
cbSize
==
NULL
)
return
E_INVALIDARG
;
if
(
*
cbSize
<
sizeof
(
Agent
))
{
*
cbSize
=
sizeof
(
Agent
);
return
E_OUTOFMEMORY
;
}
if
(
sizeof
(
Agent
)
<
*
cbSize
)
*
cbSize
=
sizeof
(
Agent
);
lstrcpynA
(
pcszUAOut
,
Agent
,
*
cbSize
);
lstrcpynA
(
pcszUAOut
,
Agent
,
*
cbSize
);
return
S_OK
;
}
...
...
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