Share via


IOCTL_DISK_DELETE_SECTORS (Windows Embedded CE 6.0)

1/6/2010

This IOCTL deletes a specified range of sectors. This is used by the FAL to indicate that the sectors are no longer needed. The sectors are then recycled in the proper manner. For example, this IOCTL should be called by a file system on sectors that are no longer used when a file is deleted.

Parameters

  • hDevice
    [in] Handle to the block device.
  • dwIoControlCode
    [in] Specifies this IOCTL.
  • nInBufferSize
    [in] Size of the DELETE_SECTOR_INFO structure.
  • lpOutBuffer
    [out] Not used. Set to NULL.
  • nOutBufferSize
    [out] Not used. Set to zero (0).
  • lpBytesReturned
    [out] Not used. Set to NULL.
  • lpOverlapped
    [in] Not used.

Return Values

Returns TRUE on success. Returns FALSE on failure.

Requirements

Header fmd.h
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

Flash Media Driver IOCTLs
DELETE_SECTOR_INFO

Other Resources

Flash Drivers