mirror of
https://github.com/reactos/reactos.git
synced 2024-11-11 01:04:11 +00:00
c424146e2c
svn path=/branches/cmake-bringup/; revision=48236
30 lines
770 B
C
30 lines
770 B
C
/*
|
|
* PROJECT: ReactOS Session Manager
|
|
* LICENSE: GPL v2 or later - See COPYING in the top level directory
|
|
* FILE: base/system/smss/initheap.c
|
|
* PURPOSE: Create the SM private heap.
|
|
* PROGRAMMERS: ReactOS Development Team
|
|
*/
|
|
|
|
/* INCLUDES ******************************************************************/
|
|
#include "smss.h"
|
|
|
|
#define NDEBUG
|
|
#include <debug.h>
|
|
|
|
HANDLE SmpHeap = NULL;
|
|
|
|
NTSTATUS
|
|
SmCreateHeap(VOID)
|
|
{
|
|
/* Create our own heap */
|
|
SmpHeap = RtlCreateHeap(HEAP_GROWABLE,
|
|
NULL,
|
|
65536,
|
|
65536,
|
|
NULL,
|
|
NULL);
|
|
return (NULL == SmpHeap) ? STATUS_UNSUCCESSFUL : STATUS_SUCCESS;
|
|
}
|
|
|
|
/* EOF */
|