IOCTL_FLASH_GET_REGION_FREE_SPACE (Windows Embedded CE 6.0)
1/6/2010
This IOCTL retrieves the number of free blocks in a particular region that can be used for creating new partitions. The block count retrieved accounts for bad blocks.
Parameters
- dwIoControlCode
[in] Specifies this IOCTL.
- lpInBuffer
[in] Pointer to a DWORD containing the region index to get free space from.
- nInBufferSize
[in] Size of a DWORD.
- lpOutBuffer
[out] Number of free blocks available.
- nOutBufferSize
[in] Size of a DWORD.
- 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 |