The IRP_MJ_SET_INFORMATION request sets the end-of-file information on a COM port.
A client uses a set information request to change the current end-of-file position of a file opened on a COM port.
The Parameters.SetFile.FileInformationClass member is set to FileEndOfFileInformation or FileAllocationInformation.
None.
If the request is successful, the Information member is set to zero.
The Status member is set to one of the following status values:
Defined in wdm.h and ntddk.h. Include wdm.h or ntddk.h.
Serial supports requests of type FileEndOfFileInformation and FileAllocationInformation. However, Serial does not actually set file information. The end-of-file position is always set to zero.