cryptdlg: Add Swedish translation.
[wine.git] / dlls / iphlpapi / ipstats.h
blobd7aeb658cfaab1ac93912e2365c37cbd3fd743d7
1 /* ipstats.h
2 * Copyright (C) 2003,2006 Juan Lang
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18 * This module implements functions that get network-related statistics.
19 * It's meant to hide some platform-specificisms.
21 #ifndef WINE_IPSTATS_H_
22 #define WINE_IPSTATS_H_
24 #include <stdarg.h>
26 #include "windef.h"
27 #include "winbase.h"
28 #include "iprtrmib.h"
30 /* Fills in entry's interface stats, using name to find them.
31 * Returns ERROR_INVALID_PARAMETER if name or entry is NULL, NO_ERROR otherwise.
33 DWORD getInterfaceStatsByName(const char *name, PMIB_IFROW entry);
35 DWORD WINAPI AllocateAndGetUdpTableFromStack(PMIB_UDPTABLE *ppUdpTable, BOOL bOrder, HANDLE heap, DWORD flags);
36 DWORD WINAPI AllocateAndGetTcpTableFromStack(PMIB_TCPTABLE *ppTcpTable, BOOL bOrder, HANDLE heap, DWORD flags);
37 DWORD WINAPI AllocateAndGetIpNetTableFromStack(PMIB_IPNETTABLE *ppIpNetTable, BOOL bOrder, HANDLE heap, DWORD flags);
38 DWORD WINAPI AllocateAndGetIpForwardTableFromStack(PMIB_IPFORWARDTABLE *ppIpForwardTable, BOOL bOrder, HANDLE heap, DWORD flags);
40 #endif /* ndef WINE_IPSTATS_H_ */