E
Eshanye_kp
I have an Ndis Miniport driver for an adapter on PCMCIA, PCI , USB and
SDIO bus interfaces. I have a SMART Card reader Driver which has to read
and write to the smart card on the same NIC. Since there are several
interfaces and the same interrupt line will be used by both the drivers,
I need to export some read/write function from Ndis miniport driver
for the smart card driver to use. Also i need to export another function
(a DPC kind of ) from the smart card which will be called by the Ndis
miniport when it finds that source of the interrupt is belonged to Smart
Card reader driver. How do i achieve this ?
From NDIS miniport driver i can not call (WHQL restricts this)
IoRegisterDeviceInterface
IoSetDeviceInterfaceState
but i can call
IoGetDeviceObjectPointer
IoCallDriver
IoRegisterPlugPlayNofitification
but without IoRegisterDeviceInterface and IoSetDeviceInterfaceState i
can hardly do anything. What are the other methods to follow ?
Regards
Esha
SDIO bus interfaces. I have a SMART Card reader Driver which has to read
and write to the smart card on the same NIC. Since there are several
interfaces and the same interrupt line will be used by both the drivers,
I need to export some read/write function from Ndis miniport driver
for the smart card driver to use. Also i need to export another function
(a DPC kind of ) from the smart card which will be called by the Ndis
miniport when it finds that source of the interrupt is belonged to Smart
Card reader driver. How do i achieve this ?
From NDIS miniport driver i can not call (WHQL restricts this)
IoRegisterDeviceInterface
IoSetDeviceInterfaceState
but i can call
IoGetDeviceObjectPointer
IoCallDriver
IoRegisterPlugPlayNofitification
but without IoRegisterDeviceInterface and IoSetDeviceInterfaceState i
can hardly do anything. What are the other methods to follow ?
Regards
Esha