- Update NtApphelpCacheControl declaration and add appropriate types. Patch by Mark Jansen
CORE-9914

svn path=/trunk/; revision=69019
This commit is contained in:
Thomas Faber 2015-09-05 11:20:05 +00:00
parent c468cf76b0
commit 86455f3ced
2 changed files with 24 additions and 2 deletions

View file

@ -326,13 +326,12 @@ NtAlertResumeThread(
_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

View file

@ -810,6 +810,29 @@ typedef struct _PROCESS_FOREGROUND_BACKGROUND
BOOLEAN Foreground;
} 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
//