Share via


NdisSetPacketStatus function

Note   NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

NdisSetPacketStatus sets status for a packet.

Syntax

VOID NdisSetPacketStatus(
  _In_ PNDIS_PACKET Packet,
  _In_ NDIS_STATUS  Status,
  _In_ NDIS_HANDLE  Handle,
  _In_ ULONG        Code
);

Parameters

  • Packet [in]
    Pointer to an NDIS_PACKET structure that is the descriptor for a packet.

  • Status [in]
    Specifies the NDIS_STATUS_Xxx code describing the status to set for the packet.

  • Handle [in]
    Handle to a context area. This context area determines a particular packet on a particular NIC.

  • Code [in]
    Specifies a code value describing the status to set for the packet.

Return value

None

Requirements

Target platform

Universal

Version

Not supported for NDIS 6.0 drivers in Windows Vista. Supported for NDIS 5.1 drivers in Windows Vista and Windows XP.

Header

Ndis.h (include Ndis.h)

Library

Ndis.lib

IRQL

<= DISPATCH_LEVEL

See also

NDIS_PACKET

 

 

Send comments about this topic to Microsoft