Author: hpoussin
Date: Sun Jun 4 20:32:54 2006
New Revision: 22213
URL:
http://svn.reactos.ru/svn/reactos?rev=22213&view=rev
Log:
Fix call to IOCTL_SERIAL_PURGE
Modified:
trunk/reactos/drivers/bus/serenum/detect.c
Modified: trunk/reactos/drivers/bus/serenum/detect.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/drivers/bus/serenum/detect.…
==============================================================================
--- trunk/reactos/drivers/bus/serenum/detect.c (original)
+++ trunk/reactos/drivers/bus/serenum/detect.c Sun Jun 4 20:32:54 2006
@@ -338,7 +338,7 @@
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);