Sebastian Lackner : iphlpapi: Add stub for CancelMibChangeNotify2.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Nov 3 07:21:48 CST 2014


Module: wine
Branch: master
Commit: 2eded57ffe511029e5423a9a588fc2d418cd91bd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2eded57ffe511029e5423a9a588fc2d418cd91bd

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Mon Oct 27 02:29:21 2014 +0100

iphlpapi: Add stub for CancelMibChangeNotify2.

Based on a patch by Yann Leretaille.

---

 dlls/iphlpapi/iphlpapi.spec   | 2 +-
 dlls/iphlpapi/iphlpapi_main.c | 9 +++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/dlls/iphlpapi/iphlpapi.spec b/dlls/iphlpapi/iphlpapi.spec
index 9eb5a32..ccfa6c8 100644
--- a/dlls/iphlpapi/iphlpapi.spec
+++ b/dlls/iphlpapi/iphlpapi.spec
@@ -8,7 +8,7 @@
 @ stdcall AllocateAndGetTcpTableFromStack( ptr long long long )
 @ stdcall AllocateAndGetUdpTableFromStack( ptr long long long )
 @ stdcall CancelIPChangeNotify( ptr )
-#@ stub CancelMibChangeNotify2
+@ stdcall CancelMibChangeNotify2( ptr )
 #@ stub ConvertGuidToStringA
 #@ stub ConvertGuidToStringW
 #@ stub ConvertInterfaceAliasToLuid
diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c
index 4d66810..967fb06 100644
--- a/dlls/iphlpapi/iphlpapi_main.c
+++ b/dlls/iphlpapi/iphlpapi_main.c
@@ -198,6 +198,15 @@ BOOL WINAPI CancelIPChangeNotify(LPOVERLAPPED overlapped)
 }
 
 
+/******************************************************************
+ *    CancelMibChangeNotify2 (IPHLPAPI.@)
+ */
+DWORD WINAPI CancelMibChangeNotify2(HANDLE handle)
+{
+    FIXME("(handle %p): stub\n", handle);
+    return NO_ERROR;
+}
+
 
 /******************************************************************
  *    CreateIpForwardEntry (IPHLPAPI.@)




More information about the wine-cvs mailing list