williamr@2: /* williamr@4: * Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies). williamr@2: * All rights reserved. williamr@2: * This component and the accompanying materials are made available williamr@4: * under the terms of "Eclipse Public License v1.0" williamr@2: * which accompanies this distribution, and is available williamr@4: * at the URL "http://www.eclipse.org/legal/epl-v10.html". williamr@2: * williamr@2: * Initial Contributors: williamr@2: * Nokia Corporation - initial contribution. williamr@2: * williamr@2: * Contributors: williamr@2: * williamr@4: * Description: Definitions for the stucture of a configuration file required williamr@2: * for components started at boot time. williamr@2: * williamr@2: */ williamr@2: williamr@2: williamr@2: #ifndef STARTUPITEM_RH williamr@2: #define STARTUPITEM_RH williamr@2: williamr@2: #include williamr@2: williamr@2: /** Defines the structure of the startup control resource file providing information about williamr@2: * component(s) to be started at boot time. williamr@2: * williamr@2: * Example of the resource file: williamr@2: * williamr@2: * @code williamr@2: * #include williamr@2: * williamr@2: * RESOURCE STARTUP_ITEM_INFO example williamr@2: * { williamr@2: * executable_name = "c:\\sys\\bin\\example.exe"; williamr@2: * recovery = EStartupItemExPolicyNone; williamr@2: * } williamr@2: * @endcode williamr@2: * williamr@2: */ williamr@2: williamr@2: STRUCT STARTUP_ITEM_INFO williamr@2: { williamr@2: BYTE version = 0; ///< Version info. Do NOT use. williamr@2: LTEXT executable_name(255); ///< The path and name of the executable. williamr@2: WORD recovery = EStartupItemExPolicyNone; ///< The exception recovery policy used. williamr@2: LONG reserved_1 = 0; ///< Reserved for future use. williamr@2: BYTE reserved_2 = 0; ///< Reserved for future use. williamr@2: BYTE reserved_3 = 0; ///< Reserved for future use. williamr@2: } williamr@2: williamr@4: #endif // STARTUPITEM_RH williamr@4: