Partition Driver (Windows Embedded CE 6.0)
1/6/2010
A partition driver interprets the partitions on a storage device for Partition Manager. Windows Embedded CE supports multiple partition drivers, but only one driver can manage a storage device.
A partition is defined as a logical division of a store. Windows Embedded CE supports multiple partitions, each having the same or different file systems associated with it. Partition Manager calls the partition driver. The DLL is MSPart.dll, and it exports several APIs. Custom partition drivers can be written, as long as they support the same APIs as MSPart.dll. Adding a "PartitionDriver"="MyPart.dll" entry in the profile overrides the default.
The following table shows the partition driver functions.
Function | Description |
---|---|
Closes the partition from I/O operation. |
|
Closes the storage volume. |
|
Creates a partition on the store volume. |
|
Deletes a partition on the storage volume. |
|
Sends a control code directly to a specified device driver, causing the corresponding device to perform the specified operation. |
|
Closes the search handle for partition enumeration. |
|
Retries the partition information for the next partition in the enumeration. If PD_FindPartitionNext is called after a call to PD_FindPartitionStart, it obtains the first partition. |
|
Starts the partition enumeration. |
|
Formats a partition on the storage volume. |
|
Formats the storage volume. |
|
Obtains the attributes for a partition. |
|
Obtains the storage volume information from the partition driver. |
|
Checks whether the storage volume has been formatted. |
|
Opens the partition to perform I/O operations. |
|
Opens the storage volume. |
|
Renames a partition on the storage volume. |
|
Sets the attributes for a given partition. |