Re: USB Device Interface

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi, Uwe,

And what is about DBT_DEVICEREMOVECOMPLETE? When I call GetVolumeNameForVolumeMountPoint I obtain FALSE as the return value. It means that this volume does not exist. I do not get DBT_DEVICEQUERYREMOVE notification (it can help me because the drive is not unplug).

Regards, Ilia

Uwe Sieber wrote:


All this can be done thru documented API calls, there
is absolutely no reason to play with the registry.


Uwe



.



Relevant Pages

  • Re: USB Device Interface
    ... Maybe enumerating all volume names and comparing them with the previously saved volume name can solve this problem? ... Uwe Sieber wrote: ... Registry or API, ... All this can be done thru documented API calls, ...
    (microsoft.public.development.device.drivers)
  • Re: Zwei identische USB Festplatten
    ... Uwe Sieber wrote: ... Those registry values should be "binary" type and have exactly 1 byte. ... If one creates a DWORD value, the host driver just crashes. ...
    (de.comp.hardware.laufwerke.festplatten)