NtApphelpCacheControl - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTMISC_H

/**
 * The NtApphelpCacheControl routine performs an operation on the application compatibility (AppHelp) shim cache.
 *
 * \param[in] ServiceClass The application compatibility cache operation to perform.
 * \param[in, out, optional] ServiceContext Pointer to the operation-specific data buffer (AHC_SERVICE_DATA).
 * \return NTSTATUS Successful or errant status.
 * \remarks The entry rejects infoclasses 12 and above and dispatches lower values
 * to different apphelp/cache operations. This is not a read-only enumeration API simply because some infoclasses
 * query information; cache mutation and driver forwarding require separate infoclass-specific contracts.
 */
_Kernel_entry_
NTSYSCALLAPI
NTSTATUS
NTAPI
NtApphelpCacheControl(
    _In_ AHC_SERVICE_CLASS ServiceClass,
    _Inout_opt_ PVOID ServiceContext // AHC_SERVICE_DATA
    );

#endif

View code on GitHub
#ifndef _NTZWAPI_H

_Kernel_entry_
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwApphelpCacheControl(
    _In_ AHC_SERVICE_CLASS ServiceClass,
    _Inout_opt_ PVOID ServiceContext // AHC_SERVICE_DATA
    );

#endif

View code on GitHub

NtDoc

No description available.