title: Drop packets using WinDivert
body: <p>I'm trying to write simple firewall that can drop packet by filter. For this purpose i'm use <a href="https://reqrypt.org/windivert.html" rel="nofollow noreferrer">WinDivert</a>. I'm load WinDivert.dll and add WinDivert.lib and  WinDivert32.sys to project folder. Then i try use  WinDivertOpen() to install WinDivertDriver. The result is always negative. 
  What do I do wrong and how can I successfully install the driver? Code example.<a href="https://i.stack.imgur.com/LRkcG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LRkcG.png" alt="enter image description here"></a> </p>