Max_QNX (04.06.2007 19:33, просмотров: 1) ответил Max_QNX на мдя? :) замечательно.
стоп! нет, я думаю вы не совсем правы: вот полный лог: 0 0.00000000 spoolsv.exe IRP_MJ_CREATE Serial0 Options: OpenIf Sequential
0 0.00005019 SUCCESS
1 0.00000000 spoolsv.exe IRP_MJ_SET_INFORMATION Serial0 -344967520
1 0.00000164 SUCCESS
2 0.00000000 spoolsv.exe IRP_MJ_SET_INFORMATION Serial0 -344967492
2 0.00000101 SUCCESS
3 0.00000000 spoolsv.exe IOCTL_SERIAL_GET_BAUD_RATE Serial0
3 0.00000254 SUCCESS
4 0.00000000 spoolsv.exe IOCTL_SERIAL_GET_LINE_CONTROL Serial0
4 0.00000166 SUCCESS
5 0.00000000 spoolsv.exe IOCTL_SERIAL_GET_CHARS Serial0
5 0.00000139 SUCCESS
6 0.00000000 spoolsv.exe IOCTL_SERIAL_GET_HANDFLOW Serial0
6 0.00000151 SUCCESS
7 0.00000000 spoolsv.exe IOCTL_SERIAL_GET_TIMEOUTS Serial0
7 0.00000156 SUCCESS
8 0.00000000 spoolsv.exe IOCTL_SERIAL_GET_BAUD_RATE Serial0
8 0.00000179 SUCCESS
9 0.00000000 spoolsv.exe IOCTL_SERIAL_GET_LINE_CONTROL Serial0
9 0.00000145 SUCCESS
10 0.00000000 spoolsv.exe IOCTL_SERIAL_GET_CHARS Serial0
10 0.00000141 SUCCESS
11 0.00000000 spoolsv.exe IOCTL_SERIAL_GET_HANDFLOW Serial0
11 0.00000137 SUCCESS
12 0.00000000 spoolsv.exe IOCTL_SERIAL_SET_BAUD_RATE Serial0 Rate: 9600
12 0.00030397 SUCCESS
13 0.00000000 spoolsv.exe IOCTL_SERIAL_SET_RTS Serial0
13 0.00000433 SUCCESS
14 0.00000000 spoolsv.exe IOCTL_SERIAL_SET_DTR Serial0
14 0.00000404 SUCCESS
15 0.00000000 spoolsv.exe IOCTL_SERIAL_SET_LINE_CONTROL Serial0 StopBits: 1 Parity: NONE WordLength: 8
15 0.00000300 SUCCESS
16 0.00000000 spoolsv.exe IOCTL_SERIAL_SET_CHAR Serial0 EOF:0 ERR:0 BRK:0 EVT:0 XON:11 XOFF:13
16 0.00000178 SUCCESS
17 0.00000000 spoolsv.exe IOCTL_SERIAL_SET_HANDFLOW Serial0 Shake:1 Replace:40 XonLimit:2048 XoffLimit:512
17 0.00000339 SUCCESS
18 0.00000000 spoolsv.exe IOCTL_SERIAL_SET_TIMEOUTS Serial0 RI:200 RM:0 RC:5000 WM:0 WC:3000
18 0.00000161 SUCCESS
19 0.00000000 spoolsv.exe IRP_MJ_WRITE Serial0 Length 13756: 1B 32 1B 43 46 0D 1B 55 01 0D 1B 4A 6F 1B 4C 30 02 00 00 00 00
19 2.99925381 TIMEOUT
20 0.00000000 spoolsv.exe IRP_MJ_WRITE Serial0 Length 10860: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20 2.99985292 TIMEOUT
21 0.00000000 spoolsv.exe IRP_MJ_WRITE Serial0 Length 7980: 20 00 00 38 58 58 58 28 28 00 42 3E 2A 4A 48 48 30 00 00 18 58
21 2.99990124 TIMEOUT
22 0.00000000 spoolsv.exe IRP_MJ_WRITE Serial0 Length 5100: 88 88 88 88 48 30 88 F8 48 30 20 48 F8 88 00 88 88 F8 08 08 00
22 2.99987770 TIMEOUT
23 0.00000000 spoolsv.exe IRP_MJ_WRITE Serial0 Length 2204: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
23 2.29081918 SUCCESS
24 0.00000000 spoolsv.exe IRP_MJ_FLUSH_BUFFERS Serial0
24 0.00001233 SUCCESS
25 0.00000000 spoolsv.exe IRP_MJ_CLEANUP Serial0
25 0.00000287 SUCCESS
26 0.00000000 spoolsv.exe IRP_MJ_CLOSE Serial0
26 0.02420454 SUCCESS
явно видно что в действии 12 явно устанавливается скорость 9600.