PORTS Forum

Ports and Interfaces => USB => Topic started by: mr_asadi on August 17, 2012, 07:05:18 am

Title: Mass storage devices's API Functions!
Post by: mr_asadi on August 17, 2012, 07:05:18 am
Hi Jan,I want to thank you for everything.
I want to communicate with the mass storage device class in my project.You show us an example code about HID's.So what about Mass storage device class!
Is there any API Functions for MSD's same as HID's ?(If your Answer is "yes" so plz plz plz demonstrate them to me)
whats the OS support in this content?
How do I can get the attributes of this class's device?
I 'll be very very happy if any one present a useful example to me!

mr_asadi
Title: Re: Mass storage devices's API Functions!
Post by: Jan Axelson on August 17, 2012, 08:42:14 pm
If using the Windows API, see:

http://msdn.microsoft.com/en-us/library/windows/desktop/aa364232%28v=vs.85%29.aspx

If using .NET, see:

http://msdn.microsoft.com/en-us/library/system.io.file.aspx