Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
31cb9cfa
Commit
31cb9cfa
authored
Dec 21, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 21, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Don't use INTERNET_SetLastError in InternetSetOptionW.
parent
b73e31c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
internet.c
dlls/wininet/internet.c
+10
-10
No files found.
dlls/wininet/internet.c
View file @
31cb9cfa
...
...
@@ -2282,11 +2282,11 @@ BOOL WINAPI InternetSetOptionW(HINTERNET hInternet, DWORD dwOption,
{
if
(
!
lpwhh
)
{
INTERNET_
SetLastError
(
ERROR_INTERNET_INCORRECT_HANDLE_TYPE
);
SetLastError
(
ERROR_INTERNET_INCORRECT_HANDLE_TYPE
);
return
FALSE
;
}
WININET_Release
(
lpwhh
);
INTERNET_
SetLastError
(
ERROR_INTERNET_OPTION_NOT_SETTABLE
);
SetLastError
(
ERROR_INTERNET_OPTION_NOT_SETTABLE
);
return
FALSE
;
}
case
INTERNET_OPTION_HTTP_VERSION
:
...
...
@@ -2373,37 +2373,37 @@ BOOL WINAPI InternetSetOptionW(HINTERNET hInternet, DWORD dwOption,
break
;
case
INTERNET_OPTION_HTTP_DECODING
:
FIXME
(
"INTERNET_OPTION_HTTP_DECODING; STUB
\n
"
);
INTERNET_
SetLastError
(
ERROR_INTERNET_INVALID_OPTION
);
SetLastError
(
ERROR_INTERNET_INVALID_OPTION
);
ret
=
FALSE
;
break
;
case
INTERNET_OPTION_COOKIES_3RD_PARTY
:
FIXME
(
"INTERNET_OPTION_COOKIES_3RD_PARTY; STUB
\n
"
);
INTERNET_
SetLastError
(
ERROR_INTERNET_INVALID_OPTION
);
SetLastError
(
ERROR_INTERNET_INVALID_OPTION
);
ret
=
FALSE
;
break
;
case
INTERNET_OPTION_SEND_UTF8_SERVERNAME_TO_PROXY
:
FIXME
(
"INTERNET_OPTION_SEND_UTF8_SERVERNAME_TO_PROXY; STUB
\n
"
);
INTERNET_
SetLastError
(
ERROR_INTERNET_INVALID_OPTION
);
SetLastError
(
ERROR_INTERNET_INVALID_OPTION
);
ret
=
FALSE
;
break
;
case
INTERNET_OPTION_CODEPAGE_PATH
:
FIXME
(
"INTERNET_OPTION_CODEPAGE_PATH; STUB
\n
"
);
INTERNET_
SetLastError
(
ERROR_INTERNET_INVALID_OPTION
);
SetLastError
(
ERROR_INTERNET_INVALID_OPTION
);
ret
=
FALSE
;
break
;
case
INTERNET_OPTION_CODEPAGE_EXTRA
:
FIXME
(
"INTERNET_OPTION_CODEPAGE_EXTRA; STUB
\n
"
);
INTERNET_
SetLastError
(
ERROR_INTERNET_INVALID_OPTION
);
SetLastError
(
ERROR_INTERNET_INVALID_OPTION
);
ret
=
FALSE
;
break
;
case
INTERNET_OPTION_IDN
:
FIXME
(
"INTERNET_OPTION_IDN; STUB
\n
"
);
INTERNET_
SetLastError
(
ERROR_INTERNET_INVALID_OPTION
);
SetLastError
(
ERROR_INTERNET_INVALID_OPTION
);
ret
=
FALSE
;
break
;
default:
FIXME
(
"Option %d STUB
\n
"
,
dwOption
);
INTERNET_
SetLastError
(
ERROR_INTERNET_INVALID_OPTION
);
SetLastError
(
ERROR_INTERNET_INVALID_OPTION
);
ret
=
FALSE
;
break
;
}
...
...
@@ -2510,7 +2510,7 @@ BOOL WINAPI InternetSetOptionExW(HINTERNET hInternet, DWORD dwOption,
FIXME
(
"Flags %08x ignored
\n
"
,
dwFlags
);
if
(
dwFlags
&
~
ISO_VALID_FLAGS
)
{
INTERNET_
SetLastError
(
ERROR_INVALID_PARAMETER
);
SetLastError
(
ERROR_INVALID_PARAMETER
);
return
FALSE
;
}
return
InternetSetOptionW
(
hInternet
,
dwOption
,
lpBuffer
,
dwBufferLength
);
...
...
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