- Store the address file handle in the IOSB

- MSAFD relies on this behavior to store the address file handle

svn path=/branches/aicom-network-branch/; revision=45015
This commit is contained in:
Cameron Gutman 2010-01-09 15:49:39 +00:00
parent b9ab91bd82
commit e8f652b985

View file

@ -101,6 +101,7 @@ AfdBindSocket(PDEVICE_OBJECT DeviceObject, PIRP Irp,
if (NT_SUCCESS(Status))
FCB->State = SOCKET_STATE_BOUND;
return UnlockAndMaybeComplete( FCB, Status, Irp, 0 );
/* MSAFD relies on us returning the address file handle in the IOSB */
return UnlockAndMaybeComplete( FCB, Status, Irp, (ULONG_PTR)FCB->AddressFile.Handle );
}