I'm using the TAP-Win32 driver from openvpn together with a modified passthru example (the passthru NDIS IM driver in windows DDK examples).
However I'm experiencing the following problems (WinXP SP2): The computer crashes when I restore from a hybernated system. I found this: http://www.tech-archive.net/Archive/Development/ microsoft.public.development.device.drivers/2004-02/1154.html and implemented the fix into my NDIS IM driver. The result was no more blue screens but nor can I set the IP of the TAP-Win32 device using iphlpapi.dll nor the netsh.exe option. The same problem persists even with empty functions in the NDIS driver. It seams like the fact that ProtocolStatus and ProtocolStatusComplete functions being called prevents me from setting the IP of the TAP-device. Does anybode recognize this problem and maybe even have any suggestions on how to fix it? Regards /E