Partager via


IOCTL_FLASH_PDD_GET_LIFE_CYCLE_INFO (Windows Embedded CE 6.0)

1/6/2010

This IOCTL retrieves life cycle information for each of the flash regions, such as number of typical erases per block.

Parameters

  • dwIoControlCode
    [in] Specifies this IOCTL.
  • lpInBuffer
    Not used. Set to NULL.
  • nInBufferSize
    Not used. Set to zero (0).
  • nOutBufferSize
    [in] Set to the size of a FLASH_LIFE_CYCLE_INFO structure multiplied by the RegionCount. The RegionCount can be obtained through IOCTL_FLASH_PDD_GET_REGION_COUNT.
  • lpBytesReturned
    Not used. Set to NULL.

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 FlashPdd.h
Windows Embedded CE Windows Embedded CE 6.0 R2

See Also

Reference

Flash Driver PDD IOCTLs