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
da38b66a
Commit
da38b66a
authored
Jun 21, 2005
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Jun 21, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved ObtainUserAgentString stub.
parent
06e23dad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
urlmon_main.c
dlls/urlmon/urlmon_main.c
+6
-0
No files found.
dlls/urlmon/urlmon_main.c
View file @
da38b66a
...
@@ -269,6 +269,8 @@ HRESULT WINAPI UrlMkGetSessionOption(DWORD dwOption, LPVOID pBuffer, DWORD dwBuf
...
@@ -269,6 +269,8 @@ HRESULT WINAPI UrlMkGetSessionOption(DWORD dwOption, LPVOID pBuffer, DWORD dwBuf
return
S_OK
;
return
S_OK
;
}
}
static
const
CHAR
Agent
[]
=
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"
;
/**************************************************************************
/**************************************************************************
* ObtainUserAgentString (URLMON.@)
* ObtainUserAgentString (URLMON.@)
*/
*/
...
@@ -280,6 +282,10 @@ HRESULT WINAPI ObtainUserAgentString(DWORD dwOption, LPSTR pcszUAOut, DWORD *cbS
...
@@ -280,6 +282,10 @@ HRESULT WINAPI ObtainUserAgentString(DWORD dwOption, LPSTR pcszUAOut, DWORD *cbS
ERR
(
"dwOption: %ld, must be zero
\n
"
,
dwOption
);
ERR
(
"dwOption: %ld, must be zero
\n
"
,
dwOption
);
}
}
if
(
sizeof
(
Agent
)
<
*
cbSize
)
*
cbSize
=
sizeof
(
Agent
);
lstrcpynA
(
pcszUAOut
,
Agent
,
*
cbSize
);
return
S_OK
;
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