SignalStarted (Compact 2013)
This function signals that an application has started and initialization is complete.
This function must be called by all applications that the kernel starts at startup through the HKEY_LOCAL_MACHINE\Init registry key. The system passes the application its sequence identifier character string on the command line of the WinMain entry point.
|The command line cannot be used to pass any information other than the sequence identifier. If an application must have information passed to it during boot, it can read the information from the registry or from a configuration file.|
When the application has finished initialization, it converts the string to a DWORD and passes it to SignalStarted. If SignalStarted is not called by such an application, other applications that are dependent on its launch will never run. If SignalStarted is called but the application does not run at startup, system operation will not be affected.