View Single Post
  #3  
Old 05-16-2005, 11:53
just4urim
 
Posts: n/a
Hi ,
I used RegisterDeviceNotification , but i don't know which GUID i should use in dbcc_classguid to receive the notification of new arrival volumes!
I also used DEV_BROADCAST_VOLUME as the second parameter of RegisterDeviceNotification ,
and set its filed as follow :
.dbcv_size = sizeof(DEV_BROADCAST_VOLUME );
.dbcv_devicetype = DBT_DEVTYP_VOLUME;
.dbcv_unitmask = 0x0001 ;
.dbcv_flags = DBTF_MEDIA ;
but it failed !
TNX

Last edited by just4urim; 05-16-2005 at 14:03.
Reply With Quote