Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygengenlist.h
Go to the documentation of this file.
00001 /* 00002 * ReactOS kernel 00003 * Copyright (C) 2004 ReactOS Team 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License along 00016 * with this program; if not, write to the Free Software Foundation, Inc., 00017 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00018 */ 00019 /* $Id: genlist.h 45685 2010-02-26 11:43:19Z gedmurphy $ 00020 * COPYRIGHT: See COPYING in the top level directory 00021 * PROJECT: ReactOS text-mode setup 00022 * FILE: subsys/system/usetup/genlist.h 00023 * PURPOSE: Generic list functions 00024 * PROGRAMMER: Eric Kohl 00025 */ 00026 00027 #pragma once 00028 00029 struct _GENERIC_LIST_ENTRY; 00030 typedef struct _GENERIC_LIST_ENTRY *PGENERIC_LIST_ENTRY; 00031 struct _GENERIC_LIST; 00032 typedef struct _GENERIC_LIST *PGENERIC_LIST; 00033 00034 PGENERIC_LIST 00035 CreateGenericList(VOID); 00036 00037 VOID 00038 DestroyGenericList(PGENERIC_LIST List, 00039 BOOLEAN FreeUserData); 00040 00041 BOOLEAN 00042 AppendGenericListEntry(PGENERIC_LIST List, 00043 PCHAR Text, 00044 PVOID UserData, 00045 BOOLEAN Current); 00046 00047 VOID 00048 DrawGenericList(PGENERIC_LIST List, 00049 SHORT Left, 00050 SHORT Top, 00051 SHORT Right, 00052 SHORT Bottom); 00053 00054 VOID 00055 DrawScrollBarGenericLis(PGENERIC_LIST List); 00056 00057 VOID 00058 ScrollDownGenericList(PGENERIC_LIST List); 00059 00060 VOID 00061 ScrollUpGenericList(PGENERIC_LIST List); 00062 00063 VOID 00064 ScrollPageDownGenericList(PGENERIC_LIST List); 00065 00066 VOID 00067 ScrollPageUpGenericList(PGENERIC_LIST List); 00068 00069 VOID 00070 ScrollToPositionGenericList (PGENERIC_LIST List, ULONG uIndex); 00071 00072 VOID 00073 SetCurrentListEntry(PGENERIC_LIST List, PGENERIC_LIST_ENTRY Entry); 00074 00075 PGENERIC_LIST_ENTRY 00076 GetCurrentListEntry(PGENERIC_LIST List); 00077 00078 PGENERIC_LIST_ENTRY 00079 GetFirstListEntry(PGENERIC_LIST List); 00080 00081 PGENERIC_LIST_ENTRY 00082 GetNextListEntry(PGENERIC_LIST_ENTRY Entry); 00083 00084 PVOID 00085 GetListEntryUserData(PGENERIC_LIST_ENTRY List); 00086 00087 LPCSTR 00088 GetListEntryText(PGENERIC_LIST_ENTRY List); 00089 00090 VOID 00091 SaveGenericListState(PGENERIC_LIST List); 00092 00093 VOID 00094 RestoreGenericListState(PGENERIC_LIST List); 00095 00096 VOID 00097 GenericListKeyPress (PGENERIC_LIST List, CHAR AsciChar); 00098 00099 /* EOF */ Generated on Sat May 26 2012 04:16:53 for ReactOS by
1.7.6.1
|