Get DeviceObject

Hi,
I have a problem in getting a Device Object from a serial driver.
precisely, i have a virtual serial driver (attached to the serenum !). I
was trying the divert the traffic to a standard wdm driver. I used
IoGetDeviceObjectPointer to get the device object. This call returned
0xc0000034 (STATUS_OBJECT_NAME_NOT_FOUND). Can anybody give me some
clues… the path i used was “\DosDevices\Dev”

Thanks in advance.
-Naveen

>

Hi,
I have a problem in getting a Device Object from a serial driver.
precisely, i have a virtual serial driver (attached to the
serenum !). I
was trying the divert the traffic to a standard wdm driver. I used
IoGetDeviceObjectPointer to get the device object. This call returned
0xc0000034 (STATUS_OBJECT_NAME_NOT_FOUND). Can anybody give me some
clues… the path i used was “\DosDevices\Dev”

Try L"\Device\DevName"


Bye,
SaB