ReactOS
0.4.16-dev-2633-g8dc9e50
oslist.h
Go to the documentation of this file.
1
/*
2
* FreeLoader
3
* Copyright (C) 1998-2003 Brian Palmer <brianp@sginet.com>
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 along
16
* with this program; if not, write to the Free Software Foundation, Inc.,
17
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
*/
19
20
#pragma once
21
22
#define TAG_STRING ' rtS'
23
24
typedef
struct
tagOperatingSystemItem
25
{
26
ULONG_PTR
SectionId
;
//< Boot entry ID
27
PCSTR
LoadIdentifier
;
//< Boot entry identifier
28
CHAR
AdvBootOptsDesc
[260];
//< Per-OS human-readable boot-option descriptions.
29
}
OperatingSystemItem
;
30
31
OperatingSystemItem
*
32
InitOperatingSystemList
(
33
_Out_
PULONG
OperatingSystemCount,
34
_Out_
PULONG
DefaultOperatingSystem);
_Out_
#define _Out_
Definition:
no_sal2.h:160
OperatingSystemItem
struct tagOperatingSystemItem OperatingSystemItem
InitOperatingSystemList
OperatingSystemItem * InitOperatingSystemList(_Out_ PULONG OperatingSystemCount, _Out_ PULONG DefaultOperatingSystem)
Definition:
oslist.c:46
CHAR
char CHAR
Definition:
pedump.c:57
tagOperatingSystemItem
Definition:
oslist.h:25
tagOperatingSystemItem::LoadIdentifier
PCSTR LoadIdentifier
Definition:
oslist.h:27
tagOperatingSystemItem::AdvBootOptsDesc
CHAR AdvBootOptsDesc[260]
Definition:
oslist.h:28
tagOperatingSystemItem::SectionId
ULONG_PTR SectionId
Definition:
oslist.h:26
PULONG
uint32_t * PULONG
Definition:
typedefs.h:59
PCSTR
const char * PCSTR
Definition:
typedefs.h:52
ULONG_PTR
uint32_t ULONG_PTR
Definition:
typedefs.h:65
boot
freeldr
freeldr
include
oslist.h
Generated on Wed Apr 22 2026 06:03:23 for ReactOS by
1.9.6