|
From: turambar n-nospam on 19 May 2008 11:42 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
From: Pavel A. on 19 May 2008 15:13 How exactly you create this device? Do you use NdisMRegisterDevice? --PA "turambar <n-nospam(a)free.fr>" <turambarnnospamfreefr(a)discussions.microsoft.com> wrote in message news:4B4BD025-42B8-4B3B-934C-74C461347F19(a)microsoft.com... > 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
From: turambar n-nospam on 21 May 2008 03:31 I think the problem was that my device was created using IoCreateDevice and not NdisMRegisterDevice. Thanks a lot for your help "Pavel A." wrote: > How exactly you create this device? Do you use NdisMRegisterDevice? > > --PA > > > "turambar <n-nospam(a)free.fr>" > <turambarnnospamfreefr(a)discussions.microsoft.com> wrote in message > news:4B4BD025-42B8-4B3B-934C-74C461347F19(a)microsoft.com... > > 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 > >
|
Pages: 1 Prev: private devmode members addition Next: Virtual Storport miniport question |