mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 07:03:10 +00:00
[SETUPLIB][USETUP] Make the GENERIC_LIST store the items display text in UNICODE (and not in ANSI).
Only convert to ANSI when needed (e.g. in the display code for usetup). The 1st-stage GUI setup will however use the UNICODE strings directly. svn path=/branches/setup_improvements/; revision=75753
This commit is contained in:
parent
b86d19e936
commit
254aa472e8
7 changed files with 44 additions and 27 deletions
|
@ -12,7 +12,7 @@ typedef struct _GENERIC_LIST_ENTRY
|
|||
LIST_ENTRY Entry;
|
||||
struct _GENERIC_LIST* List;
|
||||
PVOID UserData;
|
||||
CHAR Text[1]; // FIXME: UI stuff
|
||||
WCHAR Text[1]; // FIXME: UI stuff
|
||||
|
||||
} GENERIC_LIST_ENTRY, *PGENERIC_LIST_ENTRY;
|
||||
|
||||
|
@ -38,7 +38,7 @@ DestroyGenericList(
|
|||
BOOLEAN
|
||||
AppendGenericListEntry(
|
||||
IN OUT PGENERIC_LIST List,
|
||||
IN PCHAR Text,
|
||||
IN PCWSTR Text,
|
||||
IN PVOID UserData,
|
||||
IN BOOLEAN Current);
|
||||
|
||||
|
@ -63,7 +63,7 @@ PVOID
|
|||
GetListEntryUserData(
|
||||
IN PGENERIC_LIST_ENTRY Entry);
|
||||
|
||||
LPCSTR
|
||||
PCWSTR
|
||||
GetListEntryText(
|
||||
IN PGENERIC_LIST_ENTRY Entry);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue