Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

66 lines
1.1 KiB

/*++
Copyright (c) Microsoft Corporation. All rights reserved.
Module Name:
ahcache.h
Abstract:
This include file defines the usermode visible portions of the
application compatibility cache support
Author:
VadimB
Revision History:
--*/
/* XLATOFF */
#ifndef _AHCACHE_H_
#define _AHCACHE_H_
typedef enum _APPHELPCACHESERVICECLASS {
ApphelpCacheServiceLookup,
ApphelpCacheServiceRemove,
ApphelpCacheServiceUpdate,
ApphelpCacheServiceFlush,
ApphelpCacheServiceDump
} APPHELPCACHESERVICECLASS;
#if defined (_NTDEF_)
NTSYSCALLAPI
NTSTATUS
NtApphelpCacheControl(
IN APPHELPCACHESERVICECLASS Service,
IN OUT PVOID ServiceData
);
typedef struct tagAHCACHESERVICEDATA {
UNICODE_STRING FileName;
HANDLE FileHandle;
} AHCACHESERVICEDATA, *PAHCACHESERVICEDATA;
#endif
#if defined(_APPHELP_CACHE_INIT_)
NTSTATUS
ApphelpCacheInitialize(
IN PLOADER_PARAMETER_BLOCK pLoaderBlock,
IN ULONG BootPhase
);
NTSTATUS
ApphelpCacheShutdown(
IN ULONG ShutdownPhase
);
#endif
#endif //_AHCACHE_H_