Share via


IOCTL_FLASH_CREATE_PARTITION (Windows Embedded CE 6.0)

1/6/2010

This IOCTL creates one or more new partitions located at the end of the existing partitions.

Parameters

  • dwIoControlCode
    [in] Specifies this IOCTL.
  • nInBufferSize
    [in] Size of the FLASH_PARTITION_CREATE_INFO structure multiplied by the number of elements in the input array.
  • lpOutBuffer
    [in] Pointer to an array of FLASH_PARTITION_INFO structures, which contains the information for the created partition(s). If partition information is not needed, then set to NULL.
  • nOutBufferSize
    [in] Size of the FLASH_PARTITION_INFO structure multiplied by the number of elements in the output array. Set to zero (0) if partition information is not needed.
  • 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