Hello All, I am new to Driver Development and I have modified Extended Passthru driver and I have added a timer routine using KTIMER, KeSettimer, etc. I would...
... Passthru ... etc. ... the IM ... that on ... I am ... follow ... You need to remember that if NdisSend returns a status of NDIS_STATUS_PENDING, your...
... [PCAUSA] The DDK documentation for NdisSend is your guide. The first step is, of course, to create a NDIS_PACKET that represents the network frame you want...
Hi, I am trying to write a TDI Provider/NDIS protocol driver and a TDI client for Windows server 2003. I would like to know if your sample driver have examples...
... [PCAUSA] The PCAUSA Rawether for Windows product includes NDIS protocol drivers. http://www.rawether.net But you probably can use the DDK NDISPROT sample...
Is it OK to call NdisQueryAdapterInstanceName() within a Filter NDIS IM driver? I am getting a BSOD (D1) when I make this call. The DDK mentions abt protocol...
I hope that you didn't mean that you actually got a BSOD. If you are a driver developer you must have a debugger installed. In that case you would be able to...
The NDISPROT example in the Windows 2003 DDK does not register with TDI. I thought a TDI provider is nothing but a NDIS protocol driver that registers with TDI...
... [PCAUSA] You are correct that a TDI provided is "simply" a NDIS protocol driver that registers with TDI. After registering with TDI your provider ...
Hi Thomas, Thanks for the replies.. I wanted to write a protocol driver that will send/recv raw ethernet frames, so I started to look at the NDISPROT sample in...
Hi Thomas, Thanks for the replies.. I wanted to write a protocol driver that will send/recv raw ethernet frames, so I started to look at the NDISPROT sample in...
... [PCAUSA] I think that we are making progress. It seems that you have no need for TDI whatsoever. It is an overly complex abstraction that is irrelevant to...
Thomas, I really appreciate your detailed reply. I had initially thought of opening private communication between the WDM driver and protocol driver, but...
Thomas, If I want to my protocol driver to receive raw ethernet packets having a proprietory (non-IP) ether-type. Is there a way I can inform NDIS that such...
... [PCAUSA] No. ... [PCAUSA] That is correct. There is no such method. ... [PCAUSA] Yes. But this should not cause a problem if your user-defined ether-type...
I have a dll which calls a modified version of Passthru and it first opens the device witha standard piece of code: DesiredAccess = GENERIC_READ|GENERIC_WRITE;...
... [PCAUSA] A common cause for this sort of behavior is related to I/O operations that may not have been completed and/or handles that may not have been...
Hi I'm working on a miniport driver for a NIC. To get data from the driver/NIC I make a device file with NdisMRegisterDevice. In the IRP functions I need...
I have tried to reduce my calling program to one single line which apparently is responsible for the phenomena (since when I exit my program, my dll executes...
Well, you could find another way of correlating device objects to adapter. For example, for each adapter, keep a pointer in your context to the control device....
Do you explicitly close the handle to the device before exiting? The Open call adds a reference to the adapter that is not removed until the handle is closed. ...
... [PCAUSA] What do you mean by "file"? After a driver is loaded the concept of "file" isn't important anymore. The driver image is in memory (mostly...). My...
This is my code and you can see that I close the handle immediately after opening the Device: DeviceHandle = INVALID_HANDLE_VALUE; do { DeviceHandle =...
Thanks for your help. I recently made a change in the driver and omitted a IoCompleteRequest in the exit path. This caused the calling program to stay in...
Hello I want that a ReadFile from user space blocks until I have data to return. I need something that blocks in my read-dispatch in my Ndis driver function...