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 ?

4

1 回答 1

0

由于不太可能有人会回答,所以我将尽我所能将人类的知识反向链接起来。

这个线程似乎引用了几种不同的方式:

  1. WM_DEVICECHANGE 消息
  2. 创建 Windows 服务
于 2021-06-11T04:15:39.943 回答