VOID
-DestroyGenericList(PGENERIC_LIST List,
- BOOLEAN FreeUserData)
+DestroyGenericList(
+ PGENERIC_LIST List,
+ BOOLEAN FreeUserData)
{
PGENERIC_LIST_ENTRY ListEntry;
PLIST_ENTRY Entry;
BOOLEAN
-AppendGenericListEntry(PGENERIC_LIST List,
- PCHAR Text,
- PVOID UserData,
- BOOLEAN Current)
+AppendGenericListEntry(
+ PGENERIC_LIST List,
+ PCHAR Text,
+ PVOID UserData,
+ BOOLEAN Current)
{
PGENERIC_LIST_ENTRY Entry;
}
-static VOID
-DrawListFrame(PGENERIC_LIST GenericList)
+static
+VOID
+DrawListFrame(
+ PGENERIC_LIST GenericList)
{
COORD coPos;
DWORD Written;
}
-static VOID
-DrawListEntries(PGENERIC_LIST GenericList)
+static
+VOID
+DrawListEntries(
+ PGENERIC_LIST GenericList)
{
PGENERIC_LIST_ENTRY ListEntry;
PLIST_ENTRY Entry;
}
}
-static VOID
-DrawScrollBarGenericList(PGENERIC_LIST GenericList)
+
+static
+VOID
+DrawScrollBarGenericList(
+ PGENERIC_LIST GenericList)
{
COORD coPos;
DWORD Written;
}
}
+
VOID
-DrawGenericList(PGENERIC_LIST List,
- SHORT Left,
- SHORT Top,
- SHORT Right,
- SHORT Bottom)
+DrawGenericList(
+ PGENERIC_LIST List,
+ SHORT Left,
+ SHORT Top,
+ SHORT Right,
+ SHORT Bottom)
{
List->FirstShown = List->ListHead.Flink;
List->Left = Left;
DrawScrollBarGenericList(List);
}
+
VOID
-ScrollPageDownGenericList (PGENERIC_LIST List)
+ScrollPageDownGenericList(
+ PGENERIC_LIST List)
{
SHORT i;
List->Redraw = TRUE;
}
+
VOID
-ScrollPageUpGenericList (PGENERIC_LIST List)
+ScrollPageUpGenericList(
+ PGENERIC_LIST List)
{
SHORT i;
List->Redraw = TRUE;
}
+
VOID
-ScrollDownGenericList (PGENERIC_LIST List)
+ScrollDownGenericList(
+ PGENERIC_LIST List)
{
PLIST_ENTRY Entry;
VOID
-ScrollToPositionGenericList (PGENERIC_LIST List, ULONG uIndex)
+ScrollToPositionGenericList(
+ PGENERIC_LIST List,
+ ULONG uIndex)
{
PLIST_ENTRY Entry;
ULONG uCount = 0;
VOID
-ScrollUpGenericList (PGENERIC_LIST List)
+ScrollUpGenericList(
+ PGENERIC_LIST List)
{
PLIST_ENTRY Entry;
VOID
-RedrawGenericList(PGENERIC_LIST List)
+RedrawGenericList(
+ PGENERIC_LIST List)
{
if (List->CurrentEntry == NULL)
return;
VOID
-SetCurrentListEntry(PGENERIC_LIST List, PGENERIC_LIST_ENTRY Entry)
+SetCurrentListEntry(
+ PGENERIC_LIST List,
+ PGENERIC_LIST_ENTRY Entry)
{
if (Entry->List != List)
return;
PGENERIC_LIST_ENTRY
-GetCurrentListEntry(PGENERIC_LIST List)
+GetCurrentListEntry(
+ PGENERIC_LIST List)
{
return List->CurrentEntry;
}
PGENERIC_LIST_ENTRY
-GetFirstListEntry(PGENERIC_LIST List)
+GetFirstListEntry(
+ PGENERIC_LIST List)
{
PLIST_ENTRY Entry = List->ListHead.Flink;
PGENERIC_LIST_ENTRY
-GetNextListEntry(PGENERIC_LIST_ENTRY Entry)
+GetNextListEntry(
+ PGENERIC_LIST_ENTRY Entry)
{
PLIST_ENTRY Next = Entry->Entry.Flink;
PVOID
-GetListEntryUserData(PGENERIC_LIST_ENTRY List)
+GetListEntryUserData(
+ PGENERIC_LIST_ENTRY List)
{
return List->UserData;
}
LPCSTR
-GetListEntryText(PGENERIC_LIST_ENTRY List)
+GetListEntryText(
+ PGENERIC_LIST_ENTRY List)
{
return List->Text;
}
VOID
-GenericListKeyPress (PGENERIC_LIST GenericList, CHAR AsciChar)
+GenericListKeyPress(
+ PGENERIC_LIST GenericList,
+ CHAR AsciChar)
{
PGENERIC_LIST_ENTRY ListEntry;
PGENERIC_LIST_ENTRY OldListEntry;
VOID
-SaveGenericListState(PGENERIC_LIST List)
+SaveGenericListState(
+ PGENERIC_LIST List)
{
List->BackupEntry = List->CurrentEntry;
}
VOID
-RestoreGenericListState(PGENERIC_LIST List)
+RestoreGenericListState(
+ PGENERIC_LIST List)
{
List->CurrentEntry = List->BackupEntry;
}