This IOCTL retrieves the entire partition table across all flash regions. The partition table is returned as an array of FLASH_PARTITION_INFO structures, with the number of elements equal to the number of partitions on the flash storage media.
- dwIoControlCode
-
[in] Specifies this IOCTL.
- lpInBuffer
-
Not used. Set to NULL.
- nInBufferSize
-
Not used. Set to zero (0).
- lpOutBuffer
-
[out] Receives the partition table. Pass NULL to query the size of the partition table.
- nOutBufferSize
-
[in] Size, in bytes, of the partition table buffer passed in.
- lpBytesReturned
-
[out] Size, in bytes, of the partition table. Used to query the size of the partition table prior to calling again with the actual buffer for the table.
Returns a nonzero value if successful. If this IOCTL fails, the return value is zero. To obtain extended error information, call GetLastError.
| Header | FlashMdd.h |
| Windows Embedded CE | Windows Embedded CE 6.0 R2 |