次の方法で共有


TdiMatchPdoWithChainedReceiveContext function

The TdiMatchPdoWithChainedReceiveContext function determines if the given packet descriptor originated from the physical device object (for the NDIS miniport driver).

Syntax

BOOLEAN TdiMatchPdoWithChainedReceiveContext(
  _In_ PVOID TsduDescriptor,
  _In_ PVOID PDO
);

Parameters

  • TsduDescriptor [in]
    Pointer to a descriptor of type NDIS_PACKET.

  • PDO [in]
    Physical device object.

Return value

TdiMatchPdoWithChainedReceiveContext returns TRUE if the packet passed into this function at TsduDescriptor originated from the physical device object passed into this function at PDO. Otherwise, it returns FALSE.

Remarks

TdiMatchPdoWithChainedReceiveContext returns TRUE if the indicated packet originated from the physical device object.

Note   The TDI feature is deprecated and will be removed in future versions of Microsoft Windows. Depending on how you use TDI, use either the Winsock Kernel (WSK) or Windows Filtering Platform (WFP). For more information about WFP and WSK, see Windows Filtering Platform and Winsock Kernel. For a Windows Core Networking blog entry about WSK and TDI, see Introduction to Winsock Kernel (WSK).

 

Requirements

Target platform

Universal

Header

Tdikrnl.h (include TdiKrnl.h)

Library

Tdi.lib

See also

NDIS_PACKET

 

 

Send comments about this topic to Microsoft