[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

@ -670,7 +670,7 @@ CMP_RegisterNotification(
RpcTryExcept
{
ret = PNP_RegisterNotification(BindingHandle,
0, /* ??? */
(DWORD_PTR)hRecipient,
szNameBuffer,
(BYTE*)lpvNotificationFilter,
((DEV_BROADCAST_HDR*)lpvNotificationFilter)->dbch_size,