update for HEAD-2003091401
[reactos.git] / subsys / system / usetup / bootsup.h
1 /*
2  *  ReactOS kernel
3  *  Copyright (C) 2002 ReactOS Team
4  *
5  *  This program is free software; you can redistribute it and/or modify
6  *  it under the terms of the GNU General Public License as published by
7  *  the Free Software Foundation; either version 2 of the License, or
8  *  (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU General Public License for more details.
14  *
15  *  You should have received a copy of the GNU General Public License
16  *  along with this program; if not, write to the Free Software
17  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18  */
19 /* $Id$
20  * COPYRIGHT:       See COPYING in the top level directory
21  * PROJECT:         ReactOS text-mode setup
22  * FILE:            subsys/system/usetup/bootsup.h
23  * PURPOSE:         Bootloader support functions
24  * PROGRAMMER:      Eric Kohl
25  */
26
27 #ifndef __BOOTSUP_H__
28 #define __BOOTSUP_H__
29
30 NTSTATUS
31 CreateFreeLoaderIniForDos(PWCHAR IniPath,
32                           PWCHAR ArcPath);
33
34 NTSTATUS
35 CreateFreeLoaderIniForReactos(PWCHAR IniPath,
36                               PWCHAR ArcPath);
37
38 NTSTATUS
39 UpdateFreeLoaderIni(PWCHAR IniPath,
40                     PWCHAR ArcPath);
41
42 NTSTATUS
43 SaveCurrentBootSector(PWSTR RootPath,
44                       PWSTR DstPath);
45
46 NTSTATUS
47 InstallFat16BootCodeToFile(PWSTR SrcPath,
48                            PWSTR DstPath,
49                            PWSTR RootPath);
50
51 NTSTATUS
52 InstallFat32BootCodeToFile(PWSTR SrcPath,
53                            PWSTR DstPath,
54                            PWSTR RootPath);
55
56 NTSTATUS
57 InstallMbrBootCodeToDisk (PWSTR SrcPath,
58                           PWSTR RootPath);
59
60 NTSTATUS
61 InstallFat16BootCodeToDisk(PWSTR SrcPath,
62                            PWSTR RootPath);
63
64 NTSTATUS
65 InstallFat32BootCodeToDisk(PWSTR SrcPath,
66                            PWSTR RootPath);
67
68
69 NTSTATUS
70 UpdateBootIni(PWSTR BootIniPath,
71               PWSTR EntryName,
72               PWSTR EntryValue);
73
74 #endif /* __BOOTSUP_H__ */
75
76 /* EOF */