3 * Copyright (C) 2004 ReactOS Team
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.
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.
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.
20 * COPYRIGHT: See COPYING in the top level directory
21 * PROJECT: ReactOS text-mode setup
22 * FILE: subsys/system/usetup/genlist.h
23 * PURPOSE: Generic list functions
24 * PROGRAMMER: Eric Kohl
30 typedef struct _GENERIC_LIST_ENTRY
35 } GENERIC_LIST_ENTRY
, *PGENERIC_LIST_ENTRY
;
38 typedef struct _GENERIC_LIST
47 PGENERIC_LIST_ENTRY CurrentEntry
;
48 PGENERIC_LIST_ENTRY BackupEntry
;
49 } GENERIC_LIST
, *PGENERIC_LIST
;
54 CreateGenericList(VOID
);
57 DestroyGenericList(PGENERIC_LIST List
,
58 BOOLEAN FreeUserData
);
61 AppendGenericListEntry(PGENERIC_LIST List
,
67 DrawGenericList(PGENERIC_LIST List
,
74 ScrollDownGenericList(PGENERIC_LIST List
);
77 ScrollUpGenericList(PGENERIC_LIST List
);
80 GetGenericListEntry(PGENERIC_LIST List
);
83 SaveGenericListState(PGENERIC_LIST List
);
86 RestoreGenericListState(PGENERIC_LIST List
);
88 #endif /* __GENLIST_H__ */