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
ce2e7cdc
Commit
ce2e7cdc
authored
Jan 25, 2012
by
Austin English
Committed by
Alexandre Julliard
Jan 26, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iphlpapi: Add GetTcp6Table/GetTcp6Table2 stubs.
parent
c77ba794
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
2 deletions
+52
-2
iphlpapi.spec
dlls/iphlpapi/iphlpapi.spec
+2
-2
iphlpapi_main.c
dlls/iphlpapi/iphlpapi_main.c
+18
-0
tcpmib.h
include/tcpmib.h
+32
-0
No files found.
dlls/iphlpapi/iphlpapi.spec
View file @
ce2e7cdc
...
@@ -132,8 +132,8 @@
...
@@ -132,8 +132,8 @@
#@ stub GetPerTcpConnectionStats
#@ stub GetPerTcpConnectionStats
@ stdcall GetRTTAndHopCount( long ptr long ptr )
@ stdcall GetRTTAndHopCount( long ptr long ptr )
#@ stub GetSessionCompartmentId
#@ stub GetSessionCompartmentId
#@ stub GetTcp6Table
@ stdcall GetTcp6Table( ptr ptr long )
#@ stub GetTcp6Table2
@ stdcall GetTcp6Table2( ptr ptr long )
#@ stub GetTcpStatisticsEx
#@ stub GetTcpStatisticsEx
@ stdcall GetTcpStatistics( ptr )
@ stdcall GetTcpStatistics( ptr )
@ stub GetTcpStatsFromStack
@ stub GetTcpStatsFromStack
...
...
dlls/iphlpapi/iphlpapi_main.c
View file @
ce2e7cdc
...
@@ -2285,3 +2285,21 @@ ULONG WINAPI GetTcpTable2(PMIB_TCPTABLE2 table, PULONG size, BOOL order)
...
@@ -2285,3 +2285,21 @@ ULONG WINAPI GetTcpTable2(PMIB_TCPTABLE2 table, PULONG size, BOOL order)
FIXME
(
"pTcpTable2 %p, pdwSize %p, bOrder %d: stub
\n
"
,
table
,
size
,
order
);
FIXME
(
"pTcpTable2 %p, pdwSize %p, bOrder %d: stub
\n
"
,
table
,
size
,
order
);
return
ERROR_NOT_SUPPORTED
;
return
ERROR_NOT_SUPPORTED
;
}
}
/******************************************************************
* GetTcp6Table (IPHLPAPI.@)
*/
ULONG
WINAPI
GetTcp6Table
(
PMIB_TCP6TABLE
table
,
PULONG
size
,
BOOL
order
)
{
FIXME
(
"pTcp6Table %p, size %p, order %d: stub
\n
"
,
table
,
size
,
order
);
return
ERROR_NOT_SUPPORTED
;
}
/******************************************************************
* GetTcp6Table2 (IPHLPAPI.@)
*/
ULONG
WINAPI
GetTcp6Table2
(
PMIB_TCP6TABLE2
table
,
PULONG
size
,
BOOL
order
)
{
FIXME
(
"pTcp6Table2 %p, size %p, order %d: stub
\n
"
,
table
,
size
,
order
);
return
ERROR_NOT_SUPPORTED
;
}
include/tcpmib.h
View file @
ce2e7cdc
...
@@ -67,6 +67,38 @@ typedef struct _MIB_TCPTABLE
...
@@ -67,6 +67,38 @@ typedef struct _MIB_TCPTABLE
MIB_TCPROW
table
[
1
];
MIB_TCPROW
table
[
1
];
}
MIB_TCPTABLE
,
*
PMIB_TCPTABLE
;
}
MIB_TCPTABLE
,
*
PMIB_TCPTABLE
;
typedef
struct
_MIB_TCP6ROW
{
MIB_TCP_STATE
State
;
IN6_ADDR
LocalAddr
;
DWORD
dwLocalScopeId
;
DWORD
dwLocalPort
;
IN6_ADDR
RemoteAddr
;
DWORD
dwRemoteScopeId
;
DWORD
dwRemotePort
;
}
MIB_TCP6ROW
,
*
PMIB_TCP6ROW
;
typedef
struct
_MIB_TCP6TABLE
{
DWORD
dwNumEntries
;
MIB_TCP6ROW
table
[
1
];
}
MIB_TCP6TABLE
,
*
PMIB_TCP6TABLE
;
typedef
struct
_MIB_TCP6ROW2
{
IN6_ADDR
LocalAddr
;
DWORD
dwLocalScopeId
;
DWORD
dwLocalPort
;
IN6_ADDR
RemoteAddr
;
DWORD
dwRemoteScopeId
;
DWORD
dwRemotePort
;
MIB_TCP_STATE
State
;
DWORD
dwOwningPid
;
TCP_CONNECTION_OFFLOAD_STATE
dwOffloadState
;
}
MIB_TCP6ROW2
,
*
PMIB_TCP6ROW2
;
typedef
struct
_MIB_TCP6TABLE2
{
DWORD
dwNumEntries
;
MIB_TCP6ROW2
table
[
1
];
}
MIB_TCP6TABLE2
,
*
PMIB_TCP6TABLE2
;
typedef
struct
_MIB_TCPROW_OWNER_PID
typedef
struct
_MIB_TCPROW_OWNER_PID
{
{
DWORD
dwState
;
DWORD
dwState
;
...
...
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