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
903d9c46
Commit
903d9c46
authored
Dec 03, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 03, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Remove a few more INTERNET_SetLastError calls.
parent
14b343fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
internet.c
dlls/wininet/internet.c
+8
-8
No files found.
dlls/wininet/internet.c
View file @
903d9c46
...
...
@@ -321,7 +321,7 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
BOOL
WINAPI
InternetInitializeAutoProxyDll
(
DWORD
dwReserved
)
{
FIXME
(
"STUB
\n
"
);
INTERNET_
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
...
...
@@ -338,7 +338,7 @@ BOOL WINAPI DetectAutoProxyUrl(LPSTR lpszAutoProxyUrl,
DWORD
dwAutoProxyUrlLength
,
DWORD
dwDetectFlags
)
{
FIXME
(
"STUB
\n
"
);
INTERNET_
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
...
...
@@ -2920,7 +2920,7 @@ static HINTERNET INTERNET_InternetOpenUrlW(appinfo_t *hIC, LPCWSTR lpszUrl,
/* gopher doesn't seem to be implemented in wine, but it's supposed
* to be supported by InternetOpenUrlA. */
default:
INTERNET_
SetLastError
(
ERROR_INTERNET_UNRECOGNIZED_SCHEME
);
SetLastError
(
ERROR_INTERNET_UNRECOGNIZED_SCHEME
);
break
;
}
...
...
@@ -2965,13 +2965,13 @@ HINTERNET WINAPI InternetOpenUrlW(HINTERNET hInternet, LPCWSTR lpszUrl,
if
(
!
lpszUrl
)
{
INTERNET_
SetLastError
(
ERROR_INVALID_PARAMETER
);
SetLastError
(
ERROR_INVALID_PARAMETER
);
goto
lend
;
}
hIC
=
(
appinfo_t
*
)
WININET_GetObject
(
hInternet
);
if
(
NULL
==
hIC
||
hIC
->
hdr
.
htype
!=
WH_HINIT
)
{
INTERNET_
SetLastError
(
ERROR_INTERNET_INCORRECT_HANDLE_TYPE
);
SetLastError
(
ERROR_INTERNET_INCORRECT_HANDLE_TYPE
);
goto
lend
;
}
...
...
@@ -2992,7 +2992,7 @@ HINTERNET WINAPI InternetOpenUrlW(HINTERNET hInternet, LPCWSTR lpszUrl,
/*
* This is from windows.
*/
INTERNET_
SetLastError
(
ERROR_IO_PENDING
);
SetLastError
(
ERROR_IO_PENDING
);
}
else
{
ret
=
INTERNET_InternetOpenUrlW
(
hIC
,
lpszUrl
,
lpszHeaders
,
dwHeadersLength
,
dwFlags
,
dwContext
);
}
...
...
@@ -3266,7 +3266,7 @@ BOOL WINAPI InternetQueryDataAvailable( HINTERNET hFile,
hdr
=
WININET_GetObject
(
hFile
);
if
(
!
hdr
)
{
INTERNET_
SetLastError
(
ERROR_INVALID_HANDLE
);
SetLastError
(
ERROR_INVALID_HANDLE
);
return
FALSE
;
}
...
...
@@ -3604,7 +3604,7 @@ BOOL WINAPI InternetCreateUrlA(LPURL_COMPONENTSA lpUrlComponents, DWORD dwFlags,
if
(
!
lpUrlComponents
||
lpUrlComponents
->
dwStructSize
!=
sizeof
(
URL_COMPONENTSW
)
||
!
lpdwUrlLength
)
{
INTERNET_
SetLastError
(
ERROR_INVALID_PARAMETER
);
SetLastError
(
ERROR_INVALID_PARAMETER
);
return
FALSE
;
}
...
...
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