Share via


IOCTL_FLASH_PDD_LOCK_BLOCKS (Windows Embedded CE 6.0)

1/6/2010

This IOCTL locks one or more contiguous ranges of physical blocks; such that block can not be unlocked without a power reset. If support for block locking is desired, then this IOCTL must be implemented.

Parameters

  • dwIoControlCode
    [in] Specifies this IOCTL.
  • lpInBuffer
    [in] Pointer to an array of BLOCK_RUN structures. Each element of the array specifies a single run of blocks to lock. All other blocks should be unlocked.
  • nInBufferSize
    [in] Size of the BLOCK_RUN structure multiplied by the number of elements in the array.
  • lpOutBuffer
    Not used. Set to NULL.
  • nOutBufferSize
    Not used. Set to zero (0).
  • 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