4

I would like to know how can I detect when the user attaches a removable drive on a computer ( in a Windows XP environment ) . There surely has to be a better way than constantly checking to see if the number of drives increased , right ?

Geo
  • 93,257
  • 117
  • 344
  • 520

1 Answers1

0

Since it's unlikely anyone will answer, I'll just do my part to back-link humanity's knowledge.

Thís thread seems to reference a few different ways:

  1. WM_DEVICECHANGE message
  2. Creating a windows service
Viet Than
  • 164
  • 1
  • 10