- Implement CMP_RegisterNotification stubs

- Fixes audiosrv crash

svn path=/trunk/; revision=39774
This commit is contained in:
Johannes Anderwald 2009-02-26 17:46:41 +00:00
parent 7183be3ead
commit 61efbfa491
2 changed files with 21 additions and 1 deletions

View file

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

View file

@ -184,3 +184,23 @@ SetupDiUnremoveDevice(
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;
}