This call determines whether a handle references a file or a device.
DosQHandType
FileHandle (HFILE) - input
Bit
0 = The handle refers to a local file, device, or pipe.
1 = Means that the handle refers to a remote file, device, or pipe.
Values greater than 2 are reserved.
This function allows programs that are interactive or file-oriented to determine the source of their input. For example, CMD.EXE suppresses writing prompts if the input is from a disk file.