Some information in this topic relates to prereleased product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
NetAdapterCx is preview only in Windows 10, version 1903.
The NetFragmentIteratorHasAny method determines whether a fragment iterator has any valid elements to process in the fragment ring.
BOOLEAN NetFragmentIteratorHasAny( NET_RING_FRAGMENT_ITERATOR const *Iterator );
A pointer to a NET_RING_FRAGMENT_ITERATOR structure.
Returns TRUE if the iterator's Index does not equal its End index. In other words, the iterator has a fragment to process. Otherwise, returns FALSE.
Client drivers can call NetFragmentIteratorHasAny to test if the iterator has any valid elements to process. This method can be used to verify a fragment before processing it, or it can be used as a test condition for a loop when the driver is processing multiple fragments in a batch.
|Minimum KMDF version||1.29|
|IRQL||Any level as long as target memory is resident|