Share via


IOCTL_FLASH_PDD_GET_BLOCK_STATUS (Windows Embedded CE 6.0)

1/6/2010

This IOCTL queries the status of a specific block.

Parameters

  • dwIoControlCode
    [in] Specifies this IOCTL.
  • nInBufferSize
    [in] Set to the size of the FLASH_GET_BLOCK_STATUS_REQUEST structure.
  • lpOutBuffer
    [out] Array of ULONG values, where each ULONG value represents the status of the corresponding block.
  • nOutBufferSize
    [in] Size of the array of ULONG values. Specifically, it must equal sizeof(ULONG) multiplied by the BlockCount specified in the BLOCK_RUN member of the input structure.
  • 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