IOCTL_DISK_DELETE_SECTORS (Windows CE 5.0)

Send Feedback

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.
  • lpInBuffer
    [in] Pointer to a DELETE_SECTOR_INFO structure.
  • 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

OS Versions: Windows CE .NET 4.2 and later.
Header: Fmd.h.

See Also

Flash Media Drivers | DELETE_SECTOR_INFO

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.