Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0592ca5f
Commit
0592ca5f
authored
Jan 08, 2009
by
Andrew Talbot
Committed by
Alexandre Julliard
Jan 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iphlpapi: Remove unused function.
parent
9871dc07
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
15 deletions
+3
-15
ifenum.c
dlls/iphlpapi/ifenum.c
+0
-11
ifenum.h
dlls/iphlpapi/ifenum.h
+3
-4
No files found.
dlls/iphlpapi/ifenum.c
View file @
0592ca5f
...
...
@@ -652,17 +652,6 @@ DWORD getInterfaceEntryByName(const char *name, PMIB_IFROW entry)
return
ret
;
}
DWORD
getInterfaceEntryByIndex
(
DWORD
index
,
PMIB_IFROW
entry
)
{
char
nameBuf
[
IF_NAMESIZE
];
char
*
name
=
getInterfaceNameByIndex
(
index
,
nameBuf
);
if
(
name
)
return
getInterfaceEntryByName
(
name
,
entry
);
else
return
ERROR_INVALID_DATA
;
}
/* Enumerates the IP addresses in the system using SIOCGIFCONF, returning
* the count to you in *pcAddresses. It also returns to you the struct ifconf
* used by the call to ioctl, so that you may process the addresses further.
...
...
dlls/iphlpapi/ifenum.h
View file @
0592ca5f
...
...
@@ -91,13 +91,12 @@ DWORD getInterfacePhysicalByName(const char *name, PDWORD len, PBYTE addr,
DWORD
getInterfacePhysicalByIndex
(
DWORD
index
,
PDWORD
len
,
PBYTE
addr
,
PDWORD
type
);
/* Fills in the MIB_IFROW by name
/index
. Doesn't fill in interface statistics,
/* Fills in the MIB_IFROW by name. Doesn't fill in interface statistics,
* see ipstats.h for that.
* Returns ERROR_INVALID_PARAMETER if name
or entry
is NULL, ERROR_INVALID_DATA
* if name
/index
isn't valid, and NO_ERROR otherwise.
* Returns ERROR_INVALID_PARAMETER if name is NULL, ERROR_INVALID_DATA
* if name isn't valid, and NO_ERROR otherwise.
*/
DWORD
getInterfaceEntryByName
(
const
char
*
name
,
PMIB_IFROW
entry
);
DWORD
getInterfaceEntryByIndex
(
DWORD
index
,
PMIB_IFROW
entry
);
DWORD
getNumIPAddresses
(
void
);
...
...
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