Compartilhar via


Partition Driver (Windows CE 5.0)

Send Feedback

A partition driver interprets the partitions on a storage device for the Partition Manager. Windows CE supports multiple partition drivers, but only one driver can manage a given storage device.

A partition is defined as a logical division of a store. Windows CE supports multiple partitions each having the same or different file systems associated with it. The Partition Manager calls the partition driver. The dynamic-link library (DLL) is MSPart.dll and it exports several application programming interfaces (APIs). Custom partition drivers may 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
PD_ClosePartition Closes the partition from I/O operation.
PD_CloseStore Closes the storage volume.
PD_CreatePartition Creates a partition on the store volume.
PD_DeletePartition Deletes a partition on the storage volume.
PD_DeviceIoControl Sends a control code directly to a specified device driver, causing the corresponding device to perform the specified operation.
PD_FindPartitionClose Closes the search handle for partition enumeration.
PD_FindPartitionNext Retries the partition information for the next partition in the enumeration. PD_FindPartitionNext called after a call to PD_FindPartitionStart will get the first partition.
PD_FindPartitionStart Starts the partition enumeration.
PD_FormatPartition Formats a partition on the storage volume.
PD_FormatStore Formats the storage volume.
PD_GetPartitionInfo Gets the attributes for a given partition.
PD_GetStoreInfo Gets the storage volume information from the partition driver.
PD_IsStoreFormatted Queries to see if the storage volume has been formatted.
PD_OpenPartition Opens the partition to perform I/O operations.
PD_OpenStore Opens the storage volume.
PD_RenamePartition Renames a partition on the storage volume.
PD_SetPartitionAttrs Sets the attributes for a given partition.

See Also

Partition Manager

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.