mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 14:30:57 +00:00
[KERNEL32]: Arch, you have to initialize your strings first!
svn path=/trunk/; revision=52867
This commit is contained in:
parent
3b813c314d
commit
c7fec3098c
1 changed files with 4 additions and 1 deletions
|
@ -264,7 +264,7 @@ BasepFakeStaticServerData(VOID)
|
||||||
UNICODE_STRING SystemRootString;
|
UNICODE_STRING SystemRootString;
|
||||||
UNICODE_STRING UnexpandedSystemRootString = RTL_CONSTANT_STRING(L"%SystemRoot%");
|
UNICODE_STRING UnexpandedSystemRootString = RTL_CONSTANT_STRING(L"%SystemRoot%");
|
||||||
UNICODE_STRING BaseSrvCSDString;
|
UNICODE_STRING BaseSrvCSDString;
|
||||||
RTL_QUERY_REGISTRY_TABLE BaseServerRegistryConfigurationTable[] =
|
RTL_QUERY_REGISTRY_TABLE BaseServerRegistryConfigurationTable[2] =
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -322,6 +322,9 @@ BasepFakeStaticServerData(VOID)
|
||||||
*/
|
*/
|
||||||
BaseStaticServerData->CSDNumber = 0;
|
BaseStaticServerData->CSDNumber = 0;
|
||||||
BaseStaticServerData->RCNumber = 0;
|
BaseStaticServerData->RCNumber = 0;
|
||||||
|
|
||||||
|
/* Initialize the CSD string */
|
||||||
|
RtlInitEmptyUnicodeString(&BaseSrvCSDString, Buffer, sizeof(Buffer));
|
||||||
|
|
||||||
Status = RtlQueryRegistryValues(RTL_REGISTRY_WINDOWS_NT,
|
Status = RtlQueryRegistryValues(RTL_REGISTRY_WINDOWS_NT,
|
||||||
L"",
|
L"",
|
||||||
|
|
Loading…
Reference in a new issue