1 startupitem.rh |
1 /* |
|
2 * Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Definitions for the stucture of a configuration file required |
|
15 * for components started at boot time. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef STARTUPITEM_RH |
|
21 #define STARTUPITEM_RH |
|
22 |
|
23 #include <StartupItem.hrh> |
|
24 |
|
25 /** Defines the structure of the startup control resource file providing information about |
|
26 * component(s) to be started at boot time. |
|
27 * |
|
28 * Example of the resource file: |
|
29 * |
|
30 * @code |
|
31 * #include <startupitem.rh> |
|
32 * |
|
33 * RESOURCE STARTUP_ITEM_INFO example |
|
34 * { |
|
35 * executable_name = "c:\\sys\\bin\\example.exe"; |
|
36 * recovery = EStartupItemExPolicyNone; |
|
37 * } |
|
38 * @endcode |
|
39 * |
|
40 */ |
|
41 |
|
42 STRUCT STARTUP_ITEM_INFO |
|
43 { |
|
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. |
|
50 } |
|
51 |
|
52 #endif // STARTUPITEM_RH |