mirror of
https://github.com/reactos/reactos.git
synced 2024-07-07 21:25:05 +00:00
Move the init of server info after heap is init.
svn path=/trunk/; revision=33766
This commit is contained in:
parent
87b264fba8
commit
c4f0f3c668
|
@ -10,6 +10,7 @@
|
||||||
#define UserEnterCo UserEnterExclusive
|
#define UserEnterCo UserEnterExclusive
|
||||||
#define UserLeaveCo UserLeave
|
#define UserLeaveCo UserLeave
|
||||||
|
|
||||||
|
extern PSERVERINFO gpsi;
|
||||||
|
|
||||||
NTSTATUS FASTCALL InitUserImpl(VOID);
|
NTSTATUS FASTCALL InitUserImpl(VOID);
|
||||||
VOID FASTCALL CleanupUserImpl(VOID);
|
VOID FASTCALL CleanupUserImpl(VOID);
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
extern PSERVERINFO gpsi;
|
|
||||||
//static PEVENTTABLE GlobalEvents;
|
//static PEVENTTABLE GlobalEvents;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,6 @@
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
extern PSERVERINFO gpsi;
|
|
||||||
|
|
||||||
static BOOL Setup = FALSE;
|
static BOOL Setup = FALSE;
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
extern PSERVERINFO gpsi;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
|
|
|
@ -57,6 +57,9 @@ NTSTATUS FASTCALL InitUserImpl(VOID)
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gpsi = UserHeapAlloc(sizeof(SERVERINFO));
|
||||||
|
if (gpsi) RtlZeroMemory(gpsi, sizeof(SERVERINFO));
|
||||||
|
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,6 @@
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
extern PSERVERINFO gpsi;
|
|
||||||
|
|
||||||
/* dialog resources appear to pass this in 16 bits, handle them properly */
|
/* dialog resources appear to pass this in 16 bits, handle them properly */
|
||||||
#define CW_USEDEFAULT16 (0x8000)
|
#define CW_USEDEFAULT16 (0x8000)
|
||||||
|
@ -51,8 +50,6 @@ extern PSERVERINFO gpsi;
|
||||||
NTSTATUS FASTCALL
|
NTSTATUS FASTCALL
|
||||||
InitWindowImpl(VOID)
|
InitWindowImpl(VOID)
|
||||||
{
|
{
|
||||||
gpsi = UserHeapAlloc(sizeof(SERVERINFO));
|
|
||||||
if (gpsi) RtlZeroMemory(gpsi, sizeof(SERVERINFO));
|
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
extern PSERVERINFO gpsi;
|
|
||||||
|
|
||||||
static COLORREF SysColors[] =
|
static COLORREF SysColors[] =
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue