title: Windows BlockInput function is not working
body: <p>Why <code>BlockInput</code> isn't working</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;windows.h&gt;
  #include &lt;winable.h&gt;
  int main() {
      BlockInput(true);
      Sleep(10000);
      return 0;
  }
  </code></pre>
  
  <p>and it simply doesn't block anything!<br>
  I can still do everything like I haven't even done that.<br>what I also find weird is that <a href="http://msdn.microsoft.com/en-us/library/ms646290%28v=vs.85%29" rel="nofollow">MSDN</a> sais that it should be declared in <code>winuser.h</code> and it is in <code>Winable.h</code> + I thought that <code>winable.h</code> is in <code>windows.h</code> but It's not, I had to include it seperatly >_> <br></p>
  
  <p>If it helps my IDE is:<br>
  Code::Blocks 10.05 MinGW</p>
  
  <p>EDIT: Actually I did the <code>GetLastError()</code> and it prints error 5 <code>ERROR_ACCESS_DENIED</code><br>
  How may I get the access?</p>