The STREAMS_TDI_ACTION structure allows a kernel-mode client of a streams transport to make special or proprietary extensions available to the client by making a TDI_ACTION request to the transport. For more information about TDI_ACTION requests, see the Network Driver Reference.
The structure is defined as follows:
typedef struct _STREAMS_TDI_ACTION {
TDI_ACTION_HEADER Header;
BOOLEAN DatagramOption;
ULONG BufferLength;
CHAR Buffer[1];
} STREAMS_TDI_ACTION, *PSTREAMS_TDI_ACTION;
STREAMS_TDI_ACTION defines a client call to the action function of the Windows NT STREAMS wrapper.