Process priorities, System shutdown – Rockwell Automation 6182 SDK User Manual
Page 28
![background image](/manuals/580154/28/background.png)
1–22
Introduction to the RAC6182
Publication 6182-UM002B-EN-P
completed startup, so dependencies should not be placed directly on
explorer.exe. Consequently, the start menu, taskbar, etc. may still be
drawing when oemstartup.exe is called.
Although there is a \windows\startup folder in the file system, the
placement of a shortcut in this folder in order to start the associated
application automatically at system startup is not recommended. The
folder \windows\startup is RAM based, and its contents will not persist
from one operating session to the next.
The solution is to place shortcuts in \Storage Card\Windows or in a
directory under it. In a normal system initialization sequence, everything
in \Storage Card\Windows\ (in the persistent file system), including
subdirectories and their contents, is copied to \Windows (in the RAM
filesystem) following the startup of gwes.exe. This copy operation is not
performed only when the system has been placed in diagnostic mode,
either by the installation of a jumper on the system board (see
information about the boot ROM elsewhere in this manual), or by an
application, using a call to the system function rm_SetParameter (see the
description of this function elsewhere in this manual).
Process Priorities
All executable files start in user mode. Any application can change to
kernel mode or back with the Windows CE SetKMode() call. The only
known exception is nk.exe, which is started first and doesn't follow the
same rules.
System Shutdown
The system supports a soft reset and provides a shut-down indicator in
non-volatile memory.