mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
- Stub GetExtendedTcpTable
- Fixes bug 5201 - Patch by Olaf Siejka svn path=/trunk/; revision=45771
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
@ stub GetBestInterfaceFromStack
|
||||
@ stdcall GetBestRoute( long long long )
|
||||
@ stub GetBestRouteFromStack
|
||||
@ stub GetExtendedTcpTable
|
||||
@ stdcall GetExtendedTcpTable( ptr ptr long long long long )
|
||||
@ stub GetExtendedUdpTable
|
||||
@ stdcall GetFriendlyIfIndex( long )
|
||||
@ stdcall GetIcmpStatistics( ptr )
|
||||
|
||||
@@ -789,6 +789,32 @@ DWORD WINAPI GetBestRoute(DWORD dwDestAddr, DWORD dwSourceAddr, PMIB_IPFORWARDRO
|
||||
return ret;
|
||||
}
|
||||
|
||||
/******************************************************************
|
||||
* GetExtendedTcpTable (IPHLPAPI.@)
|
||||
*
|
||||
* Get the table of TCP endpoints available to the application.
|
||||
*
|
||||
* PARAMS
|
||||
* pTcpTable [Out] table struct with the filtered TCP endpoints available to application
|
||||
* pdwSize [In/Out] estimated size of the structure returned in pTcpTable, in bytes
|
||||
* bOrder [In] whether to order the table
|
||||
* ulAf [in] version of IP used by the TCP endpoints
|
||||
* TableClass [in] type of the TCP table structure from TCP_TABLE_CLASS
|
||||
* Reserved [in] reserved - this value must be zero
|
||||
*
|
||||
* RETURNS
|
||||
* Success: NO_ERROR
|
||||
* Failure: either ERROR_INSUFFICIENT_BUFFER or ERROR_INVALID_PARAMETER
|
||||
*
|
||||
* NOTES
|
||||
*/
|
||||
DWORD WINAPI GetExtendedTcpTable(PVOID pTcpTable, PDWORD pdwSize, BOOL bOrder, ULONG ulAf, TCP_TABLE_CLASS TableClass, ULONG Reserved)
|
||||
{
|
||||
DWORD ret = NO_ERROR;
|
||||
UNIMPLEMENTED;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
/******************************************************************
|
||||
* GetFriendlyIfIndex (IPHLPAPI.@)
|
||||
|
||||
@@ -22,6 +22,7 @@ DWORD WINAPI GetAdapterIndex(LPWSTR,PULONG);
|
||||
DWORD WINAPI GetAdaptersInfo(PIP_ADAPTER_INFO,PULONG);
|
||||
DWORD WINAPI GetBestInterface(IPAddr,PDWORD);
|
||||
DWORD WINAPI GetBestRoute(DWORD,DWORD,PMIB_IPFORWARDROW);
|
||||
DWORD WINAPI GetExtendedTcpTable(PVOID,PDWORD,BOOL,ULONG,TCP_TABLE_CLASS,ULONG);
|
||||
DWORD WINAPI GetFriendlyIfIndex(DWORD);
|
||||
DWORD WINAPI GetIcmpStatistics(PMIB_ICMP);
|
||||
DWORD WINAPI GetIfEntry(PMIB_IFROW);
|
||||
|
||||
@@ -286,4 +286,17 @@ typedef struct _MIB_IPNETTABLE
|
||||
MIB_IPNETROW table[1];
|
||||
} MIB_IPNETTABLE, *PMIB_IPNETTABLE;
|
||||
|
||||
|
||||
typedef enum {
|
||||
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__ */
|
||||
|
||||
Reference in New Issue
Block a user