#ifndef _WINSTA_H
/**
* The CACHE_STATISTICS structure represents the cache statistics on the protocol.
*
* \sa https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-tsts/81203ca2-e58b-4681-affa-924e59671b5c
*/
typedef struct CACHE_STATISTICS
{
USHORT ProtocolType; // Protocol type.
USHORT Length; // Length of data in the protocol-specific area. Can be up to 20 * sizeof(ULONG) in size.
union
{
RESERVED_CACHE ReservedCacheStats; // Not used.
TSHARE_CACHE TShareCacheStats; // Protocol cache statistics.
ULONG Reserved[20]; // Reserved for future use.
} Specific;
} CACHE_STATISTICS, *PCACHE_STATISTICS;
View code on GitHubThis type is documented in the [MS-TSTS] specification.