GetAdapterPacketQueueSize

BOOL CNdisApi::GetAdapterPacketQueueSize (HANDLE hAdapter, PDWORD pdwSize);

Return Value:
TRUE if call was successful, FALSE otherwise

Parameters:
hAdapter
Adapter handle obtained via call to GetTcpipBoundAdaptersInfo.

pdwSize
Pointer to the DWORD variable to store the current adapter’s packet queue size.

Remarks:
The filter driver will return packet queue size for the requested interface on this request. This member calls the driver with IOCTL_NDISRD_ADAPTER_QUEUE_SIZE control code (see details below).

IOCTL_NDISRD_ADAPTER_QUEUE_SIZE

Input BufferAdapter handle value
Input Buffer Size4
Output BufferNumber of packets in the adapters queue
Output Buffer Size4