I want my device to start with a completely empty (unpartitioned,
unformatted) flash storage device, and then be able to partition it and
format it manually with a tool i've written.

I've written code for manipulating a storage device using storage
manager api. This all works fine if the storage has allready been
partitioned and formatted once (I use the AutoPartition and AutoFormat
registry settings).

However, when starting the device without these registry settings and a
empty flash I cannot find it with the "FindFirstStore/FindNextStore"
functions.

What do I need to do to get the store up and running to a state where I
can partition and format it using the Storage Manager API?

Re: partitioning and formatting a storage device manually by Sachin

Sachin
Tue Aug 30 17:06:04 CDT 2005

You can use OpenStore to get a handle to the store (you will need to know
the device name, DSK1:, etc.). Then, call FormatStore, and then
CreatePartition.

Sachin
--
To reply directly, remove "online" from my email address.
This posting is provided "AS IS" with no warranties, and confers no rights.

<superfluent@gmail.com> wrote in message
news:1125323612.123701.35130@g44g2000cwa.googlegroups.com...
>I want my device to start with a completely empty (unpartitioned,
> unformatted) flash storage device, and then be able to partition it and
> format it manually with a tool i've written.
>
> I've written code for manipulating a storage device using storage
> manager api. This all works fine if the storage has allready been
> partitioned and formatted once (I use the AutoPartition and AutoFormat
> registry settings).
>
> However, when starting the device without these registry settings and a
> empty flash I cannot find it with the "FindFirstStore/FindNextStore"
> functions.
>
> What do I need to do to get the store up and running to a state where I
> can partition and format it using the Storage Manager API?
>