Partager via


IOCTL_FLASH_PDD_WRITE_PHYSICAL_SECTORS (Windows Embedded CE 6.0)

1/6/2010

This IOCTL writes data and/or spare area to multiple, possibly noncontiguous, sectors.

Parameters

  • dwIoControlCode
    [in] Specifies this IOCTL.
  • lpInBuffer
    [in] Pointer to an array of FLASH_PDD_TRANSFER structures, where each element of the array describes a request of contiguous sectors to write.
  • nInBufferSize
    [in] Set to the size, in bytes, of the FLASH_PDD_TRANSFER array.
  • lpOutBuffer
    [out] Pointer to FLASH_WRITE_STATUS indicating the status of the write operation. Currently, there are no status values defined for write operations.
  • nOutBufferSize
    [in] Set to sizeof(ULONG).
  • 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