TdiInitialize function
The TdiInitialize function is used by TDI transport providers to initialize TDI's data structures.
Syntax
VOID TdiInitialize(void);
Parameters
This function has no parameters.
Return value
None
Remarks
TDI's data structures are initialized on the first call to TdiInitialize. All subsequent calls to TdiInitialize do nothing. A transport provider might be loaded before TDI loads. If the transport provider calls TdiInitialize immediately, the component is guaranteed that TDI will have been loaded and initialized after TdiInitialize returns.
Calling this function ensures that TDI's global variables are initialized. A TDI transport provider should call this function in its DriverEntry procedure before calling any other TDI function
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 |
IRQL |
PASSIVE_LEVEL |
See also