Customizing the Startup User Interface Component
The Startup User Interface component, Startui, implements the UI for the system startup window, which appears when a user wakes up the device. Usually, this window is used to enter a password or just to display the date and time. The Startui component works in conjunction with the Startup component, which is not replaceable but can be removed if you do not want a startup window.
You can customize the appearance and behavior of Startui by modifying and rebuilding the code located in %_WINCEROOT%\Public\Common\Oak\Drivers\Startui. A startup UI component must implement the following functions, as defined by the Startui.h header file:
- Startup_Initialize
- Startup_DlgProc
- Startup_WantStartupScreen
- Startup_PowerOnNotification
- Startup_PowerOffWhileStartupActiveNotification
In addition, the Startui component uses the following function:
You can set the priority of the thread that runs the system startup window by setting the HKEY_LOCAL_MACHINE\SYSTEM\GWE\ThreadPriorities\StartupScreen registry key to the priority level that you want, for example:
[HKEY_LOCAL_MACHINE\SYSTEM\GWE\ThreadPriorities]
"StartupScreen"=dword:fb
See Also
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.