Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GTK e usb sotto Windows XP

2 views
Skip to first unread message

NERO23

unread,
Apr 15, 2013, 6:30:31 AM4/15/13
to
Linguaggio C su Windows XP.

Ho realizzato una finestra con le librerie GTK e volevo sapere come
faccio a far comparire un messaggio quando collego una pendrive all'usb.


Con la finestra realizzata con le Win32 API ᅵ stato sufficiente
includere case WM_DEVICECHANGE:

dentro la funzione
SULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
....


nero23
0 new messages