Permalink
Browse files

[NTOS:PS]

- Implement NtApphelpCacheControl. Patch by Mark Jansen
CORE-9914 #resolve

svn path=/trunk/; revision=69022
  • Loading branch information...
ThFabba committed Sep 5, 2015
1 parent f0988ca commit 2565dcba2634cdf76559f7e85fcf91596a1ba1cc
@@ -1280,6 +1280,9 @@ HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager","GlobalFlag", 0x00010003
HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager","ObjectDirectories",0x00010000, \
"\Windows", \
"\RPC Control"
# This is an empty app compat cache
HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\AppCompatCache","AppCompatCache", 0x00000001, \
fe,0f,dc,ba,00,00,00,00
; DOS devices
HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices","AUX",0x00000000,"\DosDevices\COM1"
@@ -412,6 +412,18 @@ BOOLEAN
NTAPI
PspIsProcessExiting(IN PEPROCESS Process);
//
// Apphelp functions
//
NTSTATUS
NTAPI
INIT_FUNCTION
ApphelpCacheInitialize(VOID);
VOID
NTAPI
ApphelpCacheShutdown(VOID);
//
// Global data inside the Process Manager
//
@@ -531,6 +531,9 @@ IoInitSystem(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
/* Initialize PnP manager */
IopInitializePlugPlayServices();
/* Initialize SHIM engine */
ApphelpCacheInitialize();
/* Initialize WMI */
WmiInitialize();
@@ -248,6 +248,7 @@ list(APPEND SOURCE
${REACTOS_SOURCE_DIR}/ntoskrnl/ps/job.c
${REACTOS_SOURCE_DIR}/ntoskrnl/ps/kill.c
${REACTOS_SOURCE_DIR}/ntoskrnl/ps/process.c
${REACTOS_SOURCE_DIR}/ntoskrnl/ps/apphelp.c
${REACTOS_SOURCE_DIR}/ntoskrnl/ps/psmgr.c
${REACTOS_SOURCE_DIR}/ntoskrnl/ps/psnotify.c
${REACTOS_SOURCE_DIR}/ntoskrnl/ps/query.c
@@ -267,6 +267,9 @@ PopGracefulShutdown(IN PVOID Context)
DPRINT("HAL shutting down\n");
HalEndOfBoot();
/* Shut down the Shim cache if enabled */
ApphelpCacheShutdown();
/* In this step, the I/O manager does first-chance shutdown notification */
DPRINT("I/O manager shutting down in phase 0\n");
IoShutdownSystem(0);
Oops, something went wrong.

0 comments on commit 2565dcb

Please sign in to comment.