IOCTL_FLASH_FORMAT_STORE
IOCTL_FLASH_FORMAT_STORE
Windows Mobile Not SupportedWindows Embedded CE Supported
8/28/2008

This IOCTL erases all of the blocks in the flash region and reinitializes the partition table.

Parameters

dwIoControlCode

[in] Specifies this IOCTL.

lpInBuffer

[in] Pointer to a DWORD containing the region index to format. Alternatively, pass NULL to format all regions.

nInBufferSize

[in] Size of a DWORD when formatting a single region. Set to zero (0) when formatting the entire store.

lpOutBuffer

Not used. Set to NULL.

nOutBufferSize

Not used. Set to zero (0).

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

HeaderFlashMdd.h
Windows Embedded CEWindows Embedded CE 6.0 R2
See Also

Reference

Flash Driver MDD IOCTLs

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View