jsctypes - problems using SHChangeNotifyRegister for MEDIA/DRIVE events
问题 I'm trying to use js-ctypes in Firefox to receive USB media/drive notifications, but I'm having a few issues and I can't tell if it's because I'm very inexperienced at Win32 API or awful at js-ctypes (or both!) I've started by adapting an example I found on Alexandre Poirot's blog: Blog Entry Full JS Source That example uses js-ctypes to create a "message-only" window, and then interacts with the shell service for the purpose of communicating with the Windows notification tray. It seems