mirror of
https://github.com/reactos/reactos.git
synced 2024-11-06 22:52:46 +00:00
527f2f9057
* Create a branch for some evul shell experiments. svn path=/branches/shell-experiments/; revision=61927
31 lines
866 B
C
31 lines
866 B
C
/*
|
|
* PROJECT: ReactOS Kernel
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
|
* FILE: ntoskrnl/config/cmmapvw.c
|
|
* PURPOSE: Configuration Manager - Map-Viewed Hive Support
|
|
* PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
|
|
*/
|
|
|
|
/* INCLUDES ******************************************************************/
|
|
|
|
#include "ntoskrnl.h"
|
|
#define NDEBUG
|
|
#include "debug.h"
|
|
|
|
/* GLOBALS *******************************************************************/
|
|
|
|
/* FUNCTIONS *****************************************************************/
|
|
|
|
VOID
|
|
NTAPI
|
|
CmpInitHiveViewList(IN PCMHIVE Hive)
|
|
{
|
|
/* Initialize the list heads */
|
|
InitializeListHead(&Hive->LRUViewListHead);
|
|
InitializeListHead(&Hive->PinViewListHead);
|
|
|
|
/* Reset data */
|
|
Hive->MappedViews = 0;
|
|
Hive->PinnedViews = 0;
|
|
Hive->UseCount = 0;
|
|
}
|