Partager via


IOCTL_FLASH_WRITE_LOGICAL_SECTORS (Windows Embedded CE 6.0)

1/6/2010

This IOCTL writes a set of sector range/sector data pairs to the storage media in a single transfer.

Parameters

  • dwIoControlCode
    [in] Specifies this IOCTL.
  • nInBufferSize
    [in] Size of the FLASH_TRANSFER_REQUEST structure plus the size of the FLASH_SECTOR_TRANSFER structure for each FLASH_SECTOR_TRANSFER structure in the transfer list beyond the first.
  • lpOutBuffer
    Not used. Set to NULL.
  • nOutBufferSize
    Not used. Set to zero (0).
  • 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 FlashMdd.h
Windows Embedded CE Windows Embedded CE 6.0 R2

See Also

Reference

Flash Driver MDD IOCTLs