{"id":448,"date":"2008-05-05T02:09:10","date_gmt":"2008-05-05T02:09:10","guid":{"rendered":"http:\/\/6teen.ru\/?p=619"},"modified":"2008-05-05T02:09:10","modified_gmt":"2008-05-05T02:09:10","slug":"6796","status":"publish","type":"post","link":"http:\/\/pblog.ru\/lab\/?p=448","title":{"rendered":"\u041f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043f\u043e\u0440\u0442\u0430\u043c\u0438"},"content":{"rendered":"<p>\u041f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043f\u043e\u0440\u0442\u0430\u043c\u0438<br \/>\n<!--more--><\/p>\n<pre class=\"alt2\" style=\"margin:0px; padding:6px; border:1px inset; width:580px; height:320px; overflow:auto\"><div>\u041f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043f\u043e\u0440\u0442\u0430\u043c\u0438\n\n\u0418\u0437\u0432\u0435\u0441\u0442\u043d\u043e \u0447\u0442\u043e \u0432 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435 \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e \u0441\u043e\u0431\u0440\u0430\u043d\u043e \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 , \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u0432\u043e\u043f\u0440\u043e\u0441 \u043a\u0430\u043a \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043e\u0431\u0449\u0430\u0435\u0442\u0441\u044f \u0441 \u043d\u0438\u043c\u0438. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438 \u0441\u043b\u0443\u0436\u0438\u0442 \u043f\u043e\u0440\u0442, \u0442\u043e \u0435\u0441\u0442\u044c \u044d\u0442\u0430 '\u0434\u0432\u0435\u0440\u044c' \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 (\u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430) \u043c\u043e\u0436\u0435\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c (\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435, \u0437\u0430\u043d\u043e\u0441\u0438\u0442\u044c \u0438\u0445).\u041f\u0440\u0438\u0447\u0435\u043c \u044f \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u044e \u043f\u043e\u0440\u0442\u044b \u043d\u0430 \u0434\u0432\u0435 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438 (\u044d\u0442\u043e \u0447\u0438\u0441\u0442\u043e \u043c\u043e\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435) - \u043f\u043e\u0440\u0442\u044b \u043e\u0431\u0449\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0435 (com lpt) \u0438 \u043f\u043e\u0440\u0442\u044b \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 ,\u0441\u043b\u0443\u0436\u0430\u0449\u0438\u0435 \u0434\u043b\u044f \u0441\u0432\u044f\u0437\u0438 \u0441 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u043c\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438 \u042d\u0412\u041c. 2.\u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043f\u043e\u0440\u0442\u0430\u043c\u0438 \u0421\u043b\u0435\u0434\u0443\u0435\u0442 \u0438\u043c\u0435\u0442\u044c \u0432 \u0432\u0438\u0434\u0443 \u0447\u0442\u043e \u043f\u0440\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u0438\u043c\u0435\u044e\u0449\u0438\u0445 \u0434\u0435\u043b\u043e \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043f\u043e\u0440\u0442\u0430\u043c\u0438 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0444\u0430\u043a\u0442\u043e\u0440\u044b :\n\u0430) \u0421\u0442\u0430\u0440\u0430\u0442\u044c\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0432\u044b\u0441\u043e\u043a\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u043f\u043e\u0440\u0442\u0430\u043c (\u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438 winapi) \u0438 \u043d\u0435 \u043f\u0440\u0438\u0431\u0435\u0433\u0430\u0442\u044c \u043a \u043d\u0438\u0437\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u043c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u043c \u0447\u0442\u0435\u043d\u0438\u044f\/\u0437\u0430\u043f\u0438\u0441\u0438 \u043f\u043e\u0440\u0442\u043e\u0432. \u0415\u0441\u043b\u0438 \u0432\u044b \u0432\u0441\u0435-\u0442\u0430\u043a\u0438 \u0440\u0435\u0448\u0438\u043b\u0438 \u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0438\u0437\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u043e\u0435 \u0447\u0442\u0435\u043d\u0438\u0435 \u0442\u043e \u044d\u0442\u0438 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043d\u043e\u0441\u0438\u0442\u044c \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e dll \u0438\u043b\u0438 vxd, \u043f\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c - \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, \u0447\u0442\u043e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 windows95\/98 \u0430 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e nt \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043f\u043e \u0441\u0432\u043e\u0435\u0439 \u0441\u0443\u0442\u0438 \u043c\u043d\u043e\u0433\u043e\u0437\u0430\u0434\u0430\u0447\u043d\u044b\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438. \u0422\u043e \u0435\u0441\u0442\u044c \u0435\u0441\u043b\u0438 \u0432\u0430\u0448\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e \u043a \u043f\u043e\u0440\u0442\u0443 \u043d\u0435 \u0447\u0435\u0440\u0435\u0437 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0432\u044b\u0437\u043e\u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 dll \u0438\u043b\u0438 vxd ( \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430 dll) \u0430 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0442\u043e \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0441\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u0437\u0430\u0432\u0430\u043b\u0438\u0442\u044c \u0435\u0435. \u0418 \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0432 windows95\/98 \u0442\u0430\u043a\u043e\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u0432\u043f\u043e\u043b\u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0442\u043e \u0432 windows nt \u0432\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435 \u0435\u0433\u043e \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b \u043d\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442 \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u0447\u0442\u0435\u043d\u0438\u0435\/\u0437\u0430\u043f\u0438\u0441\u044c \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e, \u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430 dll \u0438\u043b\u0438 vxd \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0431\u043e\u0439\u0442\u0438 \u044d\u0442\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443.\n\u0431)\u0415\u0441\u043b\u0438 \u0432\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u0435 \u0441 \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u043d\u0435\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c \u043f\u043e\u0440\u0442\u043e\u043c \u0432\u0432\u043e\u0434\u0430-\u0432\u044b\u0432\u043e\u0434\u0430\n(\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u0440\u0442\u043e\u043c \u0445\u0440\u0430\u043d\u044f\u0449\u0438\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043a\u043d\u043e\u043f\u043e\u043a \u043f\u0443\u043b\u044c\u0442\u0430 \u0414\u0423 tvtunera \u0442\u043e \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u0432 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0435 \u043f\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u0440\u043e\u0434\u043d\u043e\u0433\u043e \u0441\u043e\u0444\u0442\u0430 \u043d\u0430\u0439\u0434\u0435\u0442\u0441\u044f dll \u0438\u043b\u0438 vxd \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u044d\u0442\u0438\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c \u0438 \u043e\u0442\u043f\u0430\u0434\u0435\u0442 \u043d\u0443\u0436\u0434\u0430 \u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434, \u0442\u0430\u043a \u044f \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043f\u0443\u043b\u044c\u0442\u043e\u043c \u0414\u0423 tvtuner\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0443\u044e dll \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c\u0443\u044e \u0432 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0435, \u044d\u0442\u043e \u0441\u0440\u0430\u0437\u0443 \u0440\u0435\u0448\u0438\u043b\u043e \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0441 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u043e\u0440\u0442\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0442\u044e\u043d\u0435\u0440\u0430)\u0418\u0442\u0430\u043a, \u043e\u0442\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435 - \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0438:\n\u041c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043f\u043e\u0440\u0442\u0430\u043c\u0438\n(\u043f\u0435\u0440\u0432\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0431\u044b\u043b \u0443\u0436\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u0432 \u043a\u043e\u0440\u043e\u043b\u0435\u0432\u0441\u0442\u0432\u0435 \u0414\u0435\u043b\u044c\u0444\u0438\n\u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u043b \u0441\u043e\u0431\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0432\u0435\u0441\u0430\u043c\u0438 \u041f\u0435\u0442\u0440\u0412\u0435\u0441)\n\nfunction portinit : boolean; \/\/\u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f\nvar f: thandle;\nct: tcommtimeouts;\ndcb: tdcb;\nbegin\nf := windows.createfile(pchar('com1'), generic_read or\ngeneric_write,\nfile_share_read or file_share_write,\nnil, open_existing,\nfile_attribute_normal, 0);\nif (f < 0) or not windows.setupcomm(f, 2048, 2048)or not\nwindows.getcommstate(f, dcb) then exit; \/\/init error dcb.baudrate := \u0441\u043a\u043ep\u043e\u0441\u0442\u044c;\ndcb.stopbits := \u0441\u0442\u043e\u043f-\u0431\u0438\u0442\u044b;\ndcb.parity := ?\u0435\u0442\u043d\u043e\u0441\u0442\u044c;\ndcb.bytesize := 8;\nif not windows.setcommstate(f, dcb)\nor not windows.getcommtimeouts(f, ct) then exit; \/\/error\nct.readtotaltimeoutconstant := 50;\nct.readintervaltimeout := 50;\nct.readtotaltimeoutmultiplier := 1;\nct.writetotaltimeoutmultiplier := 0;\nct.writetotaltimeoutconstant := 10;\nif not windows.setcommtimeouts(f, ct)\nor not windows.setcommmask(f, ev_ring + ev_rxchar + ev_rxflag + ev_txempty)\nthen exit; \/\/error\nresult := true;\nend; function donecomm: boolean; \/\/\u0437\u0430\u043ap\u044b\u0442\u044c \u043f\u043ep\u0442\nbegin\nresult := windows.closehandle(f);\nend; function postcomm(var buf; size: word): integer; \/\/\u043f\u0435p\u0435\u0434\u0430?\u0430 \u0432 \u043f\u043ep\u0442\nvar p: pointer; i: integer;\nbegin\np := @buf;\nresult := 0;\nwhile size > 0 do begin\nif not writefile(f, p^, 1, i, nil) then exit;\ninc(result, i); inc(integer(p)); dec(size);\napplication.processmessages;\nend;\nend; function readcomm(var buf; size: word): integer; \/\/\u043fp\u0438\u0435\u043c \u0438\u0437 \u043f\u043ep\u0442\u0430\nvar i: integer; ovr: toverlapped;\nbegin\nfillchar(buf, size, 0);\nfillchar(ovr, sizeof(ovr), 0); i := 0; result := -1;\nif not windows.readfile(f, buf, size, i, @ovr) then exit;\nresult := i;\nend;\n\n\u0414\u0430\u043d\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0431\u044b\u043b \u0432\u0437\u044f\u0442 \u043c\u043d\u043e\u0439 \u0438\u0437 \u043c\u043d\u043e\u0433\u043e\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0439 faq \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u043d\u044b\u0445 \u0432 delphi \u0432 \u0441\u0435\u0442\u0438 \u0424\u0418\u0414\u041e\n\u0418\u0442\u0430\u043a,\u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043f\u043e\u0440\u0442\u0430\u043c\u0438 com \u0438 lpt \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0437\u043d\u0430\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 windows api. \u0412\u043e\u0442 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u044b (\u0432 \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u0435 c) \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043f\u043e\u0440\u0442\u0430\u043c\u0438.\n(\u0438\u0437\u0432\u0438\u043d\u0438\u0442\u0435 \u0437\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0439 \u043c\u0435\u0441\u0442\u0430\u043c\u0438 \u043d\u0435\u0442\u043e\u0447\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u0432\u043e\u0434 ,\u0435\u0441\u043b\u0438 \u0447\u0442\u043e \u043f\u043e\u043f\u0440\u0430\u0432\u044c\u0442\u0435 \u043c\u0435\u043d\u044f \u0435\u0441\u043b\u0438 \u0447\u0442\u043e \u043d\u0435 \u0442\u0430\u043a \u043f\u0435\u0440\u0435\u0432\u0435\u043b)\n\ncreatefile handle createfile( lpctstr lpfilename,\n\/\/ \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0443 pchar \u0441 \u0438\u043c\u0435\u043d\u0435\u043c \u0444\u0430\u0439\u043b\u0430\ndword dwdesiredaccess,\/\/ \u0440\u0435\u0436\u0438\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u0430\ndword dwsharemode,\/\/ share mode\nlpsecurity_attributes lpsecurityattributes,\n\/\/ \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b\ndword dwcreationdistribution,\/\/ how to create\ndword dwflagsandattributes,\/\/ \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u0444\u0430\u0439\u043b\u0430\nhandle htemplatefile \/\/ \u0445\u0435\u043d\u0434\u043b \u043d\u0430 temp \u0444\u0430\u0439\u043b\n); \u041f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u0434\u0430 \u043d\u0430 \u0414\u0435\u043b\u044c\u0444\u0438\n< \u0432\u044b\u0440\u0435\u0437\u0430\u043d\u043e>\ncommport := 'com2';\nhcommfile := createfile(pchar(commport),\ngeneric_write, 0, nil,\nopen_existing, file_attribute_normal,\n0);\n\n\n< \u0432\u044b\u0440\u0435\u0437\u0430\u043d\u043e>\n\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b\nlpfilename\n\u0423\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0443 \u0441 \u043d\u0443\u043b\u0435\u0432\u044b\u043c \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u043c \u0432 \u043a\u043e\u043d\u0446\u0435 (pchar) ,\n\u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430 (\u0444\u0430\u0439\u043b,\n\u043a\u0430\u043d\u0430\u043b, \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u0441\u043b\u043e\u0442, \u0440\u0435\u0441\u0443\u0440\u0441 \u0441\u0432\u044f\u0437\u0438 (\u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u0440\u0442\u044b),\n\u0434\u0438\u0441\u043a\u043e\u0432\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0430, \u0438\u043b\u0438 \u043a\u0430\u0442\u0430\u043b\u043e\u0433)\ndwdesiredaccess\n\u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0442\u0438\u043f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u043e\u0431\u044a\u0435\u043a\u0442\u0443 ,\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\ngeneric_read - \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\ngeneric_write - \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438 (\u0441\u043c\u0435\u0448\u0438\u0432\u0430\u043d\u0438\u0435 \u0441 generic_read\n\u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0435\u0439 generic_read and generic_write \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u043e\u0432\u043b\u044f\u0435\u0442 \u043f\u043e\u043b\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f )\ndwsharemode\n\u041d\u0430\u0431\u043e\u0440 \u0440\u0430\u0437\u0440\u044f\u0434\u043d\u044b\u0445 \u0444\u043b\u0430\u0433\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0442 \u043a\u0430\u043a \u043e\u0431\u044a\u0435\u043a\u0442 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d \u043f\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0443 \u043a \u043d\u0435\u043c\u0443.\n\u0415\u0441\u043b\u0438 dwsharemode - 0, \u043e\u0431\u044a\u0435\u043a\u0442 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d.\n\u041f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0431\u0443\u0434\u0443\u0442 \u0442\u0435\u0440\u043f\u0435\u0442\u044c \u043d\u0435\u0443\u0434\u0430\u0447\u0443,\n\u043f\u043e\u043a\u0430 \u043c\u0430\u0440\u043a\u0435\u0440(\u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440) \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043a\u0440\u044b\u0442.\n\u0424\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043c\u043e\u043d\u043e\u043f\u043e\u043b\u044c\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f. \u0427\u0442\u043e\u0431\u044b \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442(\u0446\u0435\u043b\u044c), \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044e \u043e\u0434\u043d\u0438\u0445 \u0438\u043b\u0438 \u0431\u043e\u043b\u044c\u0448\u0435\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439:\nfile_share_delete (\u0422\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f windows nt)\nfile_share_read\nfile_share_write\nlpsecurityattributes\n\u0423\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 security_attributes, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442\n\u043c\u043e\u0436\u0435\u0442 \u043b\u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u043d\u044b\u0439 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440 \u0431\u044b\u0442\u044c \u0443\u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u043c\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u043c\u0438.\n\u0415\u0441\u043b\u0438 lpsecurityattributes \u041d\u0423\u041b\u0415\u0412\u041e\u0419, \u043c\u0430\u0440\u043a\u0435\u0440 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0443\u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d.\n\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0432 windows nt.\ndwcreationdistribution\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0435\u0441\u043b\u0438 \u043e\u0431\u044a\u0435\u043a\u0442 \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0438\n\u043a\u0430\u043a \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043a\u0440\u044b\u0442 \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u041f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043e\u0434\u043d\u043e \u0438\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 :\ncreate_new\n\u0421\u043e\u0437\u0434\u0430\u0435\u0442 \u043d\u043e\u0432\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 (\u0444\u0430\u0439\u043b) \u0412\u044b\u0434\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443 \u0435\u0441\u043b\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 (\u0444\u0430\u0439\u043b) \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.\ncreate_always\n\u0421\u043e\u0437\u0434\u0430\u0435\u0442 \u043d\u043e\u0432\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 (\u0444\u0430\u0439\u043b) \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 (\u0444\u0430\u0439\u043b)\nopen_existing\n\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 (\u0444\u0430\u0439\u043b) \u0412\u044b\u0434\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443 \u0435\u0441\u043b\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 (\u0444\u0430\u0439\u043b) \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.(\u0414\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 sdk)\nopen_always\n\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 (\u0444\u0430\u0439\u043b), \u0435\u0441\u043b\u0438 \u043e\u043d \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442. \u0415\u0441\u043b\u0438 \u043e\u0431\u044a\u0435\u043a\u0442 (\u0444\u0430\u0439\u043b) \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442,\n\u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0435\u0433\u043e, \u043a\u0430\u043a \u0431\u0443\u0434\u0442\u043e dwcreationdistribution \u0431\u044b\u043b\u0438 create_new.\ntruncate_existing\n\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 (\u0444\u0430\u0439\u043b). \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442 (\u0444\u0430\u0439\u043b) \u0431\u0443\u0434\u0435\u0442\n\u0443\u0441\u0435\u0447\u0435\u043d \u0434\u043e \u043d\u0443\u043b\u0435\u0432\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430.\u0412\u044b\u0434\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443 \u0435\u0441\u043b\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 (\u0444\u0430\u0439\u043b) \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.\ndwflagsandattributes\n\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u043e\u0431\u044a\u0435\u043a\u0442\u0430 (\u0444\u0430\u0439\u043b\u0430) , \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u043c\u043e\u0433\u0443\u0442 \u043a\u043e\u043c\u0431\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f\nfile_attribute_archive\nfile_attribute_compressed\nfile_attribute_hidden\nfile_attribute_normal\nfile_attribute_offline\nfile_attribute_readonly\nfile_attribute_system\nfile_attribute_temporary\nhtemplatefile\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440 \u0441 generic_read \u0434\u043e\u0441\u0442\u0443\u043f\u043e\u043c \u043a \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u043c\u0443 \u043e\u0431\u044a\u0435\u043a\u0442\u0443(\u0444\u0430\u0439\u043b\u0443).\n\u0412\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442(\u0444\u0430\u0439\u043b)\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u0444\u0430\u0439\u043b\u0430 \u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u044b\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b\n\u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430 (\u0444\u0430\u0439\u043b\u0430)\n\u0418\u0421\u041f\u041e\u041b\u042c\u0417\u0423\u0415\u0422\u0421\u042f \u0422\u041e\u041b\u042c\u041a\u041e \u0412 windows nt windows 95: \u042d\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u0432 nil.\n\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0415\u0441\u043b\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u043f\u0440\u0435\u0443\u0441\u043f\u0435\u0432\u0430\u0435\u0442, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 - \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440\n\u043a \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u043c\u0443 \u043e\u0431\u044a\u0435\u043a\u0442\u0443(\u0444\u0430\u0439\u043b\u0443). \u0415\u0441\u043b\u0438 \u0444\u0430\u0439\u043b \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 - 0.\n\u0415\u0441\u043b\u0438 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0431\u043e\u0438, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 - invalid_handle_value.\n\u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0430\u0445, \u0432\u044b\u0437\u043e\u0432\u0438\u0442\u0435 getlasterror. \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 !\n\u0414\u043b\u044f \u043f\u043e\u0440\u0442\u043e\u0432, dwcreationdistribution \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c open_existing,\n\u0438 htemplate \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c nil. \u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f-\u0437\u0430\u043f\u0438\u0441\u0438 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d \u044f\u0432\u043d\u043e. security_attributes \u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0437\u0430\u0449\u0438\u0442\u044b \u0434\u043b\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442,\n\u043c\u043e\u0436\u0435\u0442 \u043b\u0438 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440 \u0431\u044b\u0442\u044c \u0443\u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u043c\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u043c\u0438.\ntypedef struct _security_attributes\n{ dword nlength;\nlpvoid lpsecuritydescriptor;\nbool binherithandle;\n} security_attributes; \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b nlength\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0440\u0430\u0437\u043c\u0435\u0440, \u0432 \u0431\u0430\u0439\u0442\u0430\u0445, \u044d\u0442\u043e\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b.\n\u041d\u0430\u0431\u043e\u0440 \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043a \u0440\u0430\u0437\u043c\u0435\u0440\u0443 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b security_attributes \u0412 windows nt\n\u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 security_attributes, \u043d\u0435\nlpsecuritydescriptor\n\u0414\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u043d\u0430 \u043e\u043f\u0438\u0441\u0430\u0442\u0435\u043b\u044c \u0437\u0430\u0449\u0438\u0442\u044b \u0434\u043b\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u0430,\n\u0415\u0441\u043b\u0438 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440 \u041f\u0423\u0421\u0422\u041e\u0419 \u043e\u0431\u044a\u0435\u043a\u0442 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u0432 \u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u043c\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u043c\u0438.\nbinherithandle\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u0443\u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d \u043b\u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u043d\u044b\u0439 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440, \u043a\u043e\u0433\u0434\u0430 \u043d\u043e\u0432\u044b\u0439 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440, \u0441\u043e\u0437\u0434\u0430\u043d.\n\u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0418\u0421\u0422\u0418\u041d\u0423 \u043d\u043e\u0432\u044b\u0439 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043e\u0442 \u0433\u043e\u043b\u043e\u0432\u043d\u043e\u0433\u043e.\n\u0417\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f\n\u0423\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 security_attributes \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f\n\u043a\u0430\u043a \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043e\u043a\u043d\u0430\u043c\u0438 \u0432 win32 api.\n---------------------\n\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 dcb \u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 dcb \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u043e\u0440\u0442\u0430 \u0432\u0432\u043e\u0434\u0430-\u0432\u044b\u0432\u043e\u0434\u0430\n(\u043d\u0430\u043c \u043e\u043d\u0430 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0434\u043b\u044f \u0440\u0430\u0437\u0431\u043e\u0440\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0441 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u0435\u0441\u0430\u043c\u0438 \u041f\u0435\u0442\u0440\u0412\u0435\u0441) \u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435 : \u0412 \u043c\u0435\u0441\u0442\u0430\u0445 \u0433\u0434\u0435 \u043d\u0435\u043b\u044c\u0437\u044f \u0434\u0430\u0442\u044c \u0442\u043e\u0447\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\n\u0431\u0443\u0434\u0435\u0442 \u0434\u0430\u043d\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c \u0438\u0437 msdk \u0438 \u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\n\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0432 \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u0435 c typedef struct _dcb { \/\/ dcb\ndword dcblength; \/\/ \u0420\u0430\u0437\u043c\u0435\u0440 dcb\ndword baudrate; \/\/ \u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0441\u044b\u043b\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0431\u043e\u0434\u0430\u0445;\n\/\/ \u0442\u0435\u043a\u0443\u0449\u0430\u044f \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432 \u0431\u043e\u0434\u0430\u0445\ndword fbinary: 1; \/\/ binary mode, no eof check\n\/\/ \u0434\u0432\u043e\u0438\u0447\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c , \u043d\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u043a\u043e\u043d\u0435\u0446\n\/\/ \u0434\u0430\u043d\u043d\u044b\u0445 (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 = 1)\ndword fparity: 1; \/\/ \u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u0447\u0435\u0442\u043d\u043e\u0441\u0442\u044c (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e\n\/\/ \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 = 1)\ndword foutxctsflow:1; \/\/ cts \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u0442\u043e\u043a\u043e\u043c \u0432\u044b\u0445\u043e\u0434\u0430\ndword foutxdsrflow:1; \/\/ dsr \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u0442\u043e\u043a\u043e\u043c \u0432\u044b\u0445\u043e\u0434\u0430\ndword fdtrcontrol:2; \/\/ dtr \u0422\u0438\u043f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u043e\u0442\u043e\u043a\u043e\u043c \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438\n\/\/ \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445\ndword fdsrsensitivity:1; \/\/ dsr sensitivity (\u0447\u0443\u0432\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c)\ndword ftxcontinueonxoff:1; \/\/ xoff continues tx (\u0441\u0442\u043e\u043f-\u0441\u0438\u0433\u043d\u0430\u043b\n\/\/ \u043f\u0440\u043e\u0434\u0430\u043b\u0436\u0430\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435)\ndword foutx: 1; \/\/ xon\/xoff out flow control (\u0421\u0422\u0410\u0420\u0422-\n\/\/ \u0421\u0418\u0413\u041d\u0410\u041b \/ \u0421\u0422\u041e\u041f-\u0421\u0418\u0413\u041d\u0410\u041b \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f\n\/\/ \u0432\u044b\u0445\u043e\u0434\u044f\u0449\u0438\u043c \u043f\u043e\u0442\u043e\u043a\u043e\u043c (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e\n\/\/ \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 = 1)\ndword finx: 1; \/\/ xon\/xoff in flow control (\u0421\u0422\u0410\u0420\u0422-\n\/\/ \u0421\u0418\u0413\u041d\u0410\u041b \/ \u0421\u0422\u041e\u041f-\u0421\u0418\u0413\u041d\u0410\u041b \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f\n\/\/ \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u043c \u043f\u043e\u0442\u043e\u043a\u043e\u043c (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e\n\/\/ \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 = 1)\ndword ferrorchar: 1; \/\/ enable error replacement (\u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c\n\/\/ \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043f\u043e\u0433\u0440\u0435\u0448\u043d\u043e\u0441\u0442\u0435\u0439 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e=1)\ndword fnull: 1; \/\/ enable null stripping (\u043e\u0442\u0432\u0435\u0440\u0433\u0430\u0442\u044c\n\/\/ \u043f\u0443\u0441\u0442\u043e\u0439 \u043f\u043e\u0442\u043e\u043a \u0434\u0430\u043d\u043d\u044b\u0445 (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e=1))\ndword frtscontrol:2; \/\/ rts \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u0442\u043e\u043a\u043e\u043c \u0434\u0430\u043d\u043d\u044b\u0445\ndword fabortonerror:1; \/\/ abort reads\/writes on error\n\/\/ (\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0447\u0442\u0435\u043d\u0438\u044f\/\u0437\u0430\u043f\u0438\u0441\u0438\n\/\/ \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e=1)\ndword fdummy2:17; \/\/ reserved \u0417\u0410\u0420\u0415\u0417\u0415\u0420\u0412\u0418\u0420\u041e\u0412\u0410\u041d\u041e\nword wreserved; \/\/ not currently used \u041d\u0415 \u0414\u041b\u042f\n\/\/ \u0418\u0421\u041f\u041e\u041b\u042c\u0417\u041e\u0412\u0410\u041d\u0418\u042f\nword xonlim; \/\/ transmit xon threshold (\u043f\u043e\u0440\u043e\u0433\n\/\/ \u0447\u0443\u0432\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0441\u0442\u0430\u0440\u0442-\u0441\u0438\u0433\u043d\u0430\u043b\u0430)\nword xofflim; \/\/ transmit xoff threshold (\u043f\u043e\u0440\u043e\u0433\n\/\/ \u0447\u0443\u0432\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0441\u0442\u043e\u043f-\u0441\u0438\u0433\u043d\u0430\u043b\u0430)\nbyte bytesize; \/\/ \u0411\u0438\u0442 \u0432 \u0431\u0430\u0439\u0442\u0435 (\u043e\u0431\u044b\u0447\u043d\u043e 8)\nbyte parity; \/\/ 0-4=no,odd,even,mark,space\n\/\/ (\u0447\u0435\u0442\u043d\u043e\u0441\u0442\u044c \u0431\u0430\u0439\u0442\u0430)\nbyte stopbits; \/\/ 0,1,2 = 1, 1.5, 2 (\u0441\u0442\u043e\u043f\u043e\u0432\u044b\u0435 \u0431\u0438\u0442\u044b)\nchar xonchar; \/\/ tx and rx xon character (\u0432\u0438\u0434\n\/\/ \u0441\u0442\u0430\u0440\u0442 \u0441\u0438\u0433\u043d\u0430\u043b \u0432 \u043f\u043e\u0442\u043e\u043a\u0435)\nchar xoffchar; \/\/ tx and rx xoff character (\u0432\u0438\u0434\n\/\/ \u0441\u0442\u043e\u043f \u0441\u0438\u0433\u043d\u0430\u043b \u0432 \u043f\u043e\u0442\u043e\u043a\u0435)\nchar errorchar; \/\/ error replacement character (\u043a\u0430\u043a\u043e\u0439\n\/\/ \u0441\u0438\u0433\u043d\u0430\u043b \u043f\u043e\u0433\u0440\u0435\u0448\u043d\u043e\u0441\u0442\u0438,\u0435\u0433\u043e \u0432\u0438\u0434)\nchar eofchar; \/\/ end of input character (\u0441\u0438\u0433\u043d\u0430\u043b\n\/\/ \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u043f\u043e\u0442\u043e\u043a\u0430)\nchar evtchar; \/\/ received event character \u0420\u0415\u0417\u0415\u0420\u0412\nword wreserved1; \/\/ reserved; do not use \u041d\u0415 \u0414\u041b\u042f\n\/\/ \u0418\u0421\u041f\u041e\u041b\u042c\u0417\u041e\u0412\u0410\u041d\u0418\u042f\n} dcb;\n\nwith mode do\nbegin\n\n\nbaudrate := 9600;\n\nbytesize := 8;\n\nparity := noparity;\n\nstopbits := onestopbit; \/\/ \u043e\u0434\u0438\u043d\u043e?\u043d\u044b\u0439 \u0441\u0442\u043e\u043f-\u0431\u0438\u0442\n\nflags := ev_rxchar + ev_event2;\n\n\n\nend;\n\n\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b : dcblength\n\u0420\u0430\u0437\u043c\u0435\u0440 dcb \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b.\nbaudrate\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432 \u0431\u043e\u0434\u0430\u0445, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u043e\u0440\u0442 \u043e\u043f\u0435\u0440\u0438\u0440\u0443\u0435\u0442.\n\u042d\u0442\u043e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0432 \u0431\u043e\u0434\u0430\u0445,\n\u0438\u043b\u0438 \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0438\u043d\u0434\u0435\u043a\u0441\u043e\u0432 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0432 \u0431\u043e\u0434\u0430\u0445:\ncbr_110 cbr_19200\ncbr_300 cbr_38400\ncbr_600 cbr_56000\ncbr_1200cbr_57600\ncbr_2400cbr_115200\ncbr_4800cbr_128000\ncbr_9600cbr_256000\ncbr_14400 fbinary\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u0434\u043e\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u043b\u0438 \u0434\u0432\u043e\u0438\u0447\u043d\u044b\u0439 (\u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0439) \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445.\nwin32 api \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043d\u0435\u0434\u0432\u043e\u0438\u0447\u043d\u044b\u0435 (\u043d\u0435\u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0435)\n\u0441\u043f\u043e\u0441\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u043f\u043e\u0442\u043e\u043a\u0435 \u043f\u043e\u0440\u0442\u0430, \u0442\u0430\u043a \u0447\u0442\u043e \u044d\u0442\u043e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\n\u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0432\u0441\u0435\u0433\u0434\u0430 \u0418\u0421\u0422\u0418\u041d\u0415\u041d.\n\u041f\u043e\u043f\u044b\u0442\u043a\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u041b\u041e\u0416\u042c \u0432 \u044d\u0442\u043e\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0435 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.\n\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435 : \u041f\u043e\u0434 windows 3.1 \u043d\u0435\u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u043e\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f,\n\u043d\u043e \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\neofchar \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u0432\u043e\u0441\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c\u0441\u044f \u043a\u043e\u043d\u0435\u0446 \u0434\u0430\u043d\u043d\u044b\u0445.\nfparity\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u0434\u043e\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0447\u0435\u0442\u043d\u043e\u0441\u0442\u0438.\n\u0415\u0441\u043b\u0438 \u044d\u0442\u043e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0418\u0421\u0422\u0418\u041d\u0415\u041d, \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0447\u0435\u0442\u043d\u043e\u0441\u0442\u0438 \u0434\u043e\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f\nfoutxctsflow\ncts (clear-to-send) \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u0442\u043e\u043a\u043e\u043c \u0432\u044b\u0445\u043e\u0434\u0430\nfoutxdsrflow\ndsr (data-set-ready) \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u0442\u043e\u043a\u043e\u043c \u0432\u044b\u0445\u043e\u0434\u0430\nfdtrcontrol\ndtr (data-terminal-ready) \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u0442\u043e\u043a\u043e\u043c \u0432\u044b\u0445\u043e\u0434\u0430\n\u041f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f :\ndtr_control_disable\n\u041e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u043b\u0438\u043d\u0438\u044e \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u044b\u043d\u043d\u044b\u0445\ndtr_control_enable\n\u0412\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u043b\u0438\u043d\u0438\u044e \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u044b\u043d\u043d\u044b\u0445\ndtr_control_handshake\nenables dtr handshaking. if handshaking is enabled,\nit is an error for the application to adjust the line by using the escapecommfunction function.\n\u0414\u043e\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044e \u0441\u0432\u044f\u0437\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445\n\u0415\u0441\u043b\u0438 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u0441\u0432\u044f\u0437\u0438 \u0434\u043e\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f, \u044d\u0442\u043e - \u043f\u043e\u0433\u0440\u0435\u0448\u043d\u043e\u0441\u0442\u044c \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0440\u0435\u0433\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c(\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c)\n\u043b\u0438\u043d\u0438\u044e \u0441\u0432\u044f\u0437\u0438, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044e escapecommfunction.\nfdsrsensitivity\nspecifies whether the communications driver is sensitive to the state of the dsr signal.\nif this member is true, the driver ignores any bytes received, unless the dsr modem input line is high.\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u0430 \u043b\u0438 \u043f\u043e \u043f\u043e\u0440\u0442\u0443 \u0434\u0432\u0443\u0445\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u044f\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0432 \u0442\u0443 \u0438 \u0432 \u0434\u0440\u0443\u0433\u0443\u044e \u0441\u0442\u043e\u0440\u043e\u043d\u0443 \u0441\u0438\u0433\u043d\u0430\u043b\u0430.\nftxcontinueonxoff\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043b\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u043f\u043e\u0442\u043e\u043a\u0430 ,\n\u043a\u043e\u0433\u0434\u0430 \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0431\u0443\u0444\u0435\u0440 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043f\u043e\u043b\u043d\u044b\u0439, \u0438 \u0434\u0440\u0430\u0439\u0432\u0435\u0440 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0441\u0438\u0433\u043d\u0430\u043b xoffchar.\n\u0415\u0441\u043b\u0438 \u044d\u0442\u043e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0418\u0421\u0422\u0418\u041d\u0415\u041d, \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e,\n\u043a\u0430\u043a \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0431\u0443\u0444\u0435\u0440 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 xofflim \u0431\u0430\u0439\u0442\u043e\u0432, \u0438 \u0434\u0440\u0430\u0439\u0432\u0435\u0440 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442\n\u0441\u0438\u0433\u043d\u0430\u043b xoffchar, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0435\u043a\u0440\u0430\u0442\u0438\u0442\u044c \u043f\u0440\u0438\u0435\u043c \u0431\u0430\u0439\u0442\u043e\u0432 \u0438\u0437 \u043f\u043e\u0442\u043e\u043a\u0430 .\n\u0415\u0441\u043b\u0438 \u044d\u0442\u043e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u041b\u041e\u0416\u041d\u042b\u0419, \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u043d\u0435 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442\u0441\u044f \u0434\u043e \u0442\u0435\u0445 \u043f\u043e\u0440 ,\n\u043f\u043e\u043a\u0430 \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0431\u0443\u0444\u0435\u0440 \u043d\u0435 \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 xonlim \u0431\u0430\u0439\u0442\u043e\u0432,\n\u0438 \u043f\u043e\u043a\u0430 \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d \u0441\u0438\u0433\u043d\u0430\u043b xonchar, \u0434\u043b\u044f \u0432\u043e\u0437\u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0435\u043c\u0430 .\nfoutx\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u0442\u043e\u043a\u043e\u043c \u0421\u0422\u0410\u0420\u0422-\u0421\u0418\u0413\u041d\u0410\u041b\u0410 \/ \u0421\u0422\u041e\u041f-\u0421\u0418\u0413\u041d\u0410\u041b\u0410\n\u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u043f\u043e\u0442\u043e\u043a\u0430 \u043f\u043e\u0440\u0442\u0443. \u0415\u0441\u043b\u0438 \u044d\u0442\u043e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0418\u0421\u0422\u0418\u041d\u0415\u041d, \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f,\n\u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d \u0441\u0438\u0433\u043d\u0430\u043b xoffchar \u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441\u043d\u043e\u0432\u0430, \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d \u0441\u0438\u0433\u043d\u0430\u043b xonchar.\nfinx\nspecifies whether xon\/xoff flow control is used during reception. if this member is true,\nthe xoffchar character is sent when the input buffer comes\nwithin xofflim bytes of being full, and the xonchar character is sent\nwhen the input buffer comes within xonlim bytes of being empty.\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u0442\u043e\u043a\u043e\u043c \u0421\u0422\u0410\u0420\u0422-\u0421\u0418\u0413\u041d\u0410\u041b\u0410 \/ \u0421\u0422\u041e\u041f-\u0421\u0418\u0413\u041d\u0410\u041b\u0410\n\u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u0435\u043c\u0430 \u043f\u043e\u0442\u043e\u043a\u0430 \u043f\u043e\u0440\u0442\u043e\u043c. \u0415\u0441\u043b\u0438 \u044d\u0442\u043e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0418\u0421\u0422\u0418\u041d\u0415\u041d,\u0441\u0438\u0433\u043d\u0430\u043b xoffchar \u043f\u043e\u0441\u044b\u043b\u0430\u0435\u0442\u0441\u044f ,\n\u043a\u043e\u0433\u0434\u0430 \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0431\u0443\u0444\u0435\u0440 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 xofflim \u0431\u0430\u0439\u0442\u043e\u0432, \u0430 \u0441\u0438\u0433\u043d\u0430\u043b xonchar \u043f\u043e\u0441\u044b\u043b\u0430\u0435\u0442\u0441\u044f\n\u0442\u043e\u0433\u0434\u0430 \u043a\u043e\u0433\u0434\u0430 \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0431\u0443\u0444\u0435\u0440 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 xonlim \u0431\u0430\u0439\u0442\u043e\u0432 \u0438\u043b\u0438 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0443\u0441\u0442\u044b\u043c\nferrorchar\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u044b \u043b\u0438 \u0431\u0430\u0439\u0442\u044b, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0441 \u043e\u0448\u0438\u0431\u043a\u0430\u043c\u0438 \u0447\u0435\u0442\u043d\u043e\u0441\u0442\u0438 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c\u044e,\n\u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c errorchar \u0415\u0441\u043b\u0438 \u044d\u0442\u043e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0418\u0421\u0422\u0418\u041d\u0415\u041d, \u0438 fparity \u0418\u0421\u0422\u0418\u041d\u0415\u041d, \u0437\u0430\u043c\u0435\u043d\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442.\nfnull\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u043e\u0442\u0432\u0435\u0440\u0433\u043d\u0443\u0442\u044b \u043b\u0438 \u043d\u0443\u043b\u0435\u0432\u044b\u0435(\u043f\u0443\u0441\u0442\u044b\u0435) \u0431\u0430\u0439\u0442\u044b. \u0415\u0441\u043b\u0438 \u044d\u0442\u043e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0418\u0421\u0422\u0418\u041d\u0415\u041d,\n\u043d\u0443\u043b\u0435\u0432\u044b\u0435(\u043f\u0443\u0441\u0442\u044b\u0435) \u0431\u0430\u0439\u0442\u044b, \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u0432\u0435\u0440\u0433\u043d\u0443\u0442\u044b \u043f\u0440\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0438 \u0438\u0445.\nfrtscontrol\nrts \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u0442\u043e\u043a\u043e\u043c \" \u0437\u0430\u043f\u0440\u043e\u0441 \u043f\u0435\u0440\u0435\u0441\u044b\u043b\u043a\u0438 \" .\n\u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043d\u0443\u043b\u0435\u0432\u043e\u0435, \u0442\u043e \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f rts_control_handshake.\n\u041f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043e\u0434\u043d\u043e \u0438\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439:\nrts_control_disable\n\u041e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0443 rts, \u043a\u043e\u0433\u0434\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u043e\nrts_control_enable\n\u0412\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0443 rts\nrts_control_handshake\nenables rts handshaking. the driver raises the rts line\nwhen the \" type-ahead\" (input)\nbuffer is less than one-half full and lowers\nthe rts line when the buffer is more than three-quarters full.\nif handshaking is enabled, it is an error for the application\nto adjust the line by using the escapecommfunction function.\n\u0414\u043e\u043f\u0443\u0441\u043a\u0430\u0435\u0442 rts \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u0441\u0432\u044f\u0437\u0438. \u0414\u0440\u0430\u0439\u0432\u0435\u0440 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u043e\u0442\u043e\u043a\u043e\u043c \u043f\u0435\u0440\u0435\u0441\u044b\u043b\u043a\u0438.\nrts \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u0442\u0441\u044f , \u043a\u043e\u0433\u0434\u0430 \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0431\u0443\u0444\u0435\u0440 - \u043c\u0435\u043d\u044c\u0448\u0435 \u0447\u0435\u043c \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u0430 \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u0438\n\u043f\u043e\u043d\u0438\u0436\u0430\u0435\u0442\u0441\u044f, \u043a\u043e\u0433\u0434\u0430 \u0431\u0443\u0444\u0435\u0440 - \u0431\u043e\u043b\u044c\u0448\u0435 2\/3 \u043f\u043e\u043b\u043d\u043e\u0433\u043e .\u0415\u0441\u043b\u0438 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u0441\u0432\u044f\u0437\u0438\n\u0434\u043e\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f, \u044d\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0440\u0435\u0433\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445\nescapecommfunction.\nrts_control_toggle\nspecifies that the rts line will be high if bytes are available for transmission.\nafter all buffered bytes have been sent, the rts line will be low.\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u0447\u0442\u043e \u0431\u0443\u0444\u0435\u0440 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0441\u043e\u043a\u0438\u0439 \u043f\u0440\u0438 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438.\n\u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0432\u0441\u0435 \u0431\u0430\u0439\u0442\u044b \u043e\u0442\u043e\u0441\u043b\u0430\u043d\u044b, \u0431\u0443\u0444\u0435\u0440 rts \u0431\u0443\u0434\u0435\u0442 \u043d\u0438\u0437\u043e\u043a.\nfabortonerror\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u0437\u0430\u043a\u043e\u043d\u0447\u0435\u043d\u0430 \u043b\u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0447\u0442\u0435\u043d\u0438\u044f\/\u0437\u0430\u043f\u0438\u0441\u0438, \u0435\u0441\u043b\u0438 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u043e\u0433\u0440\u0435\u0448\u043d\u043e\u0441\u0442\u044c.\n\u0415\u0441\u043b\u0438 \u044d\u0442\u043e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0418\u0421\u0422\u0418\u041d\u0415\u041d, \u0434\u0440\u0430\u0439\u0432\u0435\u0440 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0432\u0441\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438\n\u0447\u0442\u0435\u043d\u0438\u044f\/\u0437\u0430\u043f\u0438\u0441\u0438 \u0441 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435\u043c \u043f\u043e\u0433\u0440\u0435\u0448\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u0438 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u043e\u0432\u0435\u043d\u0438\u0438 \u043e\u043d\u043e\u0439.\n\u0414\u0440\u0430\u0439\u0432\u0435\u0440 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u043d\u0438\u043a\u0430\u043a\u0438\u0435 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f,\n\u043f\u043e\u043a\u0430 \u043d\u0435 \u0434\u043e\u0436\u0434\u0435\u0442\u0441\u044f \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u043f\u043e\u0433\u0440\u0435\u0448\u043d\u043e\u0441\u0442\u0438 \u0432 \u043f\u0435\u0440\u0435\u0434\u043e\u0432\u0430\u0435\u043c\u044b\u0445\n(\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u043c\u044b\u0445) \u0434\u0430\u043d\u043d\u044b\u0445, \u0432\u044b\u0437\u044b\u0432\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044e clearcommerror.\nfdummy2\n\u0417\u0410\u0420\u0415\u0417\u0415\u0420\u0412\u0418\u0420\u041e\u0412\u0410\u041d\u041e microsoft\nwreserved\n\u0417\u0410\u0420\u0415\u0417\u0415\u0420\u0412\u0418\u0420\u041e\u0412\u0410\u041d\u041e microsoft\nxonlim\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0431\u0430\u0439\u0442\u043e\u0432, \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0438\u0445\u0441\u044f \u0432\u043e \u0432\nxofflim\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0431\u0430\u0439\u0442\u043e\u0432, \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0438\u0445\u0441\u044f \u0432\u043e \u0432\u0445\u043e\u0434\u043d\u043e\u043c \u0431\u0443\u0444\u0435\u0440\u0435 \u043f\u0440\u0435\u0436\u0434\u0435,\n\u0447\u0435\u043c \u0431\u0443\u0434\u0435\u0442 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u043f\u043e\u0434\u0430\u0447\u0430 \u0421\u0422\u041e\u041f-\u0421\u0418\u0413\u041d\u0410\u041b\u0410. \u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0431\u0430\u0439\u0442\u043e\u0432,\n\u043f\u043e\u0437\u0432\u043e\u043b\u0435\u043d\u043d\u044b\u0445 \u0432\u043e \u0432\u0445\u043e\u0434\u043d\u043e\u043c \u0431\u0443\u0444\u0435\u0440\u0435 \u0432\u044b\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u0438\u0437 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u0432, \u0432 \u0431\u0430\u0439\u0442\u0430\u0445, \u0441\u0430\u043c\u043e\u0433\u043e \u0432\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u0431\u0443\u0444\u0435\u0440\u0430.\nbytesize\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0447\u0438\u0441\u043b\u043e \u0431\u0438\u0442\u043e\u0432 \u0432 \u0431\u0430\u0439\u0442\u0430\u0445, \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0445.\nparity\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0441\u0445\u0435\u043c\u0443 \u0447\u0435\u0442\u043d\u043e\u0441\u0442\u0438, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c.\n\u042d\u0442\u043e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043e\u0434\u043d\u0438\u043c \u0438\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439:\nevenparity\nmarkparity\nnoparity\noddparity\nstopbits\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0447\u0438\u0441\u043b\u043e \u0441\u0442\u043e\u043f\u043e\u0432\u044b\u0445 \u0431\u0438\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c.\n\u042d\u0442\u043e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043e\u0434\u043d\u0438\u043c \u0438\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439:\nonestopbit1 stop bit\none5stopbits1.5 stop bits\ntwostopbits2 stop bits\nxonchar\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0421\u0422\u0410\u0420\u0422-\u0421\u0418\u0413\u041d\u0410\u041b\u0410 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0438 \u043f\u0440\u0438\u0435\u043c\u0430.\nxoffchar\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0421\u0422\u041e\u041f-\u0421\u0418\u0413\u041d\u0410\u041b\u0410 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0438 \u043f\u0440\u0438\u0435\u043c\u0430.\nerrorchar\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0421\u0418\u0413\u041d\u0410\u041b\u0410 \u041e\u0428\u0418\u0411\u041a\u0418 (\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c\u043e\u0433\u043e \u043f\u0440\u0438 \u043e\u0448\u0438\u0431\u043a\u0435 \u0447\u0435\u0442\u043d\u043e\u0441\u0442\u0438) \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0438 \u043f\u0440\u0438\u0435\u043c\u0430.\neofchar\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u0438\u0433\u043d\u0430\u043b\u0430 \u043a\u043e\u043d\u0446\u0430 \u0434\u0430\u043d\u043d\u044b\u0445.\nevtchar\n\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u0438\u0433\u043d\u0430\u043b\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f.\nwreserved1\n\u0417\u0410\u0420\u0415\u0417\u0415\u0420\u0412\u0418\u0420\u041e\u0412\u0410\u041d\u041e microsoft\n\u0414\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 : \u041a\u043e\u0433\u0434\u0430 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 dcb \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 '\u0440\u0443\u0447\u043d\u043e\u0439' \u0432\u044b\u0431\u043e\u0440 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 ,\n\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0434\u043b\u044f bytesize \u0438 stopbits \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 :\n\u0427\u0438\u0441\u043b\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0440\u0430\u0437\u0440\u044f\u0434\u043e\u0432 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043e\u0442 5 \u0434\u043e 8 \u0431\u0438\u0442\u043e\u0432.\n\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 5 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0440\u0430\u0437\u0440\u044f\u0434\u043e\u0432 \u0441 2 \u0441\u0442\u043e\u043f\u043e\u0432\u044b\u043c\u0438 \u0431\u0438\u0442\u0430\u043c\u0438 -\n\u043d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u0430\u044f \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044f, \u043a\u0430\u043a - 6, 7, \u0438\u043b\u0438 8 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0440\u0430\u0437\u0440\u044f\u0434\u043e\u0432 \u0441 1.5 \u0441\u0442\u043e\u043f\u043e\u0432\u044b\u043c\u0438 \u0431\u0438\u0442\u0430\u043c\u0438.\n\n\u0410\u0432\u0442\u043e\u0440: \u0414\u043c\u0438\u0442\u0440\u0438\u0439 \u041a\u0443\u0437\u0430\u043d\nhttp:\/\/blackman.km.ru\/myfaq\/cont4.phtml - \u043d\u0430\u0448 \u0441\u0442\u0430\u0440\u044b\u0439 \u0441\u0430\u0439\u0442\u0438\u043a \u043e\u0431\u0440\u0430\u0437\u0446\u0430 2001 \u0433\u043e\u0434\u0430:)\n<\/div><\/pre>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043f\u043e\u0440\u0442\u0430\u043c\u0438<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[433,451],"tags":[1584,1600],"_links":{"self":[{"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=\/wp\/v2\/posts\/448"}],"collection":[{"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=448"}],"version-history":[{"count":0,"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=\/wp\/v2\/posts\/448\/revisions"}],"wp:attachment":[{"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=448"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}