_WTS_CACHE_STATS_UN union (wtsdefs.h)

Contains cache statistics.

Syntax

typedef union _WTS_CACHE_STATS_UN {
  WTS_PROTOCOL_CACHE ProtocolCache[WTS_MAX_PROTOCOL_CACHE];
  ULONG              TShareCacheStats;
  ULONG              Reserved[WTS_MAX_CACHE_RESERVED];
} _WTS_CACHE_STATS_UN, WTS_CACHE_STATS_UN, *PWTS_CACHE_STATS_UN, _WRDS_CACHE_STATS_UN;

Members

ProtocolCache[WTS_MAX_PROTOCOL_CACHE]

A WTS_PROTOCOL_CACHE structure that contains information about the number of times that requested data is found in and read from the cache.

TShareCacheStats

Share cache statistics.

Reserved[WTS_MAX_CACHE_RESERVED]

Reserved protocol specific data. The maximum size, in bytes, of this data is WTS_MAX_CACHE_RESERVED multiplied by the length of an unsigned long integer.

Remarks

This union is a member of the WTS_CACHE_STATS structure. The Specific member of that structure contains an integer index that specifies which member of the WTS_CACHE_STATS_UN union contains the cache data.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 R2
Header wtsdefs.h (include Wtsprotocol.h)