Int 21 Fn 5F35 u - Named Pipes - Local Dospeeknmpipe [N]

AX = 5F35h
BX = handle
CX = buffer length
DS:SI -> buffer

Return: CF set on error
AX = error code
CF clear if successful (LAN Manager v1-v2)
AX = 0000h if successful (LAN Manager 3.x)
---if successful---
CX = bytes read
SI = bytes left in the pipe
DX = bytes left in the current message
AX = pipe status (v1-v2) (see #1389)
DI = pipe status (v3.x)

Note: this function was introduced by LAN Manager but is also supported by
the Novell DOS Named Pipe Extender, Banyan VINES, OS/2 Virtual DOS
Machines, and others

See Also: AX=5F38h,AX=5F39h,AX=5F51h

(Table 1389)
Values for pipe status:
0001h disconnected
0002h listening
0003h connected
0004h closing