[NTOS:CM] Add extra validation for the information class parameter in NtEnumerateValu...
[reactos.git] / ntoskrnl / config / cmquota.c
1 /*
2 * PROJECT: ReactOS Kernel
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: ntoskrnl/config/cmquota.c
5 * PURPOSE: Configuration Manager - Wrappers for Hive Operations
6 * PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
7 */
8
9 /* INCLUDES ******************************************************************/
10
11 #include "ntoskrnl.h"
12 #define NDEBUG
13 #include "debug.h"
14
15 BOOLEAN CmpGlobalQuota;
16 BOOLEAN CmpGlobalQuotaAllowed;
17
18 /* FUNCTIONS *****************************************************************/
19
20 VOID
21 NTAPI
22 CmpSetGlobalQuotaAllowed(VOID)
23 {
24 /* Set flag ON if quota enabled */
25 CmpGlobalQuotaAllowed = CmpGlobalQuota;
26 }