Fix call to IOCTL_SERIAL_PURGE

svn path=/trunk/; revision=22213
This commit is contained in:
Hervé Poussineau 2006-06-04 16:32:54 +00:00
parent bfa0a5c6e1
commit 1988057885

View file

@ -338,7 +338,7 @@ SerenumDetectPnpDevice(
if (!NT_SUCCESS(Status)) goto ByeBye;
Purge = SERIAL_PURGE_RXABORT | SERIAL_PURGE_RXCLEAR;
Status = DeviceIoControl(LowerDevice, IOCTL_SERIAL_PURGE,
&Purge, 0, NULL, NULL);
&Purge, sizeof(ULONG), NULL, NULL);
if (!NT_SUCCESS(Status)) goto ByeBye;
Wait(200);