[SETUPAPI][UMPNPMGR] The 3rd parameter of PNP_RegisterNotification() seems to be the service name

This commit is contained in:
Eric Kohl 2019-07-07 13:41:00 +02:00
parent e4898e6e0b
commit ece54dcd2f
3 changed files with 34 additions and 12 deletions

View file

@ -3531,7 +3531,7 @@ WINAPI
PNP_RegisterNotification(
handle_t hBinding,
DWORD ulUnknown2,
DWORD ulUnknown3,
LPWSTR pszName,
BYTE *pNotificationFilter,
DWORD ulNotificationFilterSize,
DWORD ulFlags,
@ -3545,8 +3545,8 @@ PNP_RegisterNotification(
PNOTIFY_DATA pNotifyData;
#endif
DPRINT1("PNP_RegisterNotification(%p %lx %lx %p %lu 0x%lx %p %lx %p)\n",
hBinding, ulUnknown2, ulUnknown3, pNotificationFilter,
DPRINT1("PNP_RegisterNotification(%p %lx '%S' %p %lu 0x%lx %p %lx %p)\n",
hBinding, ulUnknown2, pszName, pNotificationFilter,
ulNotificationFilterSize, ulFlags, pulNotify, ulUnknown8, pulUnknown9);
if (pNotificationFilter == NULL ||