Share via


IOCTL_FLASH_GET_PARTITION_TABLE (Windows Embedded CE 6.0)

1/6/2010

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.

Parameters

  • 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.

Return Values

Returns a nonzero value if successful. If this IOCTL fails, the return value is zero. To obtain extended error information, call GetLastError.

Requirements

Header FlashMdd.h
Windows Embedded CE Windows Embedded CE 6.0 R2

See Also

Reference

Flash Driver MDD IOCTLs