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
6b4dcb3f
Commit
6b4dcb3f
authored
Jan 03, 2015
by
Bruno Jesus
Committed by
Alexandre Julliard
Jan 05, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iphlpapi: Add a stub for CreateSortedAddressPairs().
parent
fe127ac3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
1 deletion
+29
-1
iphlpapi.spec
dlls/iphlpapi/iphlpapi.spec
+1
-1
iphlpapi_main.c
dlls/iphlpapi/iphlpapi_main.c
+22
-0
ws2ipdef.h
include/ws2ipdef.h
+6
-0
No files found.
dlls/iphlpapi/iphlpapi.spec
View file @
6b4dcb3f
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
#@ stub CreatePersistentTcpPortReservation
#@ stub CreatePersistentTcpPortReservation
#@ stub CreatePersistentUdpPortReservation
#@ stub CreatePersistentUdpPortReservation
@ stdcall CreateProxyArpEntry( long long long )
@ stdcall CreateProxyArpEntry( long long long )
#@ stub CreateSortedAddressPairs
@ stdcall CreateSortedAddressPairs( ptr long ptr long long ptr ptr )
#@ stub CreateUnicastIpAddressEntry
#@ stub CreateUnicastIpAddressEntry
#@ stub DeleteAnycastIpAddressEntry
#@ stub DeleteAnycastIpAddressEntry
@ stdcall DeleteIPAddress( long )
@ stdcall DeleteIPAddress( long )
...
...
dlls/iphlpapi/iphlpapi_main.c
View file @
6b4dcb3f
...
@@ -280,6 +280,28 @@ DWORD WINAPI CreateProxyArpEntry(DWORD dwAddress, DWORD dwMask, DWORD dwIfIndex)
...
@@ -280,6 +280,28 @@ DWORD WINAPI CreateProxyArpEntry(DWORD dwAddress, DWORD dwMask, DWORD dwIfIndex)
/******************************************************************
/******************************************************************
* CreateSortedAddressPairs (IPHLPAPI.@)
*/
DWORD
WINAPI
CreateSortedAddressPairs
(
const
PSOCKADDR_IN6
source
,
DWORD
sourcecount
,
const
PSOCKADDR_IN6
destination
,
DWORD
destinationcount
,
DWORD
sortoptions
,
PSOCKADDR_IN6_PAIR
*
sortedaddr
,
DWORD
*
sortedcount
)
{
FIXME
(
"(source %p, sourcecount %d, destination %p, destcount %d, sortoptions %x,"
" sortedaddr %p, sortedcount %p): stub
\n
"
,
source
,
sourcecount
,
destination
,
destinationcount
,
sortoptions
,
sortedaddr
,
sortedcount
);
if
(
source
||
sourcecount
||
!
destination
||
!
sortedaddr
||
!
sortedcount
||
destinationcount
>
500
)
return
ERROR_INVALID_PARAMETER
;
/* Returning not supported tells the client we don't have IPv6 support
* so applications can fallback to IPv4.
*/
return
ERROR_NOT_SUPPORTED
;
}
/******************************************************************
* DeleteIPAddress (IPHLPAPI.@)
* DeleteIPAddress (IPHLPAPI.@)
*
*
* Delete an IP address added with AddIPAddress().
* Delete an IP address added with AddIPAddress().
...
...
include/ws2ipdef.h
View file @
6b4dcb3f
...
@@ -129,6 +129,12 @@ typedef struct WS(sockaddr_in6)
...
@@ -129,6 +129,12 @@ typedef struct WS(sockaddr_in6)
ULONG
sin6_scope_id
;
ULONG
sin6_scope_id
;
}
SOCKADDR_IN6
,
*
PSOCKADDR_IN6
,
*
LPSOCKADDR_IN6
;
}
SOCKADDR_IN6
,
*
PSOCKADDR_IN6
,
*
LPSOCKADDR_IN6
;
typedef
struct
WS
(
sockaddr_in6_pair
)
{
PSOCKADDR_IN6
SourceAddress
;
PSOCKADDR_IN6
DestinationAddress
;
}
SOCKADDR_IN6_PAIR
,
*
PSOCKADDR_IN6_PAIR
;
/*
/*
* Multicast group information
* Multicast group information
*/
*/
...
...
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