Hi,
Can i use NdisXxx… function from a FileSystem filter or other filter driver for sending and receiving data packets from the network.
If not, which will be the best way to do it?
Thanks
Yes, you may look at NDIS(ndis.sys) as at the kernel-mode dll and there is no limitation to using it’s exported functions in any your driver. However, when including ndis.h don’t forget to define one of the constants (like NDIS50), otherwise NDIS functions will be undeclared.
Best Regards,
Vadim
http://www.ntndis.com
“Berty Mednel” wrote in message news:xxxxx@ntfsd…
Hi,
Can i use NdisXxx… function from a FileSystem filter or other filter driver for sending and receiving data packets from the network.
If not, which will be the best way to do it?
Thanks
One note, your driver should be loaded after ndis.sys, otherwise exports will not be resolved. Or alternatively, if you have some great reason to load at a boot time, you may extract NDIS functions pointers from it’s export table after ndis.sys loaded , and then call NDIS using these pointers.
Regards,
Vadim
“Vadim Smirnov” wrote in message news:xxxxx@ntfsd…
Yes, you may look at NDIS(ndis.sys) as at the kernel-mode dll and there is no limitation to using it’s exported functions in any your driver. However, when including ndis.h don’t forget to define one of the constants (like NDIS50), otherwise NDIS functions will be undeclared.
Best Regards,
Vadim
http://www.ntndis.com
“Berty Mednel” wrote in message news:xxxxx@ntfsd…
Hi,
Can i use NdisXxx… function from a FileSystem filter or other filter driver for sending and receiving data packets from the network.
If not, which will be the best way to do it?
Thanks