Author: janderwald
Date: Thu Feb 26 20:46:41 2009
New Revision: 39774
URL:
http://svn.reactos.org/svn/reactos?rev=39774&view=rev
Log:
- Implement CMP_RegisterNotification stubs
- Fixes audiosrv crash
Modified:
trunk/reactos/dll/win32/setupapi/setupapi.spec
trunk/reactos/dll/win32/setupapi/stubs.c
Modified: trunk/reactos/dll/win32/setupapi/setupapi.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/setupapi/setupap…
==============================================================================
--- trunk/reactos/dll/win32/setupapi/setupapi.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/setupapi/setupapi.spec [iso-8859-1] Thu Feb 26 20:46:41 2009
@@ -2,7 +2,7 @@
@ stub CMP_GetBlockedDriverInfo
@ stub CMP_GetServerSideDeviceInstallFlags
@ stdcall CMP_Init_Detection(long)
-@ stub CMP_RegisterNotification
+@ stdcall CMP_RegisterNotification( ptr ptr long ptr)
@ stdcall CMP_Report_LogOn(long long)
@ stub CMP_UnregisterNotification
@ stdcall CMP_WaitNoPendingInstallEvents(long)
Modified: trunk/reactos/dll/win32/setupapi/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/setupapi/stubs.c…
==============================================================================
--- trunk/reactos/dll/win32/setupapi/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/setupapi/stubs.c [iso-8859-1] Thu Feb 26 20:46:41 2009
@@ -184,3 +184,23 @@
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
+
+
+/***********************************************************************
+ * CMP_RegisterNotification(SETUPAPI.@)
+ */
+CONFIGRET
+WINAPI
+CMP_RegisterNotification(
+ IN HANDLE hRecipient,
+ IN LPVOID lpvNotificationFilter,
+ IN DWORD dwFlags,
+ OUT PULONG pluhDevNotify)
+{
+ FIXME ("Stub %p %p %lu %p\n", hRecipient, lpvNotificationFilter, dwFlags,
pluhDevNotify);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return CR_FAILURE;
+}
+
+
+