1. DCB

Hi!
        I tryed use the comm DCB (decice control block)

--GetCommState result:
 1C 0 0 0                               --DCBlength
 B0 4 0 0                       --BaudRate
 11 30 0 0 0 0 FF FF FF FF              -----------??
 8                              --ByteSize   --offset = 19
 0                              --Parity
 0                              --StopBits
 11                             --XonChar
 13                             --XoffChar
 0 0 0 0 0                      -----------??

--(DCB is in GetCommConfigs result the same.)

--in WIN32.HLP (11 279 097 byte):
the DCB structure 78 byte (+reserved word), and ByteSize offset = 70.

If I built this DCB and I used SetCommConfig, the result was 0.
If I used the #1C length DCB the result  was 1.

If someone knows what is wrong, please tell me.

Thanks
Attila Kondor

new topic     » topic index » view message » categorize

2. Re: DCB

On Sat, 11 Mar 2000 08:58:22 +0100, Kondor Attila <konel at DPG.HU> wrote:

>Hi!
>        I tryed use the comm DCB (decice control block)
>
>--GetCommState result:
> 1C 0 0 0                               --DCBlength



   Attila:

   Wouldn,t DCBlength be #50 00 00 00   -- which is 80 bytes

   Bernie

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu