Mark and Doron thank you very much for your reply.
The problem was of what Doron thought. IRP_MJ_CLEANUP. I implemented the
function but I also changed the configuration of the BIOS and my device was
conflicting with another. After implementing the function I could not
figured out why was I still having the problem.
I re-installed the driver, switched off the conflicting device (no driver
availiable) and now it works.
After this incident I remembered something very critical in engineering “One
step at a time”.
Again, Thank you very much.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Wednesday, March 23, 2005 11:00 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] IoRegisterDeviceInterface
Is this for a filter or your own function driver? What class is your
device installed under? Some classes, like mouse or keyboards, do not
allow 2ndary opens.
Did you clear the DO_DEVICE_INITIALIZING bit in DeviceObject->Flags in
your AddDevice routine?
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Nikolas
Stylianides
Sent: Wednesday, March 23, 2005 12:41 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] IoRegisterDeviceInterface
Thanks Mark for eliminating at least these two mechanisms. I have
implemented the IRP_MJ_CLEANUP as Doron sujested but still nothing. The
error remains the same.
Thank you for your help.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Roddy, Mark
Sent: Tuesday, March 22, 2005 3:24 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] IoRegisterDeviceInterface
You have some other issue. The device interface mechanism in the kernel
and
its enumeration support in user mode function correctly.
=====================
Mark Roddy
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Nikolas
Stylianides
Sent: Tuesday, March 22, 2005 8:11 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] IoRegisterDeviceInterface
I have already read the documentation of the SDK but some questions
remain.
I was able to achieve a DevicePath that looks like
\?\pci#ven_10b5&dev_1860&subsys_905410b5&rev_0b#4&11cd5334&0&50f0#{23c7
9409
-0f56-4374-b409-a449bd7caac8}
But CreateFile fails and the return of GetLastError is 0x2;
How comes the system that informs me about the Interface is not able to
create a handle to it?
Thanks.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Mark Roddy
Sent: Tuesday, March 22, 2005 1:50 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] IoRegisterDeviceInterface
You use the setup api in the sdk to enumerate device interfaces. See the
documentation for SetupDiGetDeviceInterfaceDetail.
=====================
Mark Roddy
Windows .NET/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032 www.hollistech.com
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Nikolas
Stylianides
Sent: Tuesday, March 22, 2005 3:57 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] IoRegisterDeviceInterface
Hi all. I am in a self-project in which I try to port my WINNT
driver architecture in WDM architecture. Several issues have arisen
during
this attempt. One of those, maybe the most simple, is usage of
“IoRegisterDeviceInterface” function.
How can I figure out what is the symbolic name of the successful
execution of this function? Should I save this symbolic name in the
registry
and announce it this way to the user program to access the spefic
device?
Thank you in advance.
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag
argument: ‘’
To unsubscribe send a blank email to
xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@4plus.com To unsubscribe
send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@4plus.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com