Click here to Skip to main content
15,881,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all.
I have some USB mass storage device, like a usb flash drive. My device supports some SCSI requests, such as write, read, inquiry, etc.
When device receive a special command, it can add or remove additional lun.
I have 2 questions:
1. How do I know the number of luns on my device?
2. How can I force the Windows send a request to device and recieve the number of luns(and update system's information about my device)?
If you know answers to my questions, which do not include using third-party products, such as WinUSB etc. , it would be great!
Thank you in advance.
Posted

1 solution

 
Share this answer
 
Comments
Michail 26-Dec-11 8:53am    
Thanks.
I'm not sure that this good decision.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900