Microsoft Windows CE 3.0  

NdisGetPacketFlags

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This function returns the flags, if any, set by a protocol driver in a specified packet descriptor.

UINT NdisGetPacketFlags(
IN PNDIS_PACKET
Packet
);

Parameters

Packet
Pointer to the packet.

Return Values

The value of the flags in the specified packet descriptor indicates success. Returns 0 if the packet has no flag information explicitly set.

Remarks

This function returns information set in the flag packet descriptor that a protocol driver passes down to the underlying NDIS driver, usually with the NdisSendfunction. These flags can contain protocol-determined information about the send that is not included in the packet data or in the out-of-band block associated with the packet descriptor.

Protocol drivers can set the flags in packets to be sent on any medium that transmits data in an expedited manner. The MiniportSendPacketsfunction of an underlying NIC driver calls this function to retrieve this information. For underlying NIC drivers that do not support multipacket sends, calls to this function are unnecessary because the packet flags value is passed as an input parameter to the MiniportSendfunction.

A driver that calls this function can run at any IRQL.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Ndis.h    
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

NdisSetPacketFlags



 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.