TDI_PROVIDER_RESOURCE_STATS

struct _TDI_PROVIDER_RESOURCE_STATS {

ULONG ResourceId;

ULONG MaximumResourceUsed;

ULONG AverageResourceUsed;

ULONG ResourceExhausted;

} TDI_PROVIDER_RESOURCE_STATS, *PTDI_PROVIDER_RESOURCE_STATS;

TDI_PROVIDER_RESOURCE_STATS defines the resources the TDI driver writes when the client is querying driver statistics. At the end of the TDI_PROVIDER_STATISTICS structure, the driver provides one of these structures for each resource.

Members

ResourceId

Specifies a driver-specific value identifying a resource.

MaximumResourceUsed

Specifies the maximum number of resources of the specified type the driver can use concurrently.

AverageResourceUsed

Specifies the average number of resources of the specified type the driver uses overall.

ResourceExhausted

Specifies the number of times the driver fails to allocate the specified resource.

See Also

TDI_PROVIDER_STATISTICS