Is there any tool to create a new partition on windows CE device?
Device has a NAND flash memory and initially there were two partitions. Using Storage manager in Control Panel I was able to delete one partition but when I want to create it again, I get an error message: “Unable to create partition”.
Is there any tool to create a new partition on windows CE device? Device
Share
With the source code of Windows CE 6 you get the
BootPart librarysource code. The location for the source isWINCE600\PUBLIC\COMMON\OAK\DRIVERS\ETHDBG\BOOTPART.Inside Bootpart.cpp you can find the function
BP_OpenPartitionthat opens/creates a new partition. It basically adds information to the MBR.The above solution is a bit low level. Here is a way to do it through Win32 API (taken from here):
(STOREINFO.snBiggestPartCreatable)All the pointers to the functions and more information about the storage manager can be found here: Storage Manager Reference
You can see that the links I provided indicate that the functions work on both Windows Mobile 6 and Windows CE 6. Non of the functions are new functionality so they should also work with Windows CE 5.