I'm working with the serial.sys example provided with the Windows DDK to do
some monitoring on the serial port. On each write-request I fill a buffer
which I want to read out with an IOCTL-call.
When I try to send the IOCTL to read the buffer, CreateFile says that the
device (COM1) is already opened. In this special case I have to open COM1
_twice_. I tried to set the creation in IoCreateDevice (in
SerialCreateDevObj, pnp.c) to non-exclusive with no success.
Has anybody an idea how to solve it?
TIA!
--
d
This posting is provided "AS IS" with no warranties, and confers no rights.
"Jens Mander" <nos...@hotmail.com> wrote in message
news:3d63a71b$0$35156$3b21...@aconews.univie.ac.at...