Share via


IOCTL_FLASH_GET_SECTOR_ADDRESS (Windows Embedded CE 6.0)

1/6/2010

This IOCTL retrieves, for every logical sector address provided, the corresponding statically mapped virtual address of the physical sector.

Parameters

  • dwIoControlCode
    [in] Specifies this IOCTL.
  • nInBufferSize
    [in] Size of the FLASH_GET_SECTOR_ADDRESS structure plus the size of a ULONG for each logical sector beyond the first.
  • lpOutBuffer
    [out] Receives the array of physical sector addresses.
  • nOutBufferSize
    [in] Size of the physical sector address array.
  • 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 FlashMdd.h
Windows Embedded CE Windows Embedded CE 6.0 R2

See Also

Reference

Flash Driver MDD IOCTLs