- Implement IOCTL_AFD_GET_CONNECT_DATA, IOCTL_AFD_SET_CONNECT_DATA, IOCTL_AFD_SET_CO...
[reactos.git] / drivers / network / afd / afd / tdi.c
index 4516e2c..7367e55 100644 (file)
@@ -260,7 +260,8 @@ NTSTATUS TdiOpenConnectionEndpointFile(
 NTSTATUS TdiConnect(
     PIRP *Irp,
     PFILE_OBJECT ConnectionObject,
-    PTDI_CONNECTION_INFORMATION RemoteAddress,
+    PTDI_CONNECTION_INFORMATION ConnectionCallInfo,
+    PTDI_CONNECTION_INFORMATION ConnectionReturnInfo,
     PIO_STATUS_BLOCK Iosb,
     PIO_COMPLETION_ROUTINE CompletionRoutine,
     PVOID CompletionContext)
@@ -306,8 +307,8 @@ NTSTATUS TdiConnect(
                                        CompletionRoutine,      /* Completion routine */
                                        CompletionContext,      /* Completion routine context */
                                        NULL,                   /* Time */
-                                       RemoteAddress,          /* Request connection information */
-                                       RemoteAddress);         /* Return connection information */
+                                       ConnectionCallInfo,     /* Request connection information */
+                                       ConnectionReturnInfo);  /* Return connection information */
 
        Status = TdiCall(*Irp, DeviceObject, NULL, Iosb);