_WTS_CACHE_STATS structure

Contains protocol cache statistics.

Syntax

typedef struct _WTS_CACHE_STATS {
  DWORD              Specific;
  USHORT             ProtocolType;
  USHORT             Length;
} WTS_CACHE_STATS, *PWTS_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

   
Windows version None supported Windows Server 2008 R2
Header wtsdefs.h (include Wtsprotocol.h)