iphlpapi: Implemented IcmpSendEcho2Ex().
This commit is contained in:
parent
7eb800f185
commit
1013f70a1f
|
@ -516,6 +516,48 @@ DWORD WINAPI IcmpSendEcho2(
|
||||||
RequestSize, RequestOptions, ReplyBuffer, ReplySize, Timeout);
|
RequestSize, RequestOptions, ReplyBuffer, ReplySize, Timeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* IcmpSendEcho2Ex (IPHLPAPI.@)
|
||||||
|
*/
|
||||||
|
DWORD WINAPI IcmpSendEcho2Ex(
|
||||||
|
HANDLE IcmpHandle,
|
||||||
|
HANDLE Event,
|
||||||
|
PIO_APC_ROUTINE ApcRoutine,
|
||||||
|
PVOID ApcContext,
|
||||||
|
IPAddr SourceAddress,
|
||||||
|
IPAddr DestinationAddress,
|
||||||
|
LPVOID RequestData,
|
||||||
|
WORD RequestSize,
|
||||||
|
PIP_OPTION_INFORMATION RequestOptions,
|
||||||
|
LPVOID ReplyBuffer,
|
||||||
|
DWORD ReplySize,
|
||||||
|
DWORD Timeout
|
||||||
|
)
|
||||||
|
{
|
||||||
|
TRACE("(%p, %p, %p, %p, %08x, %08x, %p, %d, %p, %p, %d, %d): stub\n", IcmpHandle,
|
||||||
|
Event, ApcRoutine, ApcContext, SourceAddress, 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;
|
||||||
|
}
|
||||||
|
if (SourceAddress)
|
||||||
|
{
|
||||||
|
FIXME("unsupported for source addresses\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.
|
||||||
|
|
|
@ -59,6 +59,7 @@
|
||||||
@ stdcall IcmpCloseHandle(ptr)
|
@ stdcall IcmpCloseHandle(ptr)
|
||||||
@ stdcall IcmpCreateFile()
|
@ stdcall IcmpCreateFile()
|
||||||
@ stub IcmpParseReplies
|
@ stub IcmpParseReplies
|
||||||
|
@ stdcall IcmpSendEcho2Ex(ptr ptr ptr ptr long long ptr long ptr ptr long long)
|
||||||
@ stdcall IcmpSendEcho2(ptr ptr ptr ptr long ptr long ptr ptr long long)
|
@ stdcall 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
|
||||||
|
|
Loading…
Reference in New Issue