_WTS_CACHE_STATS structure (wtsdefs.h)

Contains protocol cache statistics.

Syntax

typedef struct _WTS_CACHE_STATS {
  DWORD              Specific;
  WTS_CACHE_STATS_UN Data;
  USHORT             ProtocolType;
  USHORT             Length;
} _WTS_CACHE_STATS, WTS_CACHE_STATS, *PWTS_CACHE_STATS, _WRDS_CACHE_STATS;

Members

Specific

An integer index that specifies the WTS_CACHE_STATS_UN union member that contains the cache data. This can be one of the following values.

1

The cache data is contained in the ProtocolCache member.

2

The cache data is contained in the TShareCacheStats member.

3

The cache data is contained in the Reserved member.

Data

A WTS_CACHE_STATS_UN union that contains the cache statistics.

ProtocolType

An integer that specifies the protocol type. This is not currently used by the Remote Desktop Services service.

Length

An integer that contains the length of the data in the Reserved member of the WTS_CACHE_STATS_UN union. The maximum size is WTS_MAX_CACHE_RESERVED multiplied by the length of an unsigned long integer.

Remarks

This structure is a member of the WTS_PROTOCOL_STATUS structure.

Requirements

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