NdisSetPacketPoolProtocolId (Windows Embedded CE 6.0)

1/6/2010

This function associates a packet pool with a protocol.

Syntax

VOID NdisSetPacketPoolProtocolId(
  IN NDIS_HANDLE  PacketPoolHandle,
  IN UINT  ProtocolId
);

Parameters

  • PacketPoolHandle
    Handle to a packet pool.
  • ProtocolId
    Specifies the identifier of a protocol with which to associate the packet pool.

Return Value

None

Remarks

NdisSetPacketPoolProtocolId must be called before any packet descriptors NDIS_PACKET are allocated from the packet pool that is specified by PacketPoolHandle.

Requirements

Header ndis.h
Library ndis.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Library Functions
NDIS_SET_PACKET_MEDIA_SPECIFIC_INFO
NdisAllocatePacket
NdisOpenAdapter
NdisSend
MiniportSendPackets
NdisGetPacketFlags
MiniportSend