Modifying the Partition Table on a Per-Profile Basis (Windows Embedded CE 6.0)
You can override partition table settings and file system settings on a per-profile basis.
Typically, block drivers such a storage drivers and files system drivers (FSDs) report a storage profile name to the storage manager when the storage device is loaded, using the control code IOCTL_DISK_DEVICE_INFO.
This profile name can be used to specify a registry key that contains only mappings for a specific file system or partition table.
In some cases, you may want to modify the default partition table for a certain storage profile. This can be done by adding a profile-specific partition table to the registry.
The following example overrides the default value for partition type 0x04 from FATFS to MYFSD. This modification applies only to storage devices reporting a profile name of Sample.