Author: tfaber
Date: Sat Sep 5 11:20:05 2015
New Revision: 69019
URL:
http://svn.reactos.org/svn/reactos?rev=69019&view=rev
Log:
[NDK]
- Update NtApphelpCacheControl declaration and add appropriate types. Patch by Mark
Jansen
CORE-9914
Modified:
trunk/reactos/include/ndk/psfuncs.h
trunk/reactos/include/ndk/pstypes.h
Modified: trunk/reactos/include/ndk/psfuncs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/psfuncs.h?rev=…
==============================================================================
--- trunk/reactos/include/ndk/psfuncs.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/psfuncs.h [iso-8859-1] Sat Sep 5 11:20:05 2015
@@ -326,13 +326,12 @@
_Out_opt_ PULONG SuspendCount
);
-typedef ULONG APPHELPCACHESERVICECLASS;
NTSYSCALLAPI
NTSTATUS
NTAPI
NtApphelpCacheControl(
_In_ APPHELPCACHESERVICECLASS Service,
- _In_ PVOID ServiceData
+ _In_opt_ PAPPHELP_CACHE_SERVICE_LOOKUP ServiceData
);
NTSYSCALLAPI
Modified: trunk/reactos/include/ndk/pstypes.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/pstypes.h?rev=…
==============================================================================
--- trunk/reactos/include/ndk/pstypes.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/pstypes.h [iso-8859-1] Sat Sep 5 11:20:05 2015
@@ -811,6 +811,29 @@
} PROCESS_FOREGROUND_BACKGROUND, *PPROCESS_FOREGROUND_BACKGROUND;
//
+// Apphelp SHIM Cache
+//
+typedef enum _APPHELPCACHESERVICECLASS
+{
+ ApphelpCacheServiceLookup = 0,
+ ApphelpCacheServiceRemove = 1,
+ ApphelpCacheServiceUpdate = 2,
+ ApphelpCacheServiceFlush = 3,
+ ApphelpCacheServiceDump = 4,
+
+ ApphelpDBGReadRegistry = 0x100,
+ ApphelpDBGWriteRegistry = 0x101,
+} APPHELPCACHESERVICECLASS;
+
+
+typedef struct _APPHELP_CACHE_SERVICE_LOOKUP
+{
+ UNICODE_STRING ImageName;
+ HANDLE ImageHandle;
+} APPHELP_CACHE_SERVICE_LOOKUP, *PAPPHELP_CACHE_SERVICE_LOOKUP;
+
+
+//
// Thread Information Structures for NtQueryProcessInformation
//
typedef struct _THREAD_BASIC_INFORMATION