Elizabeth Figura (@zfigura) commented about programs/plugplay/main.c:
destroy_listener( handle );
}
-void __cdecl plugplay_send_event( DWORD code, const BYTE *data, unsigned int size ) +void __cdecl plugplay_send_event( DWORD event_code, const device_broadcast *data )
The changes to this function are not the easiest to review, since it both refactors the existing code (to use the new RPC structures) and adds handle support at the same time. It would be nice if these could be split into separate commits.
There are also unnecessary changes like "code" -> "event_code".