DOS Fn 440aH: IOCTL Is File/Device Remote
Compatibility: 3.1+
Expects: AX 440AH
BX file handle (device or disk file)
──────────────────────────────────────────────────────────────────
Returns: AX error code if CF is set to CY
DX IoctlHandleInfoRec (Bit 15 is 1 if file/device is remote)
──────────────────────────────────────────────────────────────────
Info: Obtains information about a file or device represented by a
file handle, including whether or not it is local (on this
computer) or remote (on a network server). It also tells whether
the handle represents a file or a device.
On return, DX bit 15 (DX & 8000H) is 1 if the file or device is
remote (i.e., on a network server). See IoctlHandleInfoRec for a
full layout of the rest of the returned information.
Notes: ■ In general, you should treat local and remote files the same.
One exception might be if you want to avoid overwriting
configuration files when they are shared on the network.
■ If the network is not started, CF is set and AX contains and
error code of 0001H (invalid function).
See Also: Fn 44H (IOCTL)
Fn 4409H (Is Drive Remote)
DOS Functions
-♦-