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
8c4953f0
Commit
8c4953f0
authored
Jul 17, 2008
by
Juan Lang
Committed by
Alexandre Julliard
Jul 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iphlpapi: Partially implement IcmpSendEcho2 using IcmpSendEcho.
parent
65549c5e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
1 deletion
+37
-1
icmp.c
dlls/iphlpapi/icmp.c
+36
-0
iphlpapi.spec
dlls/iphlpapi/iphlpapi.spec
+1
-1
No files found.
dlls/iphlpapi/icmp.c
View file @
8c4953f0
...
@@ -68,6 +68,7 @@
...
@@ -68,6 +68,7 @@
#include "windef.h"
#include "windef.h"
#include "winbase.h"
#include "winbase.h"
#include "winerror.h"
#include "winerror.h"
#include "winternl.h"
#include "ipexport.h"
#include "ipexport.h"
#include "icmpapi.h"
#include "icmpapi.h"
#include "wine/debug.h"
#include "wine/debug.h"
...
@@ -476,6 +477,41 @@ DWORD WINAPI IcmpSendEcho(
...
@@ -476,6 +477,41 @@ DWORD WINAPI IcmpSendEcho(
return
res
;
return
res
;
}
}
/***********************************************************************
* IcmpSendEcho2 (IPHLPAPI.@)
*/
DWORD
WINAPI
IcmpSendEcho2
(
HANDLE
IcmpHandle
,
HANDLE
Event
,
PIO_APC_ROUTINE
ApcRoutine
,
PVOID
ApcContext
,
IPAddr
DestinationAddress
,
LPVOID
RequestData
,
WORD
RequestSize
,
PIP_OPTION_INFORMATION
RequestOptions
,
LPVOID
ReplyBuffer
,
DWORD
ReplySize
,
DWORD
Timeout
)
{
TRACE
(
"(%p, %p, %p, %p, %08lx, %p, %d, %p, %p, %d, %d): stub
\n
"
,
IcmpHandle
,
Event
,
ApcRoutine
,
ApcContext
,
DestinationAddress
,
RequestData
,
RequestSize
,
RequestOptions
,
ReplyBuffer
,
ReplySize
,
Timeout
);
if
(
Event
)
{
FIXME
(
"unsupported for events
\n
"
);
return
0
;
}
if
(
ApcRoutine
)
{
FIXME
(
"unsupported for APCs
\n
"
);
return
0
;
}
return
IcmpSendEcho
(
IcmpHandle
,
DestinationAddress
,
RequestData
,
RequestSize
,
RequestOptions
,
ReplyBuffer
,
ReplySize
,
Timeout
);
}
/*
/*
* Copyright (c) 1989 The Regents of the University of California.
* Copyright (c) 1989 The Regents of the University of California.
* All rights reserved.
* All rights reserved.
...
...
dlls/iphlpapi/iphlpapi.spec
View file @
8c4953f0
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
@ stdcall IcmpCloseHandle(ptr)
@ stdcall IcmpCloseHandle(ptr)
@ stdcall IcmpCreateFile()
@ stdcall IcmpCreateFile()
@ stub IcmpParseReplies
@ stub IcmpParseReplies
@ st
ub IcmpSendEcho2
@ st
dcall IcmpSendEcho2(ptr ptr ptr ptr long ptr long ptr ptr long long)
@ stdcall IcmpSendEcho(ptr long ptr long ptr ptr long long)
@ stdcall IcmpSendEcho(ptr long ptr long ptr ptr long long)
@ stub InternalCreateIpForwardEntry
@ stub InternalCreateIpForwardEntry
@ stub InternalCreateIpNetEntry
@ stub InternalCreateIpNetEntry
...
...
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