- Stub GetExtendedTcpTable

- Fixes bug 5201
 - Patch by Olaf Siejka

svn path=/trunk/; revision=45771
This commit is contained in:
Cameron Gutman
2010-03-03 00:05:17 +00:00
parent b5b3b3702f
commit ed57cdcfde
4 changed files with 41 additions and 1 deletions
+1 -1
View File
@@ -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.@)
+1
View File
@@ -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);
+13
View File
@@ -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__ */