Symptoms
Consider the following scenario:
-
You have a Windows Embedded Compact 7-based device.
-
You create a Windows Embedded Compact 7 image that includes the following Sysgen variables:
-
BSP_SOFTRESET=1
-
SYSGEN_FSRAMROM=1
-
SYSGEN_FSREGRAM=1
-
-
You start the image.
-
You create some files and folders in the root directory.
-
The SetSystemPowerState(NULL, POWER_STATE_RESET, POWER_FORCE) function is called to perform a soft reset.
In this scenario, the files and folders that you created are lost after the device is restarted.
Resolution
Software update information
A supported software update is now available from Microsoft as Windows Embedded Compact 7 Monthly Update January 2012. In the "File information" section, the package file name contains the processor type.
Note This Windows Embedded Compact 7 monthly update is available for download from the following Microsoft Download Center website:Windows Embedded Compact 7 Updates
Prerequisites
This update is supported only if all previously issued updates for this product have also been installed.
Restart requirement
After you apply this update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
-
On the Build menu, click Clean Solution, and then click Build Solution.
-
On the Build menu, click Rebuild Solution.
You do not have to restart the computer after you apply this software update.
Update replacement information
This update does not replace any other updates.
File information
The English version of this software update package has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Files that are included in this update package
File name |
File size |
Date |
Time |
Path |
---|---|---|---|---|
Kdriver.c |
39,236 |
03-Jan-2012 |
20:04 |
Private\Winceos\Coreos\Nk \Kernel |
Kwin32.c |
48,570 |
03-Jan- 2012 |
20:04 |
Private\Winceos\Coreos\Nk \Kernel |
Nkmain.lib |
3,552,102 |
03-Jan- 2012 |
19:51 |
Public\Common\Oak\Lib \Armv5\Checked |
Nkprmain.lib |
3,609,752 |
03-Jan- 2012 |
19:51 |
Public\Common\Oak\Lib \Armv5\Checked |
Nkmain.lib |
3,942,536 |
03-Jan- 2012 |
19:51 |
Public\Common\Oak\Lib \Armv5\Debug |
Nkprmain.lib |
4,013,144 |
03-Jan- 2012 |
19:51 |
Public\Common\Oak\Lib \Armv5\Debug |
Nkmain.lib |
2,429,164 |
03-Jan- 2012 |
19:51 |
Public\Common\Oak\Lib \Armv5\Retail |
Nkprmain.lib |
2,487,492 |
03-Jan- 2012 |
19:51 |
Public\Common\Oak\Lib \Armv5\Retail |
Nkmain.lib |
3,552,036 |
03-Jan- 2012 |
19:53 |
Public\Common\Oak\Lib \Armv6\Checked |
Nkprmain.lib |
3,609,686 |
03-Jan- 2012 |
19:53 |
Public\Common\Oak\Lib \Armv6\Checked |
Nkmain.lib |
3,941,764 |
03-Jan- 2012 |
19:53 |
Public\Common\Oak\Lib \Armv6\Debug |
Nkprmain.lib |
4,012,372 |
03-Jan- 2012 |
19:53 |
Public\Common\Oak\Lib \Armv6\Debug |
Nkmain.lib |
2,429,134 |
03-Jan- 2012 |
19:53 |
Public\Common\Oak\Lib \Armv6\Retail |
Nkprmain.lib |
2,487,462 |
03-Jan- 2012 |
19:53 |
Public\Common\Oak\Lib \Armv6\Retail |
Nkmain.lib |
3,541,648 |
03-Jan- 2012 |
19:56 |
Public\Common\Oak\Lib \Armv7\Checked |
Nkprmain.lib |
3,599,078 |
03-Jan- 2012 |
19:56 |
Public\Common\Oak\Lib \Armv7\Checked |
Nkmain.lib |
3,931,418 |
03-Jan- 2012 |
19:55 |
Public\Common\Oak\Lib \Armv7\Debug |
Nkprmain.lib |
4,001,190 |
03-Jan- 2012 |
19:55 |
Public\Common\Oak\Lib \Armv7\Debug |
Nkmain.lib |
2,422,614 |
03-Jan- 2012 |
19:55 |
Public\Common\Oak\Lib \Armv7\Retail |
Nkprmain.lib |
2,480,934 |
03-Jan- 2012 |
19:55 |
Public\Common\Oak\Lib \Armv7\Retail |
Nkmain.lib |
3,255,604 |
03-Jan- 2012 |
19:58 |
Public\Common\Oak\Lib\Mipsii \Checked |
Nkprmain.lib |
3,301,906 |
03-Jan- 2012 |
19:58 |
Public\Common\Oak\Lib\Mipsii \Checked |
Nkmain.lib |
3,688,544 |
03-Jan- 2012 |
19:57 |
Public\Common\Oak\Lib\Mipsii \Debug |
Nkprmain.lib |
3,757,366 |
03-Jan- 2012 |
19:57 |
Public\Common\Oak\Lib\Mipsii \Debug |
Nkmain.lib |
2,194,246 |
03-Jan- 2012 |
19:57 |
Public\Common\Oak\Lib\Mipsii \Retail |
Nkprmain.lib |
2,241,438 |
03-Jan- 2012 |
19:57 |
Public\Common\Oak\Lib\Mipsii \Retail |
Nkmain.lib |
3,313,886 |
03-Jan- 2012 |
20:00 |
Public\Common\Oak\Lib\Mipsii_fp \Checked |
Nkprmain.lib |
3,360,232 |
03-Jan- 2012 |
20:00 |
Public\Common\Oak\Lib\Mipsii_fp \Checked |
Nkmain.lib |
3,765,402 |
03-Jan- 2012 |
20:00 |
Public\Common\Oak\Lib\Mipsii_fp \Debug |
Nkprmain.lib |
3,834,256 |
03-Jan- 2012 |
20:00 |
Public\Common\Oak\Lib\Mipsii_fp \Debug |
Nkmain.lib |
2,255,030 |
03-Jan- 2012 |
19:59 |
Public\Common\Oak\Lib\Mipsii_fp \Retail |
Nkprmain.lib |
2,302,164 |
03-Jan- 2012 |
19:59 |
Public\Common\Oak\Lib\Mipsii_fp \Retail |
Nkmain.lib |
3,002,042 |
03-Jan- 2012 |
20:02 |
Public\Common\Oak\Lib \Sh4\Checked |
Nkprmain.lib |
3,039,610 |
03-Jan- 2012 |
20:02 |
Public\Common\Oak\Lib \Sh4\Checked |
Nkmain.lib |
3,307,648 |
03-Jan- 2012 |
20:01 |
Public\Common\Oak\Lib \Sh4\Debug |
Nkprmain.lib |
3,357,698 |
03-Jan- 2012 |
20:01 |
Public\Common\Oak\Lib \Sh4\Debug |
Nkmain.lib |
2,066,426 |
03-Jan- 2012 |
20:01 |
Public\Common\Oak\Lib \Sh4\Retail |
Nkprmain.lib |
2,108,358 |
03-Jan- 2012 |
20:01 |
Public\Common\Oak\Lib \Sh4\Retail |
Nkmain.lib |
3,079,632 |
03-Jan- 2012 |
20:03 |
Public\Common\Oak\Lib \X86\Checked |
Nkprmain.lib |
3,121,794 |
03-Jan- 2012 |
20:03 |
Public\Common\Oak\Lib \X86\Checked |
Nkmain.lib |
3,219,408 |
03-Jan- 2012 |
20:03 |
Public\Common\Oak\Lib \X86\Debug |
Nkprmain.lib |
3,267,272 |
03-Jan- 2012 |
20:03 |
Public\Common\Oak\Lib \X86\Debug |
Nkmain.lib |
2,027,258 |
03-Jan- 2012 |
20:03 |
Public\Common\Oak\Lib \X86\Retail |
Nkprmain.lib |
2,069,740 |
03-Jan- 2012 |
20:03 |
Public\Common\Oak\Lib\X86\Retail |
References
For more information about the SetSystemPowerState function, visit the following Microsoft Developer Network (MSDN) website:
SetSystemPowerState (Windows Embedded Compact 7)For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates