mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 20:30:04 +00:00
[KERNEL32]: The ANSI/OEM stubs were never initialized... it's a miracle this ever worked, probably because someone added a #define to at least one of them to hack it into working. Initialize the value snow, fixes boot.
svn path=/trunk/; revision=54310
This commit is contained in:
parent
e1ecfcf440
commit
3b9a6f799a
|
@ -20,6 +20,10 @@ DEBUG_CHANNEL(kernel32file);
|
||||||
/* GLOBALS ******************************************************************/
|
/* GLOBALS ******************************************************************/
|
||||||
|
|
||||||
BOOL bIsFileApiAnsi = TRUE; // set the file api to ansi or oem
|
BOOL bIsFileApiAnsi = TRUE; // set the file api to ansi or oem
|
||||||
|
PRTL_CONVERT_STRING Basep8BitStringToUnicodeString = RtlAnsiStringToUnicodeString;
|
||||||
|
PRTL_CONVERT_STRINGA BasepUnicodeStringTo8BitString = RtlUnicodeStringToAnsiString;
|
||||||
|
PRTL_COUNT_STRING BasepUnicodeStringTo8BitSize = BasepUnicodeStringToAnsiSize;
|
||||||
|
PRTL_COUNT_STRINGA Basep8BitStringToUnicodeSize = BasepAnsiStringToUnicodeSize;
|
||||||
|
|
||||||
/* FUNCTIONS ****************************************************************/
|
/* FUNCTIONS ****************************************************************/
|
||||||
|
|
||||||
|
|
|
@ -21,11 +21,6 @@
|
||||||
|
|
||||||
/* GLOBALS ********************************************************************/
|
/* GLOBALS ********************************************************************/
|
||||||
|
|
||||||
PRTL_CONVERT_STRING Basep8BitStringToUnicodeString;
|
|
||||||
PRTL_CONVERT_STRINGA BasepUnicodeStringTo8BitString;
|
|
||||||
PRTL_COUNT_STRING BasepUnicodeStringTo8BitSize;
|
|
||||||
PRTL_COUNT_STRINGA Basep8BitStringToUnicodeSize;
|
|
||||||
|
|
||||||
UNICODE_STRING Restricted = RTL_CONSTANT_STRING(L"Restricted");
|
UNICODE_STRING Restricted = RTL_CONSTANT_STRING(L"Restricted");
|
||||||
|
|
||||||
/* FUNCTIONS ******************************************************************/
|
/* FUNCTIONS ******************************************************************/
|
||||||
|
|
|
@ -245,6 +245,13 @@ typedef NTSTATUS (NTAPI *PRTL_CONVERT_STRINGA)(IN PANSI_STRING AnsiString,
|
||||||
|
|
||||||
typedef ULONG (NTAPI *PRTL_COUNT_STRINGA)(IN PANSI_STRING UnicodeString);
|
typedef ULONG (NTAPI *PRTL_COUNT_STRINGA)(IN PANSI_STRING UnicodeString);
|
||||||
|
|
||||||
|
ULONG
|
||||||
|
NTAPI
|
||||||
|
BasepUnicodeStringToAnsiSize(IN PUNICODE_STRING String);
|
||||||
|
|
||||||
|
ULONG
|
||||||
|
NTAPI
|
||||||
|
BasepAnsiStringToUnicodeSize(IN PANSI_STRING String);
|
||||||
|
|
||||||
extern PRTL_CONVERT_STRING Basep8BitStringToUnicodeString;
|
extern PRTL_CONVERT_STRING Basep8BitStringToUnicodeString;
|
||||||
extern PRTL_CONVERT_STRINGA BasepUnicodeStringTo8BitString;
|
extern PRTL_CONVERT_STRINGA BasepUnicodeStringTo8BitString;
|
||||||
|
|
Loading…
Reference in a new issue