...
The index of the created partition. The first partition on the device has an index of 0. FS_INVALID_PARTITION_NBR
is returned if the function fails to add the partition.
Notes/Warnings
- Device state change will result from device I/O, not present or timeout error.