mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
- 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:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user