FlushAdapterPacketQueue

BOOL CNdisApi::FlushAdapterPacketQueue ( HANDLE hAdapter ) const;

Return Value:
TRUE if call was successful, FALSE otherwise

Parameters:
hAdapter
Adapter handle obtained via call to GetTcpipBoundAdaptersInfo.

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

IOCTL_NDISRD_FLUSH_ADAPTER_QUEUE

Input BufferAdapter handle value
Input Buffer Sizesizeof(HANDLE) for a native process (4 bytes on x86, 8 bytes on x64/ARM64); sizeof(ULARGE_INTEGER) for the WOW64 conversion payload
Output BufferNone
Output Buffer Size0