mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 07:26:20 +00:00
[SETUPAPI][UMPNPMGR] Improve CMP_RegisterNotification/PNP_RegisterNotification
Pass the notification filter to PNP_RegisterNotification as a byte-pointer to the filter and the size of the filter.
This commit is contained in:
parent
8f04a09e74
commit
ca0406131c
3 changed files with 8 additions and 2 deletions
|
@ -634,6 +634,8 @@ CMP_RegisterNotification(
|
|||
RpcTryExcept
|
||||
{
|
||||
ret = PNP_RegisterNotification(BindingHandle,
|
||||
(BYTE*)lpvNotificationFilter,
|
||||
((DEV_BROADCAST_HDR*)lpvNotificationFilter)->dbch_size,
|
||||
ulFlags,
|
||||
&pNotifyData->ulNotifyData);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue