RPC_STATS_VECTOR structure (rpcdce.h)

The RPC_STATS_VECTOR structure contains statistics from the RPC run-time library on a per-server basis.

Syntax

typedef struct {
  unsigned int  Count;
  unsigned long Stats[1];
} RPC_STATS_VECTOR;

Members

Count

Number of statistics values present in the array Stats.

Stats[1]

Array of unsigned long integers representing server statistics that contains Count elements. Each array element contains an unsigned long value from the following list.

Constant Meaning
RPC_C_STATS_CALLS_IN
The number of remote procedure calls received by the server.
RPC_C_STATS_CALLS_OUT
The number of remote procedure calls initiated by the server.
RPC_C_STATS_PKTS_IN
The number of network packets received by the server.
RPC_C_STATS_PKTS_OUT
The number of network packets sent by the server.

Remarks

The statistics vector contains a count member (Count), followed by an array of statistics. To obtain run-time statistics, an application calls RpcMgmtInqStats. The RPC run-time library allocates memory for the statistics vector. The application calls RpcMgmtStatsVectorFree to free the statistics vector.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header rpcdce.h (include Rpc.h)

See also

RpcMgmtInqStats

RpcMgmtStatsVectorFree