mirror of
https://github.com/reactos/reactos.git
synced 2025-05-31 15:08:14 +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:
parent
b9ab91bd82
commit
e8f652b985
1 changed files with 2 additions and 1 deletions
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue