NDIS_PD_FREE_COUNTER callback function (ndis.h)

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(
  [in] NDIS_PD_COUNTER_HANDLE CounterHandle
)
{...}

Parameters

[in] CounterHandle

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

Return value

This callback function does not return a value.

Requirements

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

See also

NdisPDAllocateCounter