40 virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam,
42 if (nMsg == WM_DEVICECHANGE) {
43 wxLogDebug(
"WM_DEVICECHANGE %x %x", wParam, lParam);
44 if (wParam == DBT_DEVICEARRIVAL || wParam == DBT_DEVICEREMOVECOMPLETE) {
48 return wxFrame::MSWWindowProc(nMsg, wParam, lParam);
52void WinUsbWatchDaemon::Start() {
58void WinUsbWatchDaemon::Stop() {
const void Notify()
Notify all listeners, no data supplied.
EventVar evt_dev_change
Notified when a new or removed device is detected, usually an USB hotplug event:
wxWindow * GetTopWindow()
Return the top level window a k a gFrame.
Hooks into gui available in model.
Suspend/resume and new devices events exchange point.
Windows specific hardware events interface.