Commit 89bb3abf authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Handle ReadIntervalTimeout=MAXDWORD special case a bit better.

parent 5d754fc9
......@@ -211,6 +211,10 @@ static int serial_get_info( struct object *obj, struct get_file_info_reply *repl
if(serial->attrib & FILE_FLAG_OVERLAPPED)
return FD_TYPE_OVERLAPPED;
if( (serial->readinterval == MAXDWORD) &&
(serial->readmult == 0) && (serial->readconst == 0) )
return FD_TYPE_DEFAULT;
return FD_TYPE_TIMEOUT;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment