阅读:1988回复:0
how to use TdiBuildReceiveDatagram
ReceiveDatagramInfo是要自己分配内存,并且在该irp完成前不能释放该内存吗?
ReturnInfo是否必须提供,并且内存也是自己分配,并且在该irp完成前不能释放该内存? 它们都是一个TDI_CONNECTION_INFORMATION结构的指针, typedef struct _TDI_CONNECTION_INFORMATION { LONG UserDataLength; PVOID UserData; LONG OptionsLength; PVOID Options; LONG RemoteAddressLength; PVOID RemoteAddress; } TDI_CONNECTION_INFORMATION, *PTDI_CONNECTION_INFORMATION; 那么里面的UserData,Options该如何处理???? |
|