Hi Pavel
thanks a lot for your reply..
I am still looking for specific windows API's or example code that can
identify the various partitions on the USB and the disk letters associated
with each partition
Also I dont want to use the vendor configuration utility and use only
windows APIs to change the read-only partition to be read-writable.. I want
this functionality to be independent of the vendor. The usb i have is a
general purpose mass storage device..
thanks
Sameer
"Pavel A." wrote:
> sam wrote:
> > Hi
> >
> > I am a C/C++ programmer and am trying to do windows driver development for
> > the first time
> > What I am trying to achieve is the following..
> > I have a USB mass storage device with two partions on it (one read
> > only and other read-write).. I want to write a C++ (or C) utility that
> > can run in user mode and provide me the following information
> >
> > The drive letters assigned to the two partitions of the USB
>
> A lot of information on this can be found here:
> http://www.uwe-sieber.de/usbstick_e.html
>
> > Some sort of functionality to change the read-only partition to read-
> > write and vice versa. ( Not sure if it is do-able in user-mode..)
>
> For this, you need a configuration utility from the device manufacturer.
>
>
> Regards,
> --pa
>