[AFD] Mark the socket as named pipe, so NtWriteFile actually knows what to do with it.

CORE-13067
This commit is contained in:
Mark Jansen 2018-03-20 23:49:06 +01:00
parent 9168226378
commit 8b84b1c6b3

View file

@ -313,6 +313,7 @@ AfdCreateSocket(PDEVICE_OBJECT DeviceObject, PIRP Irp,
DeviceExt = DeviceObject->DeviceExtension;
FileObject = IrpSp->FileObject;
FileObject->Flags |= FO_NAMED_PIPE;
//Disposition = (IrpSp->Parameters.Create.Options >> 24) & 0xff;
Irp->IoStatus.Information = 0;