2 * Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Definitions for the stucture of a configuration file required
15 * for components started at boot time.
20 #ifndef STARTUPITEM_RH
21 #define STARTUPITEM_RH
23 #include <StartupItem.hrh>
25 /** Defines the structure of the startup control resource file providing information about
26 * component(s) to be started at boot time.
28 * Example of the resource file:
31 * #include <startupitem.rh>
33 * RESOURCE STARTUP_ITEM_INFO example
35 * executable_name = "c:\\sys\\bin\\example.exe";
36 * recovery = EStartupItemExPolicyNone;
42 STRUCT STARTUP_ITEM_INFO
44 BYTE version = 0; ///< Version info. Do NOT use.
45 LTEXT executable_name(255); ///< The path and name of the executable.
46 WORD recovery = EStartupItemExPolicyNone; ///< The exception recovery policy used.
47 LONG reserved_1 = 0; ///< Reserved for future use.
48 BYTE reserved_2 = 0; ///< Reserved for future use.
49 BYTE reserved_3 = 0; ///< Reserved for future use.
52 #endif // STARTUPITEM_RH