Re: Help with USB driver





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

.



Relevant Pages

  • Re: recover partition(s) deleted during window xp pro resintall
    ... any tool that works with partitions. ... The poster mentions both a USB drive ... >> Windows help - www.rickrogers.org ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: recover partition(s) deleted during window xp pro resintall
    ... any tool that works with partitions. ... The poster mentions both a USB drive ... >> Windows help - www.rickrogers.org ...
    (microsoft.public.windowsxp.general)
  • Re: format usb drive
    ... Windows XP and Linux? ... My experience is that Windows is a lot more particular about USB keys ... rewrite the partitions and then mkfs.vfat to create the file system. ...
    (Debian-User)
  • Re: USB Flash drive suddenly being recognized as a "removable disk"
    ... partitions on this drive in Windows XP (which it wouldn't allow if it ... CAN boot from USB pen drives. ... I've had multiple partitions on it in windows xp, ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Stop 0x000000CA
    ... Two USB hard disks of same size partitions crash the system with the blue ... Try it on your Windows XP, ... Two USB hard disks of different partition sizes, ... Are there any corresponding error reports in Event Viewer? ...
    (microsoft.public.windowsxp.help_and_support)