// ndis.h
typedef struct _NDIS_PD_COUNTER_PARAMETERS {
NDIS_OBJECT_HEADER Header;
ULONG Flags;
PCWSTR CounterName;
NDIS_PD_COUNTER_TYPE Type;
} NDIS_PD_COUNTER_PARAMETERS;
View the official Windows Driver Kit DDI referenceNo description available.
This structure holds parameters for the provider counter.
HeaderThe NDIS_OBJECT_HEADER structure for the NDIS_PD_COUNTER_PARAMETERS structure. Set the members of this structure as follows:
FlagsThis member is reserved and must be set to 0.
CounterNameThis member is ignored by the PD provider. It is used by the PD platform for publishing the counter to the Windows Performance Counter subsystem (so that the counter can be viewed using PerfMon and accessed by system APIs programmatically).
TypeAn NDIS_PD_COUNTER_TYPE enumeration value that specifies the counter type.