Mercurial > games > semicongine
comparison fuhtark_test/include/winapi/iphlpapi.h @ 1500:91c8c3b7cbf0
add: futhark tests for generating vulkan api
| author | sam <sam@basx.dev> |
|---|---|
| date | Wed, 26 Nov 2025 21:36:48 +0700 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1499:1f58458b7ef7 | 1500:91c8c3b7cbf0 |
|---|---|
| 1 /** | |
| 2 * This file has no copyright assigned and is placed in the Public Domain. | |
| 3 * This file is part of the w64 mingw-runtime package. | |
| 4 * No warranty is given; refer to the file DISCLAIMER within this package. | |
| 5 */ | |
| 6 #ifndef __IPHLPAPI_H__ | |
| 7 #define __IPHLPAPI_H__ | |
| 8 | |
| 9 #ifdef __cplusplus | |
| 10 extern "C" { | |
| 11 #endif | |
| 12 | |
| 13 #include <iprtrmib.h> | |
| 14 #include <ipexport.h> | |
| 15 #include <iptypes.h> | |
| 16 | |
| 17 DWORD WINAPI GetNumberOfInterfaces(PDWORD pdwNumIf); | |
| 18 DWORD WINAPI GetIfEntry(PMIB_IFROW pIfRow); | |
| 19 DWORD WINAPI GetIfTable(PMIB_IFTABLE pIfTable,PULONG pdwSize,WINBOOL bOrder); | |
| 20 DWORD WINAPI GetIpAddrTable(PMIB_IPADDRTABLE pIpAddrTable,PULONG pdwSize,WINBOOL bOrder); | |
| 21 DWORD WINAPI GetIpNetTable(PMIB_IPNETTABLE pIpNetTable,PULONG pdwSize,WINBOOL bOrder); | |
| 22 DWORD WINAPI GetIpForwardTable(PMIB_IPFORWARDTABLE pIpForwardTable,PULONG pdwSize,WINBOOL bOrder); | |
| 23 DWORD WINAPI GetTcpTable(PMIB_TCPTABLE pTcpTable,PDWORD pdwSize,WINBOOL bOrder); | |
| 24 DWORD WINAPI GetUdpTable(PMIB_UDPTABLE pUdpTable,PDWORD pdwSize,WINBOOL bOrder); | |
| 25 DWORD WINAPI GetIpStatistics(PMIB_IPSTATS pStats); | |
| 26 DWORD WINAPI GetIpStatisticsEx(PMIB_IPSTATS pStats,DWORD dwFamily); | |
| 27 DWORD WINAPI GetIcmpStatistics(PMIB_ICMP pStats); | |
| 28 DWORD WINAPI GetIcmpStatisticsEx(PMIB_ICMP_EX pStats,DWORD dwFamily); | |
| 29 DWORD WINAPI GetTcpStatistics(PMIB_TCPSTATS pStats); | |
| 30 DWORD WINAPI GetTcpStatisticsEx(PMIB_TCPSTATS pStats,DWORD dwFamily); | |
| 31 DWORD WINAPI GetUdpStatistics(PMIB_UDPSTATS pStats); | |
| 32 DWORD WINAPI GetUdpStatisticsEx(PMIB_UDPSTATS pStats,DWORD dwFamily); | |
| 33 DWORD WINAPI SetIfEntry(PMIB_IFROW pIfRow); | |
| 34 DWORD WINAPI CreateIpForwardEntry(PMIB_IPFORWARDROW pRoute); | |
| 35 DWORD WINAPI SetIpForwardEntry(PMIB_IPFORWARDROW pRoute); | |
| 36 DWORD WINAPI DeleteIpForwardEntry(PMIB_IPFORWARDROW pRoute); | |
| 37 DWORD WINAPI SetIpStatistics(PMIB_IPSTATS pIpStats); | |
| 38 DWORD WINAPI SetIpTTL(UINT nTTL); | |
| 39 DWORD WINAPI CreateIpNetEntry(PMIB_IPNETROW pArpEntry); | |
| 40 DWORD WINAPI SetIpNetEntry(PMIB_IPNETROW pArpEntry); | |
| 41 DWORD WINAPI DeleteIpNetEntry(PMIB_IPNETROW pArpEntry); | |
| 42 DWORD WINAPI FlushIpNetTable(DWORD dwIfIndex); | |
| 43 DWORD WINAPI CreateProxyArpEntry(DWORD dwAddress,DWORD dwMask,DWORD dwIfIndex); | |
| 44 DWORD WINAPI DeleteProxyArpEntry(DWORD dwAddress,DWORD dwMask,DWORD dwIfIndex); | |
| 45 DWORD WINAPI SetTcpEntry(PMIB_TCPROW pTcpRow); | |
| 46 DWORD WINAPI GetInterfaceInfo(PIP_INTERFACE_INFO pIfTable,PULONG dwOutBufLen); | |
| 47 DWORD WINAPI GetUniDirectionalAdapterInfo(PIP_UNIDIRECTIONAL_ADAPTER_ADDRESS pIPIfInfo,PULONG dwOutBufLen); | |
| 48 | |
| 49 #ifndef NhpAllocateAndGetInterfaceInfoFromStack_DEFINED | |
| 50 #define NhpAllocateAndGetInterfaceInfoFromStack_DEFINED | |
| 51 DWORD WINAPI NhpAllocateAndGetInterfaceInfoFromStack(IP_INTERFACE_NAME_INFO **ppTable,PDWORD pdwCount,WINBOOL bOrder,HANDLE hHeap,DWORD dwFlags); | |
| 52 #endif | |
| 53 | |
| 54 DWORD WINAPI GetBestInterface(IPAddr dwDestAddr,PDWORD pdwBestIfIndex); | |
| 55 DWORD WINAPI GetBestInterfaceEx(struct sockaddr *pDestAddr,PDWORD pdwBestIfIndex); | |
| 56 DWORD WINAPI GetBestRoute(DWORD dwDestAddr,DWORD dwSourceAddr,PMIB_IPFORWARDROW pBestRoute); | |
| 57 DWORD WINAPI NotifyAddrChange(PHANDLE Handle,LPOVERLAPPED overlapped); | |
| 58 DWORD WINAPI NotifyRouteChange(PHANDLE Handle,LPOVERLAPPED overlapped); | |
| 59 WINBOOL WINAPI CancelIPChangeNotify(LPOVERLAPPED notifyOverlapped); | |
| 60 DWORD WINAPI GetAdapterIndex(LPWSTR AdapterName,PULONG IfIndex); | |
| 61 DWORD WINAPI AddIPAddress(IPAddr Address,IPMask IpMask,DWORD IfIndex,PULONG NTEContext,PULONG NTEInstance); | |
| 62 DWORD WINAPI DeleteIPAddress(ULONG NTEContext); | |
| 63 DWORD WINAPI GetNetworkParams(PFIXED_INFO pFixedInfo,PULONG pOutBufLen); | |
| 64 DWORD WINAPI GetAdaptersInfo(PIP_ADAPTER_INFO pAdapterInfo,PULONG pOutBufLen); | |
| 65 PIP_ADAPTER_ORDER_MAP WINAPI GetAdapterOrderMap(VOID); | |
| 66 | |
| 67 #ifdef _WINSOCK2API_ | |
| 68 DWORD WINAPI GetAdaptersAddresses(ULONG Family,DWORD Flags,PVOID Reserved,PIP_ADAPTER_ADDRESSES pAdapterAddresses,PULONG pOutBufLen); | |
| 69 #endif | |
| 70 | |
| 71 DWORD WINAPI GetPerAdapterInfo(ULONG IfIndex,PIP_PER_ADAPTER_INFO pPerAdapterInfo,PULONG pOutBufLen); | |
| 72 DWORD WINAPI IpReleaseAddress(PIP_ADAPTER_INDEX_MAP AdapterInfo); | |
| 73 DWORD WINAPI IpRenewAddress(PIP_ADAPTER_INDEX_MAP AdapterInfo); | |
| 74 DWORD WINAPI SendARP(IPAddr DestIP,IPAddr SrcIP,PULONG pMacAddr,PULONG PhyAddrLen); | |
| 75 WINBOOL WINAPI GetRTTAndHopCount(IPAddr DestIpAddress,PULONG HopCount,ULONG MaxHops,PULONG RTT); | |
| 76 DWORD WINAPI GetFriendlyIfIndex(DWORD IfIndex); | |
| 77 DWORD WINAPI EnableRouter(HANDLE *pHandle,OVERLAPPED *pOverlapped); | |
| 78 DWORD WINAPI UnenableRouter(OVERLAPPED *pOverlapped,LPDWORD lpdwEnableCount); | |
| 79 DWORD WINAPI DisableMediaSense(HANDLE *pHandle,OVERLAPPED *pOverLapped); | |
| 80 DWORD WINAPI RestoreMediaSense(OVERLAPPED *pOverlapped,LPDWORD lpdwEnableCount); | |
| 81 DWORD WINAPI GetIpErrorString(IP_STATUS ErrorCode,PWCHAR Buffer,PDWORD Size); | |
| 82 | |
| 83 #ifdef __cplusplus | |
| 84 } | |
| 85 #endif | |
| 86 #endif |
