hi all,
I want to know that, after I get the VALID_HANDLE
from SetupDiGetClassDevs (do the handle with a USB
device), whether the driver can prevent the windows
to communicate with the USB device?
That is to say, can driver let windows to know
the USB device is connected on the port, but the
driver won't let windows to communicate with the
USB device?

Re: can driver prevent the handle? by Doron

Doron
Sun Oct 14 19:19:56 PDT 2007

you can fail any i/o you receive based on state. you have maintain your own
state once there is a valid handle.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"zonhai.won" <zonhai.won@gmail.com> wrote in message
news:eojTqqZDIHA.3716@TK2MSFTNGP03.phx.gbl...
> hi all,
> I want to know that, after I get the VALID_HANDLE
> from SetupDiGetClassDevs (do the handle with a USB
> device), whether the driver can prevent the windows
> to communicate with the USB device?
> That is to say, can driver let windows to know
> the USB device is connected on the port, but the
> driver won't let windows to communicate with the
> USB device?
>
>