[SETUPAPI] PNP_RegisterNotification: Parameter 8 seems to be a process ID

This commit is contained in:
Eric Kohl 2021-07-08 10:58:47 +02:00
parent f4033b02e4
commit 7faca935e6
2 changed files with 3 additions and 3 deletions

View file

@ -675,7 +675,7 @@ CMP_RegisterNotification(
((DEV_BROADCAST_HDR*)lpvNotificationFilter)->dbch_size,
ulFlags,
&pNotifyData->ulNotifyData,
0, /* ??? */
GetCurrentProcessId(),
&ulUnknown9); /* ??? */
}
RpcExcept(EXCEPTION_EXECUTE_HANDLER)

View file

@ -881,8 +881,8 @@ interface pnp
[in] DWORD ulNotificationFilterSize,
[in] DWORD ulFlags,
[out] DWORD *pulNotifyData,
[in] DWORD ulUnknown8,
[out] DWORD *pulUnknown9);
[in] DWORD ulProcessId,
[in] DWORD *pulUnknown9);
/* Function 60 */
DWORD