NdisRecalculatePacketCounts (Windows Embedded CE 6.0)
1/6/2010
This function resets the valid counts for a given packet.
Syntax
VOID NdisRecalculatePacketCounts(
PNDIS_PACKET Packet
);
Parameters
- Packet
[in, out] Pointer to the packet descriptor.
Return Value
None.
Remarks
If a driver explicitly modifies a buffer descriptor chain for a packet descriptor, that driver should call this function with the modified packet. In general, an NDIS driver should avoid modifying buffer descriptor chains that it sets up, and a driver must not modify chains set up by other drivers.
This call resets the valid counts for the packet to FALSE, thus forcing NdisQueryPacket to recalculate the buffer count for the modified packet if it is called subsequently with that packet.
Requirements
Header | ndis.h |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
NDIS Library Functions
NdisQueryPacket
NdisReinitializePacket