iphlpapi: Add CancelIPChangeNotify stub.

This commit is contained in:
David Bartley 2010-12-11 00:57:24 -08:00 committed by Alexandre Julliard
parent 4c386998b0
commit bf6a20fad3
4 changed files with 28 additions and 0 deletions

View File

@ -6,6 +6,7 @@
@ stdcall AllocateAndGetIpNetTableFromStack( ptr long long long ) @ stdcall AllocateAndGetIpNetTableFromStack( ptr long long long )
@ stdcall AllocateAndGetTcpTableFromStack( ptr long long long ) @ stdcall AllocateAndGetTcpTableFromStack( ptr long long long )
@ stdcall AllocateAndGetUdpTableFromStack( ptr long long long ) @ stdcall AllocateAndGetUdpTableFromStack( ptr long long long )
@ stdcall CancelIPChangeNotify( ptr )
@ stdcall CreateIpForwardEntry( ptr ) @ stdcall CreateIpForwardEntry( ptr )
@ stdcall CreateIpNetEntry( ptr ) @ stdcall CreateIpNetEntry( ptr )
@ stdcall CreateProxyArpEntry( long long long ) @ stdcall CreateProxyArpEntry( long long long )

View File

@ -199,6 +199,30 @@ DWORD WINAPI AllocateAndGetIpAddrTableFromStack(PMIB_IPADDRTABLE *ppIpAddrTable,
} }
/******************************************************************
* CancelIPChangeNotify (IPHLPAPI.@)
*
* Cancel a previous notification created by NotifyAddrChange or
* NotifyRouteChange.
*
* PARAMS
* overlapped [In] overlapped structure that notifies the caller
*
* RETURNS
* Success: TRUE
* Failure: FALSE
*
* FIXME
* Stub, returns FALSE.
*/
BOOL WINAPI CancelIPChangeNotify(LPOVERLAPPED overlapped)
{
FIXME("(overlapped %p): stub\n", overlapped);
return FALSE;
}
/****************************************************************** /******************************************************************
* CreateIpForwardEntry (IPHLPAPI.@) * CreateIpForwardEntry (IPHLPAPI.@)
* *

View File

@ -799,6 +799,7 @@ static void testGetPerAdapterInfo(void)
/* /*
still-to-be-tested 2K-onward functions: still-to-be-tested 2K-onward functions:
AddIPAddress AddIPAddress
CancelIPChangeNotify
CreateProxyArpEntry CreateProxyArpEntry
DeleteIPAddress DeleteIPAddress
DeleteProxyArpEntry DeleteProxyArpEntry

View File

@ -111,6 +111,8 @@ DWORD WINAPI NotifyAddrChange(PHANDLE Handle, LPOVERLAPPED overlapped);
DWORD WINAPI NotifyRouteChange(PHANDLE Handle, LPOVERLAPPED overlapped); DWORD WINAPI NotifyRouteChange(PHANDLE Handle, LPOVERLAPPED overlapped);
BOOL WINAPI CancelIPChangeNotify(LPOVERLAPPED overlapped);
DWORD WINAPI GetAdapterIndex(IN LPWSTR AdapterName, OUT PULONG IfIndex); DWORD WINAPI GetAdapterIndex(IN LPWSTR AdapterName, OUT PULONG IfIndex);
DWORD WINAPI AddIPAddress(IPAddr Address, IPMask IpMask, DWORD IfIndex, DWORD WINAPI AddIPAddress(IPAddr Address, IPMask IpMask, DWORD IfIndex,