Query about "VCOMM_ClearCommError()"

Hi all,
Could you tell me about how to achieve the equivalence of
“VCOMM_ClearCommError()” ( of Win 95/98 ) on the Win 2000 platform ? There
is no IOCTL of “serial.sys” which is any way near the functionality of
“VCOMM_ClearCommError()”.
Regards ,
Shail.

This is listed as an API call for Win32 Base Services.
Haven’t tried it on 2k but should work fine…

BOOL ClearCommError( HANDLE hFile,
// handle to communications device

LPDWORD lpErrors,
// pointer to variable to receive error codes

LPCOMSTAT lpStat
// pointer to buffer for communications status

);

-----Original Message-----
From: Shailender Kesha [mailto:xxxxx@hpsblr.soft.net]
Sent: Friday, November 03, 2000 12:51 PM
To: NT Developers Interest List
Subject: [ntdev] Query about “VCOMM_ClearCommError()”

Hi all,
Could you tell me about how to achieve the equivalence of
“VCOMM_ClearCommError()” ( of Win 95/98 ) on the Win 2000 platform ?
There
is no IOCTL of “serial.sys” which is any way near the functionality of
“VCOMM_ClearCommError()”.
Regards ,
Shail.


You are currently subscribed to ntdev as: xxxxx@livco.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

Hello Mr Hayes,
Thank you for the info. It is a user mode API call and what I would like to
know is the Kernel mode equivalent, which will be an IOCTL code of
“serial.sys” . In the Win 2K DDK documentation, any thing which is even
nearly equal has not been given. Could you let me know if you get to know it
? Also, today I was discussing this and similar issues with a guy who has
coded similar driver on NT 4 and he says that there are some differences
between the Control codes accepted by “serial.vxd” of Win 95/98 and
“serial.sys” of Win 2K. And the significance of such differences would come
out only when I start testing my driver. So he says , for now I cannot do
anything about it.
Regards,
Shailender K.


-----Original Message-----
From: Hayes, Sanford [SMTP:xxxxx@livco.com]
Sent: Tuesday, November 07, 2000 4:33 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Query about “VCOMM_ClearCommError()”

This is listed as an API call for Win32 Base Services.
Haven’t tried it on 2k but should work fine…

BOOL ClearCommError( HANDLE hFile,
// handle to communications device

LPDWORD lpErrors,
// pointer to variable to receive error codes

LPCOMSTAT lpStat
// pointer to buffer for communications status

);

-----Original Message-----
From: Shailender Kesha [mailto:xxxxx@hpsblr.soft.net]
Sent: Friday, November 03, 2000 12:51 PM
To: NT Developers Interest List
Subject: [ntdev] Query about “VCOMM_ClearCommError()”

Hi all,
Could you tell me about how to achieve the equivalence of
“VCOMM_ClearCommError()” ( of Win 95/98 ) on the Win 2000 platform
?
There
is no IOCTL of “serial.sys” which is any way near the functionality
of
“VCOMM_ClearCommError()”.
Regards ,
Shail.


You are currently subscribed to ntdev as: xxxxx@livco.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)


You are currently subscribed to ntdev as:
xxxxx@hpsblr.soft.net
To unsubscribe send a blank email to $subst(‘Email.Unsub’)