Click here to Skip to main content
16,022,971 members

Comments by dridu (Top 4 by date)

dridu 15-Dec-23 9:43am View    
Here's a ReadFile in the testprogram. https://github.com/microsoft/Windows-driver-samples/blob/main/network/ndis/ndisprot/6x/test/prottest.c#L419

But looking there you made me realize something, the ReadFile comes before I've actually connected to the NDIS device, (OpenNdisDevice() in prottest.c) that could very well be my problem!
dridu 15-Dec-23 8:17am View    
I have the Windows sample driver ndisprot(630) which I'm trying to start an asynchronous read with using the provided code. But my problem is ReadFile in the provided code returns ERROR_INVALID_HANDLE. From this, what would you like me to explain further?
dridu 15-Dec-23 7:43am View    
I have now read your link but unfortunately fail to get what you wanted me to learn from it?
dridu 15-Dec-23 4:50am View    
I'm using the Windows driver sample ndisprot(630) which is a NDIS protocol driver.