Re: can driver prevent the handle?

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



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@xxxxxxxxx> wrote in message news:eojTqqZDIHA.3716@xxxxxxxxxxxxxxxxxxxxxxx
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?



.



Relevant Pages

  • Re: USB transfer not working after 6 incomplete IN transactions
    ... I am working on a USB device and a PC application to communicate to ... it stops reading any data from my device. ... Are you sure it's Windows that stops, and not the hub or the host ...
    (microsoft.public.development.device.drivers)
  • Windows 2000 and Vista USB driver issues
    ... I am currently developing a USB driver that reads data from the FT245RQ ... The driver works well in Windows XP, ... When inserting the USB device into the computer, ...
    (microsoft.public.development.device.drivers)
  • Re: Compiling quesion
    ... You can communicate between a driver and user mode of course, ... There is not concept of window's in ring0. ... You need to get a good book on Windows driver development, ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Driver IO Communication
    ... Driver in Windows are designed to work on IRP's, ... Don Burn ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ... I am developing a simple driver which will communicate to ISA ...
    (microsoft.public.windowsxp.device_driver.dev)
  • Re: Connecting to an USB-Device
    ... Windows does not expose the ability to talk to USB device to ... If the device has a driver - then you can only use the driver's upper ... Maxim Shatskih, Windows DDK MVP ...
    (microsoft.public.development.device.drivers)