Share via


IOCTL_DISK_DELETE_SECTORS

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

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

DELETE_SECTOR_INFO

Other Resources

Flash Drivers