TDI_REQUEST_STATUS structure

The TDI_REQUEST_STATUS structure contains status information that a TDI driver function sets when it completes its operation. This structure can be used by transport drivers to pass request-specific information between internal driver routines.

Syntax

typedef struct _TDI_REQUEST_STATUS {
  TDI_STATUS Status;
  PVOID      RequestContext;
  ULONG      BytesTransferred;
} TDI_REQUEST_STATUS, *PTDI_REQUEST_STATUS;

Members

  • Status
    Specifies the final completion status of the function. For a synchronous function, this member contains the return value.

  • RequestContext
    Pointer to the handle the client passes to the driver function in a TDI_REQUEST structure.

  • BytesTransferred
    Specifies the number of bytes of data the function transfers. For an asynchronous receive operation, for example, this member contains the number of bytes of data that the client receives when the transport completes the IRP.

Remarks

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

Header

Tdi.h (include Tdi.h or TdiKrnl.h)

See also

TDI_REQUEST

 

 

Send comments about this topic to Microsoft