Re: [PATCH v32 0/4] MR6315: plugplay: Rework how PnP notifications are sent over RPC to support DBT_DEVTYP_HANDLE events.
30 Aug
2024
30 Aug
'24
1 p.m.
Maybe we can avoid sending the paths every time by moving the filtering to plugplay, adapting the interface a bit for this. There could be additional methods to register paths / get plugplay handles in return, and later use these handle as device handles.
Perhaps, but wouldn't this make both plugplay service, and the notification code sechost/service.c a lot more stateful as a result? Re: device handles, if you're referring to the `dbch_handle` field in `DEV_BROADCAST_HANDLE`, we already get that from the user using `RegisterDeviceNotification`, and the current code just uses them for sending notifications. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6315#note_80535
471
Age (days ago)
471
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vibhav Pant (@vibhavp)