iphlpapi: Implemented IcmpSendEcho2Ex().

This commit is contained in:
Nowres Rafed 2011-07-28 14:22:42 +01:00 committed by Alexandre Julliard
parent 7eb800f185
commit 1013f70a1f
2 changed files with 43 additions and 0 deletions

View File

@ -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.

View File

@ -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