Drive letter change notifications are automatically broadcast to all
top-level windows as WM_DEVICECHANGE messages, using DEV_BROADCAST_VOLUME.
You do not have to register to receive them. They are broadcast with event
types of DBT_DEVICEARRIVAL and DBT_DEVICEREMOVECOMPLETE.
The DEV_BROADCAST_VOLUME structure will contain a dbcv_unitmask field. This
is a logical unit mask identifying one or more logical units. Each bit in
the mask corresponds to one logical drive. Bit 0 represents drive A, bit 1
represents drive B, and so on.
Marc Reinig
System Solutions
"Nemenyi Zoltan" <zo************@funworld.com> wrote in message
news:O1**************@TK2MSFTNGP12.phx.gbl...
hello
Can somebody give me a tipp, how i can get an event on inserting a usb
flash disk device?
thanks
Nemenyi Zoltan