Share via


IOCTL_FLASH_PDD_GET_PHYSICAL_SECTOR_ADDRESS (Windows Embedded CE 6.0)

1/6/2010

This IOCTL retrieves the physical sector address. If XIP support is desired, then this IOCTL must be implemented.

Parameters

  • dwIoControlCode
    [in] Specifies this IOCTL.
  • nInBufferSize
    [in] Size of the FLASH_GET_PHYSICAL_SECTOR_ADDRESS_REQUEST structure.
  • lpOutBuffer
    [out] Pointer to an array of void* pointers, where each pointer contains the statically mapped virtual address of the corresponding sector.
  • nOutBufferSize
    [in] Size, in bytes, of the output array. This size must be equal to the size of a void* pointer multiplied by the SectorCount value in the SECTOR_RUN 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