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
6a863965
Commit
6a863965
authored
Nov 03, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Use proper dllimports for iphlpapi functions.
parent
f6d80847
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
26 deletions
+31
-26
iphlpapi_main.c
dlls/iphlpapi/iphlpapi_main.c
+1
-0
iphlpapi.h
include/iphlpapi.h
+0
-0
netioapi.h
include/netioapi.h
+30
-26
No files found.
dlls/iphlpapi/iphlpapi_main.c
View file @
6a863965
...
...
@@ -20,6 +20,7 @@
*/
#include <stdarg.h>
#define IPHLPAPI_DLL_LINKAGE
#include "windef.h"
#include "winbase.h"
#include "winreg.h"
...
...
include/iphlpapi.h
View file @
6a863965
This diff is collapsed.
Click to expand it.
include/netioapi.h
View file @
6a863965
...
...
@@ -21,6 +21,10 @@
#include <ntddndis.h>
#ifndef IPHLPAPI_DLL_LINKAGE
#define IPHLPAPI_DLL_LINKAGE DECLSPEC_IMPORT
#endif
#ifndef ANY_SIZE
#define ANY_SIZE 1
#endif
...
...
@@ -238,31 +242,31 @@ typedef VOID (WINAPI *PUNICAST_IPADDRESS_CHANGE_CALLBACK)(PVOID, PMIB_UNICASTIPA
typedef
VOID
(
WINAPI
*
PIPFORWARD_CHANGE_CALLBACK
)(
VOID
*
,
MIB_IPFORWARD_ROW2
*
,
MIB_NOTIFICATION_TYPE
);
DWORD
WINAPI
ConvertInterfaceAliasToLuid
(
const
WCHAR
*
,
NET_LUID
*
);
DWORD
WINAPI
ConvertInterfaceGuidToLuid
(
const
GUID
*
,
NET_LUID
*
);
DWORD
WINAPI
ConvertInterfaceIndexToLuid
(
NET_IFINDEX
,
NET_LUID
*
);
DWORD
WINAPI
ConvertInterfaceLuidToAlias
(
const
NET_LUID
*
,
WCHAR
*
,
SIZE_T
);
DWORD
WINAPI
ConvertInterfaceLuidToGuid
(
const
NET_LUID
*
,
GUID
*
);
DWORD
WINAPI
ConvertInterfaceLuidToIndex
(
const
NET_LUID
*
,
NET_IFINDEX
*
);
DWORD
WINAPI
ConvertInterfaceLuidToNameA
(
const
NET_LUID
*
,
char
*
,
SIZE_T
);
DWORD
WINAPI
ConvertInterfaceLuidToNameW
(
const
NET_LUID
*
,
WCHAR
*
,
SIZE_T
);
DWORD
WINAPI
ConvertInterfaceNameToLuidA
(
const
char
*
,
NET_LUID
*
);
DWORD
WINAPI
ConvertInterfaceNameToLuidW
(
const
WCHAR
*
,
NET_LUID
*
);
DWORD
WINAPI
ConvertLengthToIpv4Mask
(
ULONG
,
ULONG
*
);
void
WINAPI
FreeMibTable
(
void
*
);
NET_IF_COMPARTMENT_ID
WINAPI
GetCurrentThreadCompartmentId
(
void
);
DWORD
WINAPI
GetIfEntry2
(
MIB_IF_ROW2
*
);
DWORD
WINAPI
GetIfEntry2Ex
(
MIB_IF_TABLE_LEVEL
,
MIB_IF_ROW2
*
);
DWORD
WINAPI
GetIfTable2
(
MIB_IF_TABLE2
**
);
DWORD
WINAPI
GetIfTable2Ex
(
MIB_IF_TABLE_LEVEL
,
MIB_IF_TABLE2
**
);
DWORD
WINAPI
GetIpForwardEntry2
(
MIB_IPFORWARD_ROW2
*
);
DWORD
WINAPI
GetIpForwardTable2
(
ADDRESS_FAMILY
,
MIB_IPFORWARD_TABLE2
**
);
DWORD
WINAPI
GetIpInterfaceTable
(
ADDRESS_FAMILY
,
MIB_IPINTERFACE_TABLE
**
);
DWORD
WINAPI
GetIpNetEntry2
(
MIB_IPNET_ROW2
*
);
DWORD
WINAPI
GetIpNetTable2
(
ADDRESS_FAMILY
,
MIB_IPNET_TABLE2
**
);
DWORD
WINAPI
GetUnicastIpAddressEntry
(
MIB_UNICASTIPADDRESS_ROW
*
);
DWORD
WINAPI
GetUnicastIpAddressTable
(
ADDRESS_FAMILY
,
MIB_UNICASTIPADDRESS_TABLE
**
);
PCHAR
WINAPI
if_indextoname
(
NET_IFINDEX
,
PCHAR
);
NET_IFINDEX
WINAPI
if_nametoindex
(
PCSTR
);
IPHLPAPI_DLL_LINKAGE
DWORD
WINAPI
ConvertInterfaceAliasToLuid
(
const
WCHAR
*
,
NET_LUID
*
);
IPHLPAPI_DLL_LINKAGE
DWORD
WINAPI
ConvertInterfaceGuidToLuid
(
const
GUID
*
,
NET_LUID
*
);
IPHLPAPI_DLL_LINKAGE
DWORD
WINAPI
ConvertInterfaceIndexToLuid
(
NET_IFINDEX
,
NET_LUID
*
);
IPHLPAPI_DLL_LINKAGE
DWORD
WINAPI
ConvertInterfaceLuidToAlias
(
const
NET_LUID
*
,
WCHAR
*
,
SIZE_T
);
IPHLPAPI_DLL_LINKAGE
DWORD
WINAPI
ConvertInterfaceLuidToGuid
(
const
NET_LUID
*
,
GUID
*
);
IPHLPAPI_DLL_LINKAGE
DWORD
WINAPI
ConvertInterfaceLuidToIndex
(
const
NET_LUID
*
,
NET_IFINDEX
*
);
IPHLPAPI_DLL_LINKAGE
DWORD
WINAPI
ConvertInterfaceLuidToNameA
(
const
NET_LUID
*
,
char
*
,
SIZE_T
);
IPHLPAPI_DLL_LINKAGE
DWORD
WINAPI
ConvertInterfaceLuidToNameW
(
const
NET_LUID
*
,
WCHAR
*
,
SIZE_T
);
IPHLPAPI_DLL_LINKAGE
DWORD
WINAPI
ConvertInterfaceNameToLuidA
(
const
char
*
,
NET_LUID
*
);
IPHLPAPI_DLL_LINKAGE
DWORD
WINAPI
ConvertInterfaceNameToLuidW
(
const
WCHAR
*
,
NET_LUID
*
);
IPHLPAPI_DLL_LINKAGE
DWORD
WINAPI
ConvertLengthToIpv4Mask
(
ULONG
,
ULONG
*
);
IPHLPAPI_DLL_LINKAGE
void
WINAPI
FreeMibTable
(
void
*
);
IPHLPAPI_DLL_LINKAGE
NET_IF_COMPARTMENT_ID
WINAPI
GetCurrentThreadCompartmentId
(
void
);
IPHLPAPI_DLL_LINKAGE
DWORD
WINAPI
GetIfEntry2
(
MIB_IF_ROW2
*
);
IPHLPAPI_DLL_LINKAGE
DWORD
WINAPI
GetIfEntry2Ex
(
MIB_IF_TABLE_LEVEL
,
MIB_IF_ROW2
*
);
IPHLPAPI_DLL_LINKAGE
DWORD
WINAPI
GetIfTable2
(
MIB_IF_TABLE2
**
);
IPHLPAPI_DLL_LINKAGE
DWORD
WINAPI
GetIfTable2Ex
(
MIB_IF_TABLE_LEVEL
,
MIB_IF_TABLE2
**
);
IPHLPAPI_DLL_LINKAGE
DWORD
WINAPI
GetIpForwardEntry2
(
MIB_IPFORWARD_ROW2
*
);
IPHLPAPI_DLL_LINKAGE
DWORD
WINAPI
GetIpForwardTable2
(
ADDRESS_FAMILY
,
MIB_IPFORWARD_TABLE2
**
);
IPHLPAPI_DLL_LINKAGE
DWORD
WINAPI
GetIpInterfaceTable
(
ADDRESS_FAMILY
,
MIB_IPINTERFACE_TABLE
**
);
IPHLPAPI_DLL_LINKAGE
DWORD
WINAPI
GetIpNetEntry2
(
MIB_IPNET_ROW2
*
);
IPHLPAPI_DLL_LINKAGE
DWORD
WINAPI
GetIpNetTable2
(
ADDRESS_FAMILY
,
MIB_IPNET_TABLE2
**
);
IPHLPAPI_DLL_LINKAGE
DWORD
WINAPI
GetUnicastIpAddressEntry
(
MIB_UNICASTIPADDRESS_ROW
*
);
IPHLPAPI_DLL_LINKAGE
DWORD
WINAPI
GetUnicastIpAddressTable
(
ADDRESS_FAMILY
,
MIB_UNICASTIPADDRESS_TABLE
**
);
IPHLPAPI_DLL_LINKAGE
PCHAR
WINAPI
if_indextoname
(
NET_IFINDEX
,
PCHAR
);
IPHLPAPI_DLL_LINKAGE
NET_IFINDEX
WINAPI
if_nametoindex
(
PCSTR
);
#endif
/* __WINE_NETIOAPI_H */
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