Hi there,
I’m evaluating your software and samples for possible license and have a few questions.
In the NtTdiApi.dll P/Invoke declarations in your samples the majority of calls have SetLastError=true, however in the NdisApi.dll declarations, none of the calls are decorated this way. I like to make all static P/Invoke methods private and wrap them with a public method which checks the return value and throws exceptions on error, because of this it’s important for me to know which functions will SetLastError so I can throw a Win32Exception with the correct error code. Could you please let me know which funtions in both Dlls will support this?
Many thanks!