[IDL][SETUPAPI][UMPNPMGR] Improve PNP_RegisterNotification

- The 2nd parameter is the handle to the recipient.
- The 8th parameter is the callers process id.
This commit is contained in:
Eric Kohl 2023-12-20 14:49:30 +01:00
parent 954598037f
commit 71df39b027
3 changed files with 6 additions and 6 deletions

View file

@ -4689,13 +4689,13 @@ DWORD
WINAPI
PNP_RegisterNotification(
handle_t hBinding,
DWORD ulUnknown2,
DWORD_PTR hRecipient,
LPWSTR pszName,
BYTE *pNotificationFilter,
DWORD ulNotificationFilterSize,
DWORD ulFlags,
PNP_NOTIFY_HANDLE *pNotifyHandle,
DWORD ulUnknown8,
DWORD ulProcessId,
DWORD *pulUnknown9)
{
PDEV_BROADCAST_DEVICEINTERFACE_W pBroadcastDeviceInterface;
@ -4703,8 +4703,8 @@ PNP_RegisterNotification(
PNOTIFY_ENTRY pNotifyData = NULL;
DPRINT1("PNP_RegisterNotification(%p %lx '%S' %p %lu 0x%lx %p %lx %p)\n",
hBinding, ulUnknown2, pszName, pNotificationFilter,
ulNotificationFilterSize, ulFlags, pNotifyHandle, ulUnknown8, pulUnknown9);
hBinding, hRecipient, pszName, pNotificationFilter,
ulNotificationFilterSize, ulFlags, pNotifyHandle, ulProcessId, pulUnknown9);
if (pNotifyHandle == NULL)
return CR_INVALID_POINTER;