Partager via


IOCTL_FLASH_PDD_GET_REGION_INFO (Windows Embedded CE 6.0)

1/6/2010

This IOCTL retrieves region information from the flash platform dependent driver (PDD) and returns an array of FLASH_REGION_INFO structures, where each element of the array corresponds to a flash hardware region. Flash hardware regions have fixed physical block boundaries and may have different characteristics, such as sector size and block size.

Parameters

  • dwIoControlCode
    [in] Specifies this IOCTL.
  • lpInBuffer
    Not used. Set to NULL.
  • nInBufferSize
    Not used. Set to zero (0).
  • lpOutBuffer
    [out] Array of FLASH_REGION_INFO structures.
  • nOutBufferSize
    [in] Set to RegionCount multiplied by the size of the FLASH_REGION_INFO structure. The RegionCount is 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