USB Driver mac os 9 problem
USB Driver mac os 9 problem
- Subject: USB Driver mac os 9 problem
- From: sandeep krishnamurthy <email@hidden>
- Date: Fri, 30 May 2003 13:03:00 +0000
hi all,
I have some doubt in USB device drivers on MacOS9. When the device is
unplugged, the DriverNotifyProc is called in which the case specific for
the "NotifyDriverbeingRemoved" is invoked. At this time i dont want the
driver to go down, beacuse one of my applications has not yet been
terminated. Therefore, i return USBdevicebusy. Now my problem is that, if i
dont return busy at this stage then the application hangs because before it
is terminated the driver is unloaded. If i return busy, there is a breif
delay within which you can unplug/replug USB without the application being
terminated, which should not happen in ideal case.
Can somebody tell me how i can fine tune this process, so that the
application terminates immediately when the driver is unloaded?
Thanks and Regards,
sandeep.
________________________________________________________________________
This letter has been delivered unencrypted. We'd like to remind you that
the full protection of e-mail correspondence is provided by S-mail
encryption mechanisms if only both, Sender and Recipient use S-mail.
Register at S-mail.com:
http://www.s-mail.com
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.