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
895e7a5f
Commit
895e7a5f
authored
Dec 19, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Dec 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iphlpapi: Add a stub implementation of GetExtendedTcpTable.
parent
3a204f50
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
0 deletions
+33
-0
iphlpapi.spec
dlls/iphlpapi/iphlpapi.spec
+1
-0
iphlpapi_main.c
dlls/iphlpapi/iphlpapi_main.c
+16
-0
iphlpapi.h
include/iphlpapi.h
+3
-0
iprtrmib.h
include/iprtrmib.h
+13
-0
No files found.
dlls/iphlpapi/iphlpapi.spec
View file @
895e7a5f
...
...
@@ -26,6 +26,7 @@
@ stub GetBestInterfaceFromStack
@ stdcall GetBestRoute( long long long )
@ stub GetBestRouteFromStack
@ stdcall GetExtendedTcpTable( ptr ptr long long long long )
@ stdcall GetFriendlyIfIndex( long )
@ stdcall GetIcmpStatistics( ptr )
@ stub GetIcmpStatsFromStack
...
...
dlls/iphlpapi/iphlpapi_main.c
View file @
895e7a5f
...
...
@@ -1877,6 +1877,22 @@ DWORD WINAPI GetTcpTable(PMIB_TCPTABLE pTcpTable, PDWORD pdwSize, BOOL bOrder)
return
ret
;
}
/******************************************************************
* GetExtendedTcpTable (IPHLPAPI.@)
*/
DWORD
WINAPI
GetExtendedTcpTable
(
PVOID
pTcpTable
,
PDWORD
pdwSize
,
BOOL
bOrder
,
ULONG
ulAf
,
TCP_TABLE_CLASS
TableClass
,
ULONG
Reserved
)
{
TRACE
(
"pTcpTable %p, pdwSize %p, bOrder %d, ulAf %u, TableClass %u, Reserved %u
\n
"
,
pTcpTable
,
pdwSize
,
bOrder
,
ulAf
,
TableClass
,
Reserved
);
if
(
ulAf
==
AF_INET6
||
TableClass
!=
TCP_TABLE_BASIC_ALL
)
{
FIXME
(
"ulAf = %u, TableClass = %u not supportted
\n
"
,
ulAf
,
TableClass
);
return
ERROR_NOT_SUPPORTED
;
}
return
GetTcpTable
(
pTcpTable
,
pdwSize
,
bOrder
);
}
/******************************************************************
* GetUdpTable (IPHLPAPI.@)
...
...
include/iphlpapi.h
View file @
895e7a5f
...
...
@@ -26,6 +26,9 @@ extern "C" {
#include <ipexport.h>
#include <iptypes.h>
DWORD
WINAPI
GetExtendedTcpTable
(
PVOID
pTcpTable
,
PDWORD
pdwSize
,
BOOL
bOrder
,
ULONG
ulAf
,
TCP_TABLE_CLASS
TableClass
,
ULONG
Reserved
);
DWORD
WINAPI
GetNumberOfInterfaces
(
PDWORD
pdwNumIf
);
DWORD
WINAPI
GetIfEntry
(
PMIB_IFROW
pIfRow
);
...
...
include/iprtrmib.h
View file @
895e7a5f
...
...
@@ -25,4 +25,17 @@
#include <tcpmib.h>
#include <udpmib.h>
typedef
enum
_TCP_TABLE_CLASS
{
TCP_TABLE_BASIC_LISTENER
,
TCP_TABLE_BASIC_CONNECTIONS
,
TCP_TABLE_BASIC_ALL
,
TCP_TABLE_OWNER_PID_LISTENER
,
TCP_TABLE_OWNER_PID_CONNECTIONS
,
TCP_TABLE_OWNER_PID_ALL
,
TCP_TABLE_OWNER_MODULE_LISTENER
,
TCP_TABLE_OWNER_MODULE_CONNECTIONS
,
TCP_TABLE_OWNER_MODULE_ALL
}
TCP_TABLE_CLASS
,
*
PTCP_TABLE_CLASS
;
#endif
/* WINE_IPRTRMIB_H__ */
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