// ndis.h
NDIS_PD_QUERY_COUNTER NdisPdQueryCounter;
VOID() NdisPdQueryCounter(
[in] NDIS_PD_COUNTER_HANDLE CounterHandle,
[out] NDIS_PD_COUNTER_VALUE *CounterValue
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The PacketDirect (PD) platform calls a PD-capable miniport driver's NdisPDQueryCounter function to query the current values stored in a counter object.
Note You must declare the function by using the NDIS_PD_QUERY_COUNTER type. For more information, see the following Examples section.
CounterHandle [in]A counter handle that the miniport driver allocated in its NdisPDAllocateCounter function.
CounterValue [out]The miniport returns a pointer to a NDIS_PD_COUNTER_VALUE structure that contains the values stored in the counter object.
This callback function does not return a value.