Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

can not access a devices created through a miniport

0 views
Skip to first unread message

turambar <n-nospam@free.fr>

unread,
May 19, 2008, 11:42:01 AM5/19/08
to
Hi,

In order to make a virtual miniport driver to communicate with a user-mode
service, I' devlopping a NDIS driver that creates a device. But for a reason
I don't understand, I can't access my device in user-mode (error : Invalid
Handle) even if the name is correct and the IRQL is PASSIVE_LEVEL.

I think the device is created because when I create a new one with the same
name through a protocol, it can't be created because the system says that
this filename is already in use. But my testing app can't open the device.

Also, when I'm creating another device through the protocol, it can be
accessed via the user-mode software. So I'm wondering what's wrong with my
miniport device.

Can anyone help me ?

Thanks in advance

Pavel A.

unread,
May 19, 2008, 3:13:51 PM5/19/08
to
How exactly you create this device? Do you use NdisMRegisterDevice?

--PA


"turambar <n-no...@free.fr>"
<turambarnn...@discussions.microsoft.com> wrote in message
news:4B4BD025-42B8-4B3B...@microsoft.com...

turambar <n-nospam@free.fr>

unread,
May 21, 2008, 3:31:01 AM5/21/08
to
I think the problem was that my device was created using IoCreateDevice and
not NdisMRegisterDevice.

Thanks a lot for your help

0 new messages