NDIS_PD_FREE_COUNTER callback function

The PacketDirect (PD) platform calls a PD-capable miniport driver's NdisPDFreeCounter function to free a counter object.

Note  You must declare the function by using the NDIS_PD_FREE_COUNTER type. For more information, see the following Examples section.

 

Syntax

NDIS_PD_FREE_COUNTER NdisPdFreeCounter;

() NdisPdFreeCounter(
  NDIS_PD_COUNTER_HANDLE CounterHandle
)
{...}

Parameters

CounterHandle

A counter handle that the miniport driver allocated in its NdisPDAllocateCounter function.

Return Value

This callback function does not return a value.

Requirements

   
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Windows
Header ndis.h
IRQL PASSIVE_LEVEL

See Also

NdisPDAllocateCounter