IOCTL_FMD_LOCK_BLOCKS (Windows Embedded CE 6.0)

1/6/2010

This IOCTL locks one or more blocks in a specified range.; that is, the IOCTL makes entire blocks read-only.

Parameters

  • hDevice
    [in] Handle to the block device.
  • dwIoControlCode
    [in] Specifies this IOCTL.
  • nInBufferSize
    [in] Size of the BlockLockInfo 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

Other Resources

Flash Media Driver Reference
Flash Drivers