mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- Disable paging file for Live CD.
svn path=/trunk/; revision=9618
This commit is contained in:
@@ -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
|
||||
*
|
||||
@@ -634,6 +634,14 @@ SmCreatePagingFiles(VOID)
|
||||
RTL_QUERY_REGISTRY_TABLE QueryTable[2];
|
||||
NTSTATUS Status;
|
||||
|
||||
/*
|
||||
* Disable paging file on MiniNT/Live CD.
|
||||
*/
|
||||
if (RtlCheckRegistryKey(RTL_REGISTRY_CONTROL, L"MiniNT") == STATUS_SUCCESS)
|
||||
{
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
RtlZeroMemory(&QueryTable,
|
||||
sizeof(QueryTable));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user