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
cc02ef89
Commit
cc02ef89
authored
Jun 06, 2003
by
Sylvain Petreolle
Committed by
Alexandre Julliard
Jun 06, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented wininet.InternetGetConnectedStateEx.
parent
36d0e2ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
internet.c
dlls/wininet/internet.c
+24
-0
wininet.spec
dlls/wininet/wininet.spec
+1
-0
No files found.
dlls/wininet/internet.c
View file @
cc02ef89
...
...
@@ -380,6 +380,30 @@ BOOL WINAPI InternetGetConnectedState(LPDWORD lpdwStatus, DWORD dwReserved)
return
TRUE
;
}
/***********************************************************************
* InternetGetConnectedStateEx (WININET.@)
*
* Return connected state
*
* RETURNS
* TRUE if connected
* if lpdwStatus is not null, return the status (off line,
* modem, lan...) in it.
* FALSE if not connected
*/
BOOL
WINAPI
InternetGetConnectedStateExW
(
LPDWORD
lpdwStatus
,
LPWSTR
lpszConnectionName
,
DWORD
dwNameLen
,
DWORD
dwReserved
)
{
/* Must be zero */
if
(
dwReserved
)
return
FALSE
;
if
(
lpdwStatus
)
{
FIXME
(
"always returning LAN connection.
\n
"
);
*
lpdwStatus
=
INTERNET_CONNECTION_LAN
;
}
return
TRUE
;
}
/***********************************************************************
* InternetConnectA (WININET.@)
...
...
dlls/wininet/wininet.spec
View file @
cc02ef89
...
...
@@ -106,6 +106,7 @@
@ stub InternetFindNextFileW
@ stub InternetGetCertByURL
@ stdcall InternetGetConnectedState(ptr long)
@ stdcall InternetGetConnectedStateExW(ptr ptr long long)
@ stdcall InternetGetCookieA(str str ptr long)
@ stdcall InternetGetCookieW(wstr wstr ptr long)
@ stdcall InternetGetLastResponseInfoA(ptr str ptr)
...
...
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