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 Buffer | Adapter handle value |
Input Buffer Size | 4 |
Output Buffer | Number of packets in the adapters queue |
Output Buffer Size | 4 |