mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 12:32:47 +00:00
- Disable paging file for Live CD.
svn path=/trunk/; revision=9618
This commit is contained in:
parent
f3f89873bd
commit
73dfa9e66a
1 changed files with 9 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: init.c,v 1.54 2004/01/06 16:10:11 ekohl Exp $
|
/* $Id: init.c,v 1.55 2004/06/05 09:35:52 navaraf Exp $
|
||||||
*
|
*
|
||||||
* init.c - Session Manager initialization
|
* init.c - Session Manager initialization
|
||||||
*
|
*
|
||||||
|
@ -634,6 +634,14 @@ SmCreatePagingFiles(VOID)
|
||||||
RTL_QUERY_REGISTRY_TABLE QueryTable[2];
|
RTL_QUERY_REGISTRY_TABLE QueryTable[2];
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Disable paging file on MiniNT/Live CD.
|
||||||
|
*/
|
||||||
|
if (RtlCheckRegistryKey(RTL_REGISTRY_CONTROL, L"MiniNT") == STATUS_SUCCESS)
|
||||||
|
{
|
||||||
|
return STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
RtlZeroMemory(&QueryTable,
|
RtlZeroMemory(&QueryTable,
|
||||||
sizeof(QueryTable));
|
sizeof(QueryTable));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue